yfjhmgj
This commit is contained in:
parent
43be38bd36
commit
9d9aff784b
@ -32,7 +32,7 @@ public void drive(double y, double x, double rot){
|
|||||||
mecanum.driveCartesian(y, rot, x, -getangle());
|
mecanum.driveCartesian(y, rot, x, -getangle());
|
||||||
}
|
}
|
||||||
public void resetgyro(){
|
public void resetgyro(){
|
||||||
gyroscope.reset();
|
gyroscope.zeroYaw();
|
||||||
}
|
}
|
||||||
/** Creates a new BasePilotable. */
|
/** Creates a new BasePilotable. */
|
||||||
public BasePilotable() {
|
public BasePilotable() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user