Skip to content
This repository was archived by the owner on Apr 30, 2025. It is now read-only.
This repository was archived by the owner on Apr 30, 2025. It is now read-only.

Fix robot orientation #44

@brokenfloppydisk

Description

@brokenfloppydisk

The robot orientation currently has X = forward and Y = right and clockwise rotation, but WPILib uses X = forward, Y = left, and counter-clockwise rotation.

The NavX angle has to be negated, and the SwerveDriveKinematics in Constants.java needs to have its y-values flipped.

This will result in needing to negate nearly every single y-value in any swerve code, and NavX calculations that use yaw will need to be revised.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions