changed mecanum
This commit is contained in:
parent
6772c3936e
commit
b479222986
@ -22,7 +22,7 @@ private WPI_TalonSRX arriereGauche = new WPI_TalonSRX(Constants.MoteurArriereGau
|
||||
|
||||
private WPI_TalonSRX arriereDroit = new WPI_TalonSRX(Constants.MoteurArriereDroit);
|
||||
|
||||
private MecanumDrive mecanum = new MecanumDrive(avantGauche, arriereGauche, avantDroit, arriereDroit);
|
||||
private MecanumDrive mecanum;
|
||||
|
||||
private AHRS gyroscope = new AHRS();
|
||||
public double getangle() {
|
||||
@ -35,7 +35,7 @@ public void drive(double y, double x, double rot){
|
||||
public BasePilotable() {
|
||||
avantDroit.setInverted(true);
|
||||
arriereDroit.setInverted(true);
|
||||
|
||||
mecanum = new MecanumDrive(avantGauche, arriereGauche, avantDroit, arriereDroit);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
x
Reference in New Issue
Block a user