Changes between Version 1 and Version 2 of ControlSystems/SoftwareTeam/Training/GettingStarted
- Timestamp:
- Sep 22, 2018, 8:47:41 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ControlSystems/SoftwareTeam/Training/GettingStarted
v1 v2 4 4 To start developing robot software for team 2537 you will need the following 5 5 * A laptop running Windows 7 or Windows 10 6 * USB A-B cable7 * USB Joystick or X-Box controller6 * USB [https://www.amazon.com/dp/B0769GFWCZ A-B cable] 7 * USB [https://www.amazon.com/PXN-PRO-2113-Professional-Controller/dp/B01JY0RAW2 Joystick] or USB [https://www.amazon.com/Logitech-940-000110-Gamepad-F310/dp/B003VAHYQY XBox controller] 8 8 * Optional: USB webcam 9 9 * One of: … … 19 19 The best way to learn about robot programming a robot is to start with a simple example program, run it, study what it does, and incrementally expand its functionality. The WPILib software you installed includes example programs that you can compile and run on a RoboRIO. Review [https://wpilib.screenstepslive.com/s/currentCS/m/79833/l/941601-vs-code-basics-and-wpilib-in-vs-code how to use VSCode] and then try [https://wpilib.screenstepslive.com/s/currentCS/m/79833/l/932465-creating-a-new-wpilib-project-in-vs-code creating a new robot project]. 20 20 21 WPILib provides [https://wpilib.screenstepslive.com/s/currentCS/m/java/l/599697-choosing-a-base-class 3 frameworks] for building robot programs. Build your first program using the iterative robot framework as described [https://wpilib.screenstepslive.com/s/currentCS/m/java/l/145307-creating-your-benchtop-test-program here].21 * WPILib provides [https://wpilib.screenstepslive.com/s/currentCS/m/java/l/599697-choosing-a-base-class 3 frameworks] for building robot programs. Build your first program using the iterative robot framework as described [https://wpilib.screenstepslive.com/s/currentCS/m/java/l/145307-creating-your-benchtop-test-program here]. 22 22 23 23 * Connect your laptop to the RoboRIO USB port 24 * Use Microsoft Internet Explorer (not Chrome or Firefox) to connect to the RoboRIO's web interface (usually at http://172.22.11.2).24 * Connect your joystick or xbox controller to another USB port on your laptop 25 25 * Launch the NI Driver Station Software. For details see [https://wpilib.screenstepslive.com/s/4485/m/24192/l/144976-frc-driver-station-powered-by-ni-labview here] 26 * Confirm that the software detects your joystick/controller and responds to button presses and stick movement 27 * Use Microsoft Internet Explorer (not Chrome or Firefox) to connect to the RoboRIO's web interface (usually at http://172.22.11.2) and confirm that you have connectivity with the RobORIO 26 28 * Create a test project and follow [https://wpilib.screenstepslive.com/s/currentCS/m/79833/l/932465-creating-a-new-wpilib-project-in-vs-code these instructions] to build, load, and run it on your RoboRIO/Robot 29 30 **Congratulations**, you've just built and run your first robot program. 31 32 * Create another WPILib project based on the IterativeRobot framework 33 * Start with the base program 34 35 * You can learn more about FRC robot programming [https://frc-pdr.readthedocs.io/en/latest/index.html here] 36 * You can learn more about game controllers [https://github.com/MTHSRoboticsClub/Documentation/wiki/Drive-Controller-Comparison here]