Changes between Version 55 and Version 56 of ControlSystems/SoftwareTeam/Training/GettingStarted
- Timestamp:
- Nov 4, 2019, 3:57:33 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ControlSystems/SoftwareTeam/Training/GettingStarted
v55 v56 15 15 == Write your first Robot program(s) 16 16 Once you have learned some basic Java, you're ready to start writing your first robot programs. All of the Java skills you learned are directly applicable to robot programming; if you haven't finished the first Java Programs above, you should do so now. Writing Java programs to control a robot is similar to the Java programming you've already learned; there are three key differences: 17 1.The program you write must be transferred to the robot's computer (the roboRIO) where it will run18 2.FIRST and WPI provide a framework that your robot program must run within; the framework manages many aspects of the robot for you.19 3.WPI also provides a rich library of pre-written classes called WPIlib that makes robot programming faster and easier.17 * The program you write must be transferred to the robot's computer (the roboRIO) where it will run 18 * FIRST and WPI provide a framework that your robot program must run within; the framework manages many aspects of the robot for you. 19 * WPI also provides a rich library of pre-written classes called WPIlib that makes robot programming faster and easier. 20 20 To run your robot code, you'll need [wiki:ControlSystems/SoftwareTeam/Training/GettingStarted/RobotGear a few things]. 21 21 22 22 The examples below will teach you to program and use each part of an FRC robot; you should do them in order as they build on each other: 23 23 24 *[wiki://ControlSystems/SoftwareTeam/Training/GettingStarted/XboxController Xbox Controller]25 *[wiki://ControlSystems/SoftwareTeam/Training/GettingStarted/UltrasonicRangefinder Ultrasonic Rangefinder]26 *[wiki://ControlSystems/SoftwareTeam/Training/GettingStarted/ServoMotor Servo Motor]27 *[wiki://ControlSystems/SoftwareTeam/Training/GettingStarted/DCMotor DC Motor Control]28 *[wiki://ControlSystems/SoftwareTeam/Training/GettingStarted/Encoders Encoders]29 *[wiki://ControlSystems/SoftwareTeam/Training/GettingStarted/Autonomous Autonomous]30 *[wiki://ControlSystems/SoftwareTeam/Training/GettingStarted/ClosedLoopControl Closed Loop Control]31 *[wiki://ControlSystems/SoftwareTeam/Training/GettingStarted/PIDControl PID Control]24 1. [wiki://ControlSystems/SoftwareTeam/Training/GettingStarted/XboxController Xbox Controller] 25 1. [wiki://ControlSystems/SoftwareTeam/Training/GettingStarted/UltrasonicRangefinder Ultrasonic Rangefinder] 26 1. [wiki://ControlSystems/SoftwareTeam/Training/GettingStarted/ServoMotor Servo Motor] 27 1. [wiki://ControlSystems/SoftwareTeam/Training/GettingStarted/DCMotor DC Motor Control] 28 1. [wiki://ControlSystems/SoftwareTeam/Training/GettingStarted/Encoders Encoders] 29 1. [wiki://ControlSystems/SoftwareTeam/Training/GettingStarted/Autonomous Autonomous] 30 1. [wiki://ControlSystems/SoftwareTeam/Training/GettingStarted/ClosedLoopControl Closed Loop Control] 31 1. [wiki://ControlSystems/SoftwareTeam/Training/GettingStarted/PIDControl PID Control] 32 32 33 33 [wiki://ControlSystems/SoftwareTeam/Training/GettingStarted/IntroRobotJava More Robot Java Examples]