View Single Post
  #1   Spotlight this post!  
Unread 14-03-2011, 08:44
Egg 3141592654's Avatar
Egg 3141592654 Egg 3141592654 is offline
Now a mentor, always a student
FRC #0810 (Mechanical Bulls)
Team Role: Programmer
 
Join Date: Feb 2010
Rookie Year: 2008
Location: Long Island
Posts: 53
Egg 3141592654 is on a distinguished road
Sequencing Question

So i had programmed an arm via a PID loop for our autonomous code. Naturally, I put this in a sequenceing loop so that the arm would raise BEFORE the robot went barreling into the plexiglass wall. I was told the wrong times that the arm would complete it's cycle, and naturally it was too short. The arm in autonomous naturally during the match kept going during the match and blew the arm out (those at nycfrc got to see the nice show. Match 8 i believe).

My hypothesis on what happened is that the PID ended after the time sequence and the motors retained their values (in our case, full throttle). I am almost certain this is right, but i just want to check with you guys. Thank you in advance.
__________________
"The answers to the book of life are not found in the back." Charlie Brown

Software Mentor - Team Apex Robotics 5803

Lead Programmer - Team 810 Mechanical Bulls '09-'11
Reply With Quote