AHHHHHHHHHHHHHHHHH (Im tweakin)

This commit is contained in:
Abhishrek05
2024-02-21 00:03:15 -07:00
parent 904a2f2688
commit 313776ddf0
10 changed files with 246 additions and 205 deletions
@@ -105,6 +105,16 @@ public class RobotGyro implements Gyro {
}
}
public void resetFlip() {
resetZeroValues();
if (m_isGyroAPigeon) {
m_pigeon.setYaw(180);
} else {
m_navX.reset();
}
}
/**
* Get Yaw, Pitch, and Roll data.
*