try-catch reset gyro

This commit is contained in:
Olivier Demers 2022-11-29 19:25:53 -05:00
parent 9d9aff784b
commit 66dd400d0d

View File

@ -19,7 +19,12 @@ public class ResetGyro extends CommandBase {
// Called when the command is initially scheduled.
@Override
public void initialize() {
try {
basePilotable.resetgyro();
} catch( Exception e) {
e.printStackTrace();
}
}
// Called every time the scheduler runs while the command is scheduled.