View Single Post
  #1   Spotlight this post!  
Unread 03-01-2016, 13:39
EmileH's Avatar
EmileH EmileH is offline
uses the Talon SRX way too much
AKA: Emile Hamwey
FRC #1058 (The PVC Pirates) & SLFF (NE Way You Want It)
Team Role: Programmer
 
Join Date: Dec 2014
Rookie Year: 2011
Location: New England
Posts: 539
EmileH has a brilliant futureEmileH has a brilliant futureEmileH has a brilliant futureEmileH has a brilliant futureEmileH has a brilliant futureEmileH has a brilliant futureEmileH has a brilliant futureEmileH has a brilliant futureEmileH has a brilliant futureEmileH has a brilliant futureEmileH has a brilliant future
FRC 3467 2012 - 2015 Code Release

Here is a github link to FRC 3467's repository for programming. It includes all of the code we have written since 2012, and we have used java every year since 2012.

https://github.com/WHS-FRC-3467

Last year's code was a little different than previous years, mainly because we lost our lead programmer due to turnover. Because of this, it is very simple, but there are a few neat features:

The 2015 code has a feature where it will not report that the code has "started" until we see that the smart dashboard has connected - which picks our autonomous mode. We accomplish this by extending IterativeRobot.class (ours is IterativeRobotCustom) and not executing the line that tells the FMS the code has started (FRC.ObserveUserProgramStarting()) until we receive a user's click on a smart dashboard item.

Also, the 2015 code will crash the code (throws an exception) if the driver's joystick calibrates improperly. When this happens, the LED strip on the driver console lights up bright red and the user needs to restart the code and recalibrate the stick (unplug and plug back in, hit F1). This code also has an implementation of the PulsedLight LIDAR-lite module(v1), and changes the colors of the driver station LEDs according to the distance, which helps us line up at the human feeder station.

If you have any questions, please do not hesitate to ask by replying in this thread or PMing me!
__________________
2016-present: High School Student, FRC 1058 PVC Pirates