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
@@ -1,4 +1,4 @@
package frc4388.utility.Configurable;
package frc4388.utility.configurable;
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;
@@ -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.
*
@@ -1,4 +1,4 @@
package frc4388.utility.Configurable;
package frc4388.utility.configurable;
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;