Open
Description
The call to resetOdometry() in getAutonomousCommand() is not made when SwerveControllerCommand is executed as it should. Rather it is made when getAutonomousCommand() is called.
This is not good as resetOdometry() requires the current pose prior to the execution of the SwerveControllerCommand.
For more info, see discussion at
https://www.chiefdelphi.com/t/how-to-define-the-shortest-trajectory-in-reverse-with-edu-wpi-first-math-trajectory-trajectorygenerator/443549/20
Metadata
Metadata
Assignees
Labels
No labels