Changes between Version 8 and Version 9 of JavaWPI_Training
- Timestamp:
- Nov 19, 2015, 10:04:18 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
JavaWPI_Training
v8 v9 24 24 Your goal: Cover topics (at least) including: basic syntax, variables, strings, arrays, loops, conditionals, file IO, classes, inheritance, and overloading. 25 25 26 == Learn how to build a simple robot project27 Follow these tutorials to create a simple robot project in eclipse. The major distinguishing feature of the simple robot project is that tele-operated mode is just a single method, and gets called once at the start of the match. Autonomous is also its own method. The robot programs must have their own loop inside these methods to ensure that motors, pneumatics, and other components respond to user, sensor, and timing events.28 29 You may need to refer to the previous instructions on installing eclipse to ensure you have the correct eclipse plugins installed. (The eclipse update site is http://first.wpi.edu/FRC/roborio/release/eclipse/):30 31 26 == Learn how to build a command-based robot project 32 Follow these tutorials to create a command-based robot project in eclipse. The major distinguishing feature of the command-based robot project is that subsystems and commands are their own java classes, and that commands are "scheduled" to be run in a continuous loop during the match. Commands perform a sequence of actions, and these actions may be taken on subsystems. Subsystems are code that control the actual hardware of the robot itself.27 Go to the main wiki page and look under the Java and WPI training section. Use these resources to learn about command-based programming. The major distinguishing feature of the command-based robot project is that subsystems and commands are their own java classes, and that commands are "scheduled" to be run in a continuous loop during the match. Commands perform a sequence of actions, and these actions may be taken on subsystems. Subsystems are code that control the actual hardware of the robot itself.