How does PathPlannerAuto("Auto Name") handle path following when startpoints on the next path are different from previous path end points #992
Closed
WarrenReynolds
started this conversation in
General
Replies: 1 comment
-
From inspection of the PP Lib code, and trial and error I can see that PathPlanner Auto doesn't pathfind and then follow when running an auto. It just assumes you are at the start of the path and then generates trajectories from there. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When you are following a path using a PathPlannerAuto, does it find the path and follow or does it just assume you are at the starting point on the path and follow from there?
For Example
Robot starts at (1,1)
Path1 drives forward 4m from (1,1) to (5,1),
Path2 drives backwards 3m from (4,1) to (1,1)
Lets say the auto is
Follow Path1
Do Some Command
Follow Path 2
When the Follow Path 2 is launched, does the robot gracefully (meaning with smooth acceleration and velocity) find the starting position of the path 2 and then follow it or does it just start building trajectory points from the (4,1) position, and then rely on the PID controller to get the robot onto the path. ie There would be a 1m error initially so there would be huge correction and jerk as the Robot caught up to the trajectory points that were being sampled.
Beta Was this translation helpful? Give feedback.
All reactions