frcteam573 / first-2023-robot

Team 573 2023 Robot Code
Other
0 stars 0 forks source link

fix pp #57

Open PIPIPIG233666 opened 1 year ago

PIPIPIG233666 commented 1 year ago

~I rewatched the video we took on Saturday, it was starting at a different post that’s why it was off~ check the original team author of pp: https://github.com/3015RangerRobotics/RobotCode2022

savage301 commented 1 year ago

https://docs.wpilib.org/en/stable/docs/software/advanced-controls/trajectories/troubleshooting.html

PIPIPIG233666 commented 1 year ago

The reversed property simply represents whether the robot is traveling backward. If you specify four waypoints, a, b, c, and d, the robot will still travel in the same order through the waypoints when the reversed flag is set to true. This also means that you must account for the direction of the robot when providing the waypoints. For example, if your robot is facing your alliance station wall and travels backwards to some field element, the starting waypoint should have a rotation of 180 degrees.

https://docs.wpilib.org/en/stable/docs/software/advanced-controls/trajectories/trajectory-generation.html