Changes between Version 22 and Version 23 of ControlSystems/SoftwareTeam/Training/GettingStarted/IntroRobotJava
- Timestamp:
- Oct 28, 2019, 11:26:30 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ControlSystems/SoftwareTeam/Training/GettingStarted/IntroRobotJava
v22 v23 219 219 leftEncoder.setDistancePerPulse((3.141592*7.5)/360); 220 220 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); 221 229 }}} 222 230 * In robotPeriodic() read and display the encoder valuey