View Single Post
  Spotlight this post!  
Unread 03-03-2010, 10:26
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,372
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: Programming Autonomous pneumatic kicker

Quote:
Originally Posted by tanguma26 View Post
Can you explain me more about what you said about a single state machine i dont understand

or if you have any more advise i would apresiated.


thank you
Let's start with what a State Machine is. It is a series of steps, or states, that a machine or software runs through to perform a task.

Let's use the kicker as an example.

State 1: Precharge Kicker
State 2: Wait for "Fire" signal. Release kicker.
State 3: Wait .5 sec. for kick to complete.
State 4: Retract kicking mechanism.
State 5: Wait for retraction to complete.
State 6: Latch mechanism. Return to state 1.

The best advice I can give at this point is to visit http://www.lvmastery.com/tipjar

It will teach you all you need to know to start building state machines.
(This is not a paid advertisement for LVMastery.com)

I'm attaching an example vi. You will also need to create the DevRefNum's in the begin.vi.
Attached Files
File Type: vi Kicker State Machine.vi (17.5 KB, 35 views)
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist

Last edited by billbo911 : 03-03-2010 at 11:46. Reason: Added Kicker State Machine.vi
Reply With Quote