gjfhcm
This commit is contained in:
parent
b479222986
commit
0e5c1c64ed
@ -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, x, rot, 0);
|
mecanum.driveCartesian(y, rot, x, 0);
|
||||||
}
|
}
|
||||||
/** Creates a new BasePilotable. */
|
/** Creates a new BasePilotable. */
|
||||||
public BasePilotable() {
|
public BasePilotable() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user