This commit is contained in:
parent
5fcd2750b4
commit
880dfb81d6
@ -1,6 +1,6 @@
|
||||
{
|
||||
"imu": {
|
||||
"type": "navx",
|
||||
"type": "pigeon",
|
||||
"id": 0,
|
||||
"canbus": null
|
||||
},
|
||||
|
@ -28,7 +28,7 @@ public class Drive extends SubsystemBase {
|
||||
public AHRS Gyro = new AHRS();
|
||||
|
||||
public void drive(double x, double y, double zRotation){
|
||||
swerveDrive.drive(new Translation2d(x*5, y*5), zRotation*4, false, false);
|
||||
swerveDrive.drive(new Translation2d(x*5, y*5), zRotation*4, true, false);
|
||||
}
|
||||
|
||||
public Drive() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user