Skip to content
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

Fixes the resetOdometry method #142

Merged

Commits on Jan 21, 2024

  1. When the odometry is reset, the call to reset the pose estimator shou…

    …ld pass in the gyro angle.
    
    Without this fix, it is impossible to start the robot in autonomous with a non-zero pose angle.
    MarshallTappen committed Jan 21, 2024
    Configuration menu
    Copy the full SHA
    63dcbb5 View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2024

  1. Modifies getHeading() in SwerveSubsystem to use the odometry.

    Before, this method returned the raw gyro reading.  This could result in getHeading and getPose returning different values.
    MarshallTappen committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    e5dafa7 View commit details
    Browse the repository at this point in the history