Go to Post Ahem......"where are the President's safety glasses???" - Travis Hoffman [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 11-11-2008, 11:07
Unsung FIRST Hero
Greg Marra Greg Marra is offline
[automate(a) for a in tasks_to_do]
FRC #5507 (Robotic Eagles)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2005
Location: San Francisco, CA
Posts: 2,031
Greg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond repute
State Based Machines in LabView

A common design pattern to use in robotics is a State Based Machine. A State Based Machine lets you have different 'states' of behavior that your robot might exhibit, and governs rules for transitioning from state to state. For instance, your robot might be in a state called "Search for Game Piece" and use its camera to try to find a vision target. Once it finds it, it could transition to a state called "Drive to Game Piece", then once it arrived at the game piece it could transition to "Pick Up Game Piece". For more depth about State Machines, check out this Wikipedia article: http://en.wikipedia.org/wiki/Finite_state_machine

I've assembled a series of videos explaining how to build a Soda Machine in LabView as a State Based Machine. A soda machine is a good example, because it goes through many states as the user buys a soda:
  • "Add Money"
  • "Choose Item"
  • "Deliver Item"
  • "Return Money"

Each video is about five minutes long, and by the end you'll be 90% of the way to havin a working LabView soda machine! The tutorial videos assume you've used LabView before, but all advanced concepts are introduced as I do them.

You can find the videos online here:
http://vimeo.com/album/26321

I hope this helps! Please let me know if you do the tutorials and what could be improved or worked well!
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
State machine in LabVIEW? JBotAlan National Instruments LabVIEW and Data Acquisition 3 23-10-2008 07:59
Opinions wanted: LabView-based controller? Dave Flowerday Control System 41 23-06-2008 10:05
Hawaii Gov. Lingle State of State speech-FIRST and STEM MoeMom FIRST In the News... 0 29-01-2008 17:04
What machines are you using? (CNC, lathes, mills, 3-in-1 machines?) MrB Technical Discussion 17 03-11-2006 11:55
State Machines doyler Programming 7 11-01-2005 00:53


All times are GMT -5. The time now is 05:52.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi