Skip to content

Call to resetOdometry() in getAutonomousCommand() is not made when SwerveControllerCommand is executed as it should #13

Open
@gartaud

Description

@gartaud

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions