This commit is contained in:
EdwardFaucher 2022-11-29 19:18:21 -05:00
parent 43be38bd36
commit 9d9aff784b

View File

@ -32,7 +32,7 @@ public void drive(double y, double x, double rot){
mecanum.driveCartesian(y, rot, x, -getangle()); mecanum.driveCartesian(y, rot, x, -getangle());
} }
public void resetgyro(){ public void resetgyro(){
gyroscope.reset(); gyroscope.zeroYaw();
} }
/** Creates a new BasePilotable. */ /** Creates a new BasePilotable. */
public BasePilotable() { public BasePilotable() {