View Single Post
  #1   Spotlight this post!  
Unread 06-02-2010, 10:39
Ziaholic's Avatar
Ziaholic Ziaholic is offline
Elec/SW Mentor
AKA: Marc
FRC #1164 (Project NEO)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2002
Location: Las Cruces, NM
Posts: 194
Ziaholic is a jewel in the roughZiaholic is a jewel in the roughZiaholic is a jewel in the roughZiaholic is a jewel in the rough
TeleOp Init/Stop vs. Auton-Iterative Init/Stop

I've been going through the subVI's for the Robot Mode and Derived States and I'm having a hard time determining the exact flow that the competition's game-control/management system will push us through ... and do the driver-station buttons emulate what we'll see on the field ...

The Robot Mode has 6 states ... and I'm guessing that they'll flow in this order when we're on the playing field:
Autonomous Disabled
Autonomous Enabled
Teleop Disabled
Teleop Enabled
Finish (?? Maybe a Teleop Disable before the Finish ?? I dunno.)
(the 6th state is Timeout and it's the exception when we don't get a DS packet)

I'm hoping that when we emulate that on the DS, it's the same as what we'll see on the field.

Now, inside both the Auton and Teleop structures, we have the Derived Robot State of
Init
Execute
Stop
... and this is where my analysis of their subVI's breaks down. I'm not sure if we sit, looping, in the INIT state while we're "disabled" the entire time ... or do we only get one time thru the INIT state.

... and will my Auton get a chance to run it's STOP case as we transition between Auton-Enabled and Teleop-Disabled?

... similarly, will my Teleop get a chance to run it's STOP case as we transition to FINISH?

Sorry if this has been asked to death, but the keywords that I searched for brought up quite a mix-mash of posts, and nothing really covering my questions.
__________________
----
There are 10 types of people. Those who understand binary, and those that do not.
Team #1164 - Project NEO Robotics
Reply With Quote