Changes between Version 6 and Version 7 of ControlSystems/SoftwareTeam/Training/GettingStarted/XboxController
- Timestamp:
- Oct 31, 2019, 7:00:33 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ControlSystems/SoftwareTeam/Training/GettingStarted/XboxController
v6 v7 2 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. 3 3 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. jpg,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: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: 5 5 * Select Create a new project 6 6 * Select Project Type->Template->java->Iterative Robot