This commit is contained in:
EdwardFaucher 2022-11-29 19:02:29 -05:00
parent e82e2b6041
commit ff930ca850

View File

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