-
Notifications
You must be signed in to change notification settings - Fork 138
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
Add a getter to be able to access the trajectory generated by a PathfindingCommand(holonomic #532
Comments
Is that when the Path is running , how can access is before it run ? |
I am able to see the poses with the link you send when I run autonomous but not before I run it |
There is no path generated until it runs |
Is the same way for AutoBuilder .followPathWithEvents? |
I see there is a getTrajectory from Path object , I may be able to use it |
You don't even need that. Just get all the PathPoints from the path with the |
OK , thanks |
you can close this one If you want. |
this is what I did if anyone need it
|
pathfindingCommand has its currentTrajectory as private (I like it because nothing can change it ) .
Creating a getter to access the trajectory generated before the command is executing will be helpful visualization on initial test and during competition.
Your wiki show the path generated and you visualized it in the image but I cant find a way to access it , One possible way can be to access it in PathFinding.getCurrentPath() but that gives me the latest path calculated and it may not be the correct trajectory .
The text was updated successfully, but these errors were encountered: