Changes between Version 22 and Version 23 of ControlSystems/SoftwareTeam/Training/GettingStarted/IntroRobotJava


Ignore:
Timestamp:
Oct 28, 2019, 11:26:30 PM (6 years ago)
Author:
David Albert
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ControlSystems/SoftwareTeam/Training/GettingStarted/IntroRobotJava

    v22 v23  
    219219    leftEncoder.setDistancePerPulse((3.141592*7.5)/360);
    220220    rightEncoder.setDistancePerPulse((3.141592*7.5)/360);
     221
     222    // Uncomment the next two lines for Macademia
     223    // leftMotor = new Talon(0);
     224    // rightMotor = new Talon(1);
     225
     226    // uncoment the next two lines for Hazelnut
     227    // leftMotor = new WPI_TalonSRX(3);
     228    // rightMotor = new WPI_TalonSRX(4);
    221229  }}}
    222230* In robotPeriodic() read and display the encoder valuey