fhmgjvn
This commit is contained in:
parent
0e5c1c64ed
commit
e82e2b6041
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user