Go to Post Don't worry about where you will be. Just consider youself lucky for being where you have been. - sanddrag [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 17-12-2014, 21:53
mandrews281 mandrews281 is offline
Registered User
FRC #0281
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Greenville SC
Posts: 83
mandrews281 is a splendid one to beholdmandrews281 is a splendid one to beholdmandrews281 is a splendid one to beholdmandrews281 is a splendid one to beholdmandrews281 is a splendid one to beholdmandrews281 is a splendid one to beholdmandrews281 is a splendid one to behold
Entech 281 Code Posted to Google Code

I am the programming mentor for team 281. I have started posting our previous season's code up on google code. Why google-code? Google supports FIRST and google code supports mercurial. We have been using for several years now and I didn't want to lose our code history.

The projects are entech2013 and entech2014. So what's in there:

1. We are (still) using the IterativeRobot class in C++.
2. We have a RobotSubsystem interface for any robot system that needs to get called during the Init, Periodic, or Continuous portions of the IterativeRobot loops.
3. The 2013 code allowed very low subsystems to register themselves with the main robot and the main robot would call them. I'm thinking of returning to this organization for this years robot.
4. Our autonomous state machine. Really just a big case statement. If I go back a few more seasons, there's a more generic (but
5. An OperatorButton class that provides a single interface into the Cypress buttons and the Joystick buttons. There is a GetBool() method for pressed/not pressed, but it also has a Get() method which returns 4 states: kReleased, kPressed, kJustPressed, and kJustReleased. This class is probably the easiest for another team to use (unchanged) in their code.

I would be interested in any comments/suggestions for any of the code.
__________________
Michael Andrews
Team #281 Programming Mentor
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 22:19.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi