View Single Post
  #1   Spotlight this post!  
Unread 27-04-2004, 09:02
Joe Johnson's Avatar Unsung FIRST Hero
Joe Johnson Joe Johnson is offline
Engineer at Medrobotics
AKA: Dr. Joe
FRC #0088 (TJ2)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1996
Location: Raynham, MA
Posts: 2,644
Joe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond repute
What Features Should the Default Code REALLY include?

As promised here: http://www.chiefdelphi.com/forums/sh...778#post258778 I am starting a new thread to discuss what features the Default Code should really include.


Here is my list of good practice routines that I think IFI should include in future default codes:
  1. I have just been enabled
  2. I have just been disabled
  3. I have just entered autonomous mode
  4. I have just exited autonomous mode
  5. A timer and associated functions (reset, set to time, start, suspend, etc.)
  6. A future task scheduler: Pass it a pointer to a function that gets run at time T
  7. A step by step auton shell with examples of switches based on position of arms, orientation/position of robot, time, watch dog timers, etc
  8. Dual Wheel Encoders and associated functions (reset, CG position calculation, virtual compass, etc.)
  9. Support Smart motor controls (read Barello's comments on positive feedback of motor velocity to compensate for back EMF of motors, hysteresis, etc.)
  10. Support for PID control loops
  11. I have more, but not right now...
I don't expect the folks at IFI to fill in the details of these functions, but I think that it would be a good thing to have shell functions in place that gets called at the right times so that we can get a jump start on programming our robots.

Please add your own thoughts and comments on this topic.

Joe J.