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