Changes between Version 14 and Version 15 of ControlSystems/SoftwareTeam/Training/GettingStarted/XboxController
- Timestamp:
- Nov 4, 2019, 1:41:37 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ControlSystems/SoftwareTeam/Training/GettingStarted/XboxController
v14 v15 1 1 == First Program: Xbox Controller 2 When driving a robot in teleoperated mode, we need a way to control its motion. Teams typically use gaming joysticks or xbox controllers. [[Image(xboxController.jpg,right,250px,margin=10)]] Our first program will read the joystick position from an xbox controller.2 When driving a robot in teleoperated mode, we need a way to control its motion. Teams typically use gaming joysticks or xbox controllers. [[Image(xboxController.jpg,right,250px,margin=10)]] Our first program will read the joystick position from an xbox or Logitech F310 game controller. 3 3 4 4 We write robot software in VSCode just as we did for Java, but we'll make use of the WPILib extensions to create, build, and run our robot programs. The WPILib extension is available via the [[Image(wpilibIcon.png,25px)]] icon in the toolbar (see [https://wpilib.screenstepslive.com/s/currentCS/m/java/l/1027060-visual-studio-code-basics-and-the-wpilib-extension here]). Click on the icon and then: