Skip to content

Drive Straight with gyro stopped working #37

@cartycrabber

Description

@cartycrabber

The drive straight macro has stopped working correctly. It works the first time it is used after the code starts, but subsequent uses (after rotating the robot) the robot just shakes back and forth.

Could be a software issue or a problem with the navX.

This stopped working the second day of competition (Sunday, February 5), so it would be good to look at the history of code related to drive straight around this time to see if we accidentally changed something. Other than that, try to debug by adding printouts and testing to see if we're getting expected output from the rotation PID controller

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions