Difference between revisions of "Java"

From FRC11 - Mentor Wiki
Jump to navigation Jump to search
Line 13: Line 13:
  
 
== Documents, Guides, and References ==
 
== Documents, Guides, and References ==
 +
 +
* [https://wpilib.screenstepslive.com/s/4485/m/13809 FRC/WPI Java Programming]  Full fledged menu of resources from the WPIlib folks.
 +
* [http://wpilib.screenstepslive.com/s/currentCS/m/java/l/272787-frc-java-wpilib-api-documentation FRC/WPI Java Documentation]
 +
* [http://wpilib.screenstepslive.com/s/currentCS/m/java/l/837061-c-java-plugin-changelog FRC Java Plugin Changelog]  Useful to see what has changed in WPI lib since last year.
  
 
== Tutorial Videos ==
 
== Tutorial Videos ==
 +
 +
[https://www.youtube.com/playlist?list=PLUSdSy9CkwBIiISFMa_ThWmtFCKtYLUE_ FRC Java Command-based Programming Tutorial Playlist (1.5 hrs)]
 +
 +
* FRC Java Programming Tutorial Part 1: Project Setup
 +
* FRC Java Programming Tutorial Part 2: Basic Drivebase
 +
* FRC Java Programming Tutorial Part 3: Setting up Tank Drive Controls
 +
* FRC Java Programming Tutorial Part 4: How to use TalonSRXs
 +
* FRC Java Programming Tutorial Part 5: Version Control
 +
* FRC Java Programming Tutorial Part 6: WPILIB PID
 +
 +
Note: when watching the videos, you should stop and look through the code that is discussed. Some minor items (such as imports) are glossed over.  For example, if you have unreferenced calls in your code, compare the code on screen with what you have - you may have to import an additional library.  Hover over unresolved items.  Usually, you want to import the correct library.

Revision as of 07:49, 21 October 2018

About

Java is the language we use primarily to program the FRC robots. It is a general purpose, object oriented programming language that can do almost any variety of tasks. It works hand-in-hand with WPI Lib to control the robot.

Installing

Or manually with another IDE:

Documents, Guides, and References

Tutorial Videos

FRC Java Command-based Programming Tutorial Playlist (1.5 hrs)

  • FRC Java Programming Tutorial Part 1: Project Setup
  • FRC Java Programming Tutorial Part 2: Basic Drivebase
  • FRC Java Programming Tutorial Part 3: Setting up Tank Drive Controls
  • FRC Java Programming Tutorial Part 4: How to use TalonSRXs
  • FRC Java Programming Tutorial Part 5: Version Control
  • FRC Java Programming Tutorial Part 6: WPILIB PID

Note: when watching the videos, you should stop and look through the code that is discussed. Some minor items (such as imports) are glossed over. For example, if you have unreferenced calls in your code, compare the code on screen with what you have - you may have to import an additional library. Hover over unresolved items. Usually, you want to import the correct library.