This commit is contained in:
EdwardFaucher 2022-11-29 19:49:18 -05:00
parent ed8f05fc64
commit b1f3443f56

View File

@ -33,11 +33,10 @@ public void drive(double y, double x, double rot){
} }
public void resetgyro(){ public void resetgyro(){
try { try {
gyroscope.zeroYaw(); gyroscope.reset();
} catch( Exception e) {
e.printStackTrace();
} }
} }
/** Creates a new BasePilotable. */ /** Creates a new BasePilotable. */
public BasePilotable() { public BasePilotable() {