View Single Post
  #6   Spotlight this post!  
Unread 31-05-2011, 15:27
Jogo Jogo is offline
Registered User
FRC #0353 (Pobots)
Team Role: Programmer
 
Join Date: May 2009
Rookie Year: 2007
Location: NY
Posts: 83
Jogo is on a distinguished road
Re: paper: Scripted Autonomous Control: Presentation material and code samples

@Chris Hibner
I actually already started trying implementing this for a 2-ubertube autonomous procedure.

What I ended up doing was since I already had 2 small independent state machines set up--one for the elevator/arm, and one for the claw--I made 2 simple new primitives--one for setting the manipulator states (this one exits automatically after one program cycle), and one that does nothing while checks if the manipulator is finished. The states are held in global variables so that made it easy.
Reply With Quote