View Single Post
  #6   Spotlight this post!  
Unread 16-06-2013, 21:40
Billfred's Avatar
Billfred Billfred is offline
...and you can't! teach! that!
FRC #5402 (Iron Kings); no team (AndyMark)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: The Land of the Kokomese, IN
Posts: 8,554
Billfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond repute
Re: Value and Purpose of Default Code

Quote:
Originally Posted by EricH View Post
Note: I'm a mechanical guy.

To me, the value of default code is that it gives a base. You can look at it to get a model. You can use it as a base to build on.

But the REAL value is that it gets the robot running early, if there is a mechanical and electrical system ready for it. That alone is enough to make a case for a default code. (And, if you don't have a programmer... you can still survive.)
Eric more or less hit my points, but by a different route.

To me, the ideal default code is a well-documented one (a la Vex or the old IFI FRC controllers). Just as I can look at a drivetrain and see why we're throwing chains, I can look at an ideal default code, verify that left-drive is in PWM 1, right drive is in PWM 2, the pressure switch is in DIO 1, etc., etc., and that It Will Work. If it does not work, we can eliminate a lot of things.

Granted, the requirements to set up IP addresses may make it impossible to have the no-computer-required-ever simplicity of yore. Next-best thing would be to have the out-of-box cRIO able to run a testing mode and talk to the driver station software (which would look for a default IP and run with it with a big "HEY DUDE, YOU'RE IN TEST MODE – DOWNLOAD REAL CODE BEFORE COMPETITION" warning on the dashboard). At least then you can putt the thing around for testing or a demo.
__________________
William "Billfred" Leverette - Gamecock/Jessica Boucher victim/Marketing & Sales Specialist at AndyMark

2004-2006: FRC 1293 (D5 Robotics) - Student, Mentor, Coach
2007-2009: FRC 1618 (Capital Robotics) - Mentor, Coach
2009-2013: FRC 2815 (Los Pollos Locos) - Mentor, Coach - Palmetto '09, Peachtree '11, Palmetto '11, Palmetto '12
2010: FRC 1398 (Keenan Robo-Raiders) - Mentor - Palmetto '10
2014-2016: FRC 4901 (Garnet Squadron) - Co-Founder and Head Bot Coach - Orlando '14, SCRIW '16
2017-: FRC 5402 (Iron Kings) - Mentor

94 events (more than will fit in a ChiefDelphi signature), 14 seasons, over 61,000 miles, and still on a mission from Bob.

Rule #1: Do not die. Rule #2: Be respectful. Rule #3: Be safe. Rule #4: Follow the handbook.