View Single Post
  #4   Spotlight this post!  
Unread 26-06-2014, 19:38
MatthewC529 MatthewC529 is offline
Lcom/mattc/halp;
AKA: Matthew
FRC #1554 (Oceanside Sailors)
Team Role: Mentor
 
Join Date: Feb 2014
Rookie Year: 2013
Location: New York
Posts: 39
MatthewC529 is on a distinguished road
Re: Best way to learn more Java for FRC?

The best way to pick up FRC Specific Java Code is now harder to say since a lot of the stuff discussed previously will be outdated as of the 2015 Season. Thats a good thing, since it will become a lot easier to implement complex algorithms next season.

I would work mostly on your general Java knowledge. Get to know your Enum's, Autoboxing, awesome Java utilities like Arrays and Collections, NIO classes, Interfaces and so on. Read source code other teams have released which USUALLY tends to follow good practice. There are plenty of awesome java tutorials out there as well if you feel you need to get some instruction in. Thenewboston offers some great beginner tutorials though I cant speak for his Intermediate tutorials.

All the WPILib documents linked to in a previous post are EXTREMELY useful in getting the general gist of how WPILib works and what to expect. To get to know the more low-level classes and functions you will need to experiment because unfortunately REAL FRC Tutorials are scarce and generally only describe how to implement the features to get you started like Solenoids, PWM's and so on.

I may make a quick series of FRC Tutorials but I think it will be massively beneficial to get used to the Java SE 7 API and maybe some additional Java 8 features, though you can thoroughly complete your robot on Java 7 alone.
Reply With Quote