wiki:JavaWPI_Training

Follow these tutorials to build and run programs that successively demonstrate more features of the language and object-oriented programming (OOP) techniques. Tutorials Point offers text-based learning and includes descriptions of everything you might want to do from learning hello-world to doing multiple inheritance and polymorphism. It compiles and runs programs on the command-line but this can easily be done in VSCode. The youtube tutorials use eclipse by default. Several topics are duplicated between the following pages, so choose the source that works best for you:

Your goal should be to cover at least these topics:

  • basic syntax
  • variables
  • strings
  • arrays
  • loops
  • conditionals
  • file IO
  • classes
  • inheritance
  • overloading.

For some programming exercises/challenges, use the programming prompts here.

Learn how to build a command-based robot project

Go here to learn more 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.

Last modified 4 years ago Last modified on Nov 4, 2019, 4:27:40 PM