Go to Post you can't eat a poof ball. its filled with magic smoke. it'd kill you quicker than a robot rampaging in autonomous mode, when you have the green light strapped to your face. - efoote868 [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 29-01-2011, 01:00
tagayoff's Avatar
tagayoff tagayoff is offline
Registered User
FRC #3512
 
Join Date: Jan 2011
Location: Santa Maria,CA
Posts: 40
tagayoff is a jewel in the roughtagayoff is a jewel in the roughtagayoff is a jewel in the roughtagayoff is a jewel in the rough
Question Autonomous Independent vi question #2,3,4

The first case statement in the while loop (Straight,Right,Left) will be set to Straight if the DS switch are set to 2 or 3. That will allow a two sec delay before generating a true for the next case statement (0,1,7,default) only when it’s in the 7 state (Determined by (TTT) on the three line sensors. So if that occurs then the robot stops and the while loop is exited. Then we add code after the while loop to place the tube on a post.
If we entered Right or left on the drivers switches we are given 4 seconds delay before we can shut down the robot motors at the State 7. of the next case statement. This allows the robot to have passed the Y turn ( which might generate a State 7 indication). So we need to make sure the robot passes that Y before 4 seconds are up. And in any case the while loop will shut down the robot motors after 8 seconds. Does this sound about right?

Are the values on the autonomous VI front panel the values in the Power Profile array?
Also are the drivers station switches set when they show Green?
Thanks for your time
Reply With Quote
 


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


All times are GMT -5. The time now is 10:18.

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