Changes between Version 9 and Version 10 of ControlSystems/SoftwareTeam/Training/GettingStarted/DCMotor
- Timestamp:
- Nov 8, 2019, 10:48:53 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ControlSystems/SoftwareTeam/Training/GettingStarted/DCMotor
v9 v10 44 44 }}} 45 45 46 The complete Robot.java is [wiki:ControlSystems/SoftwareTeam/Training/GettingStarted/DCMotor/CANCode here] 47 46 48 === PWM Motor Controller Example (Macadamia) 47 49 This example is for a robot with a PWM motor controller such as a TalonSR or Spark connected to the !RoboRIO PWM port 1. … … 82 84 83 85 === Extra Credit === 84 Use the left joystick Y axis to control the left motor power and the right joystick Y axis to control the right motor power...now you have a driveable robot! [[BR]]86 Use the left joystick Y axis to control the left motor power and the right joystick Y axis to control the right motor power...now you have a driveable robot! [[BR]] 85 87 NOTE: if you are using a Logitech F310 game controller, the right joystick is read differently; see [wiki:/ControlSystems/GameControllers/LogitechF310 here]