Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pathfindToPose Ending Early #1025

Open
Craftzman7 opened this issue Jan 22, 2025 · 1 comment
Open

pathfindToPose Ending Early #1025

Craftzman7 opened this issue Jan 22, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@Craftzman7
Copy link

Describe the bug
A clear and concise description of what the bug is.
When attempting to run pathfindToPose it stops before it reaches the set point. It gets close but the command ends itself. Looking at the telemetry it shows that it knew it wasn't at the set point yet.

To Reproduce
Steps to reproduce the behavior:

  1. Run a pathfindToPose command.
  2. Doesn't reach the pose.

Code is here.

Expected behavior
A clear and concise description of what you expected to happen.

For it to reach the pose.

Screenshots
I will when I have time later today.

Versions: (please complete the following information):

  • OS: Windows 10
  • GUI Version: 2025.2.1
  • PPLib Version: 2025.2.1
  • PPLib Language: Kotlin

Additional context
Add any other context about the problem here.

@Craftzman7 Craftzman7 added the bug Something isn't working label Jan 22, 2025
@mjansen4857
Copy link
Owner

The command ends based on time, specifically the amount of time the path should take to follow. If it's ending early, then your robot is falling behind the target. Take a look at your path following PID and make sure your config is accurate. You may need to slightly reduce your constraints to allow the robot some headroom to catch up and correct for errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants