View Single Post
  #10   Spotlight this post!  
Unread 13-03-2015, 19:10
cbf cbf is offline
Registered User
FRC #2877
 
Join Date: Feb 2012
Location: Newton, MA
Posts: 74
cbf is just really nicecbf is just really nicecbf is just really nicecbf is just really nicecbf is just really nice
Re: HELP! CommandGroup not working

Quote:
Originally Posted by emileh3467 View Post
I have a feeling that your autonomous CommandGroup isn't ending. Try putting in a parallel waitcommand that goes for 14 seconds (or the length of your autonomous, whichever is smaller, because you want to leave time for the robot to kick back into the default autonomous).
Don't think so. None of the commands in our command groups seem to get run at all. Look at https://github.com/ligerbots/Recycle...ands/Delay.cpp -- a command that simply counts off a number of ticks and returns. We never see the output from the printf in the initialization method.

As I said above, the Scheduler::GetInstance()->Run(); in AutonomousPeriodic executes exactly once and never returns..
Reply With Quote