hfcgcjnm
This commit is contained in:
parent
ed8f05fc64
commit
b1f3443f56
@ -33,11 +33,10 @@ public void drive(double y, double x, double rot){
|
|||||||
}
|
}
|
||||||
public void resetgyro(){
|
public void resetgyro(){
|
||||||
try {
|
try {
|
||||||
gyroscope.zeroYaw();
|
gyroscope.reset();
|
||||||
} catch( Exception e) {
|
|
||||||
e.printStackTrace();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
/** Creates a new BasePilotable. */
|
/** Creates a new BasePilotable. */
|
||||||
public BasePilotable() {
|
public BasePilotable() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user