Пример #1
0
 /** Calibrates the drive. Should be facing forward when called. */
 public void calibrateDrive() {
   m_drive.calibrate();
 }
Пример #2
0
 /** Changes the drive into Field Centric */
 public void fieldCentric() {
   m_drive.fieldCentric();
 }
Пример #3
0
 /** Changes the drive into robot centric */
 public void robotCentric() {
   m_drive.robotCentric();
 }
Пример #4
0
 /** Enables the drivebase */
 public void enableDrive() {
   m_drive.enable();
 }
Пример #5
0
 /** Disables the drivebase */
 public void disableDrive() {
   m_drive.disable();
 }
Пример #6
0
 /** Runs the robot. Should be called every iteration */
 public void run() {
   m_drive.run();
   m_elevator.run();
   m_intake.run();
 }