base pilotable
This commit is contained in:
		| @@ -23,11 +23,14 @@ private WPI_TalonSRX arriereDroit = new WPI_TalonSRX(Constants.MoteurArriereDroi | ||||
|  | ||||
| private MecanumDrive mecanum = new MecanumDrive(avantGauche, arriereGauche, avantDroit, arriereDroit); | ||||
|  | ||||
| private void Drive(double y, double x, double rot){ | ||||
| private void drive(double y, double x, double rot){ | ||||
|   mecanum.driveCartesian(y, x, rot, 0); | ||||
| } | ||||
|   /** Creates a new BasePilotable. */ | ||||
|   public BasePilotable() {} | ||||
|   public BasePilotable() { | ||||
|     avantDroit.setInverted(true); | ||||
|     arriereDroit.setInverted(true); | ||||
|   } | ||||
|     | ||||
|   @Override | ||||
|   public void periodic() { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user