This commit is contained in:
EdwardFaucher 2022-11-29 19:00:03 -05:00
parent 0e5c1c64ed
commit e82e2b6041

View File

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