View Single Post
  #3   Spotlight this post!  
Unread 20-05-2015, 22:17
zsnow's Avatar
zsnow zsnow is offline
Head of Satire
AKA: Zachary Snow
FRC #2122 (Team Tators)
Team Role: Programmer
 
Join Date: Dec 2012
Rookie Year: 2012
Location: Boise, Idaho
Posts: 17
zsnow has a spectacular aura aboutzsnow has a spectacular aura about
Re: Team Tators 2015 Code Release

Quote:
Originally Posted by orangelight View Post
I have never heard of themed code...
Well, we had to call it something. Perhaps peruse the code. You'll see what we mean.

From https://github.com/Team2122/Kartoshk...systems/Otto.h:

Code:
/**
 * Gets how far from communism you have turned
 * @return How far from communism in degrees
 */
double GetAngle();

/**
 * Resets angle to straight communsim
 */
void ResetAngle();

/**
 * Makes sure communism sensor is calibrated (zerod)
 */
void StartGyroCalibration();

/**
 * Forces gyro to be calibrated or else...
 */
void FinishGyroCalibration();
__________________
Programming Lead: 2013-2015
Mechanical Dabbler: 2013, 2015

2015: IRI Semi Finalists 2338, 2122, 107, Tesla IDA, Utah Finalists 2122, 3230, 3405, EEA, WFFA, Arizona West Winners 2122, 3309, 5059, ICA
2014: Utah Winners 2122, 2996, 3191, ICA, Las Vegas Semi Finalists 2122, 399, 1572, ICA, CCC Winners 1678, 2122, 9073, ICA
2013: CalGames Winners 2122, 1678, 4171, Judges Award
2007-12: Lot's of wins and awards I wish I had been a part of