This repository has been archived by the owner on Sep 4, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Gyro #61
Labels
software
Write software
Comments
|
|
It reads like the default axis of rotation is when the gyro/roboRIO are mounted flat, facing upward, so we won't need to configure that. |
We may want to add a button on Shuffleboard and a command to zero the gyro. Note that the gyro should ONLY be zeroed when the robot is on the field facing directly forward. |
Actually, we may just want to zero the gyro every match. We could do that during the start of autonomous. |
Looks like this isn't done after all. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
We have a gyro attached to the robot but we're not doing anything with it right now.
We could easily add it to the Swerve Drive Subsystem and zero it on initialize. Then we could easily rotate until it reads the value we want it to read.
Example: https://github.com/juchong/ADIS16470-RoboRIO-Driver-Examples/blob/master/java/src/main/java/frc/robot/Robot.java
The text was updated successfully, but these errors were encountered: