Go to Post I'm basically only posting this so that future Shaker Robotics kids will see it and tell themselves "never again"... - Chris is me [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
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 17-02-2015, 01:19
rsaccone rsaccone is offline
Registered User
FRC #3950
 
Join Date: Feb 2013
Location: Glen Head, NY
Posts: 23
rsaccone is an unknown quantity at this point
Autonomous Command Group Being Canceled.

Hello,

We are seeing sporadic canceling behavior with our autonomous command group when we use the Autonomous Mode of the driver station. I would say about 9 out of 10 times the Autonomous Command Group works all the way through completely. However, we do see that 10% where the command sequence is canceled part of the way through.

In this scenario our command group consists of 9 commands which are all added with the AddSequential method of the CommanGroup. We are using the method that takes only the command as the parameter. Not the one with a timeout.

Each of those commands is interruptible. The command group seems to be canceled well before the 15 second time limit on the Autonomous Session when this occurs.

The sequence of events is that the Robot comes up disabled and we toggle into Autonomous mode on the Driver Station where our command group runs and finishes. Next, I disable the Robot and then put toggle it back into Autonomous mode where every so often the sequence starts but the 5th command in the sequence seems to be interrupted. The command that we see as interrupted is one that involves the driving subsystem. The drive subsystem has a default command on it to allow for driving in teleop mode. The default command is also interruptible by default as I'm not explicitly setting it to interruptible. I had wondered if it is some interaction between the two drive related commands.

Does the Driver Station start a new fifteen second countdown each time you toggle from disabled into Autonomous mode? Is it possible that if I disable quickly and the time period hasn't been exhausted isn't being reset the next time I toggle in?

If we run the Driver Station in practice mode it seems to always work correctly (e.g. completes the Autonomous Command group and drops into teleop mode) and we have no problems repeating it either.

Any ideas where to look are appreciated.

Regards,
Rob
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


All times are GMT -5. The time now is 03:00.

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