Esempio n. 1
0
 private void setupPilot() {
   Wheel leftWheel = WheeledChassis.modelWheel(Motor.A, 55).offset(-72);
   Wheel rightWheel = WheeledChassis.modelWheel(Motor.B, 55).offset(72);
   Chassis baseChassis =
       new WheeledChassis(new Wheel[] {leftWheel, rightWheel}, WheeledChassis.TYPE_DIFFERENTIAL);
   botPilot = new MovePilot(baseChassis);
 }
Esempio n. 2
0
 public void setupPilot() {
   Wheel leftWheel = WheeledChassis.modelWheel(Motor.A, 43.2).offset(-72);
   Wheel rightWheel = WheeledChassis.modelWheel(Motor.B, 43.2).offset(72);
   Chassis baseChassis =
       new WheeledChassis(new Wheel[] {leftWheel, rightWheel}, WheeledChassis.TYPE_DIFFERENTIAL);
   navigation = new MovePilot(baseChassis);
 }