|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||||
|
|||||
|
Re: HELP! CommandGroup not working
Putting kids to bed, so I can't delve deeper right now. I'll admit I was looking at things before your Friday commit so I could see what y'all were talking about. I'll try to have more thoughts in an hour or two. I'm suspicious of default commands you might be running hanging things.
|
|
#2
|
|||
|
|||
|
Re: HELP! CommandGroup not working
Well here's a new data point:
All of our Autonomous Command classes had a #include "../robot.h" in them (the students can be pretty sloppy about these things). I had meant to clean this up, but you know.. more important things like actually making the program work got in the way. Simply out of suspicion, I decided to clean these up. Now our "do nothing" autonomous command is successfully executed, but unfortunately the ones that actually do something still never return from Scheduler::GetInstance()->Run(); I'm guessing that there was some C++ class, possibly even name confusion. At least this is now looking less hopeless and somewhat debuggable. The tree has been updated with this. |
|
#3
|
|||||
|
|||||
|
Re: HELP! CommandGroup not working
*blinks* how are you determining that things are/aren't running at 9pm at night? Are you running your code on FRCSim?
|
|
#4
|
|||
|
|||
|
Re: HELP! CommandGroup not working
Test Bot sitting in my basement.
We bought two of the new control systems. One is on a standard AndyMark kit chassis that's similar enough to the real robot to run our production code (with a bunch of run time checks -- like (if (RobotMap::testBot) ...) for all the stuff that's missing (mainly our elevator, which we try to simulate). The test Bot is failing to run the autonomous just as well as the real bot.. |
|
#5
|
|||
|
|||
|
Re: HELP! CommandGroup not working
Btw, it's 11PM here.. East Coast. And I'm checking out for the night. Maybe it'll be clearer in the morning.
|
|
#6
|
|||
|
|||
|
Re: HELP! CommandGroup not working
We fixed it. No time for full explanation now, but needless to say, it's my opinion that key confusion in SmartDashboard Put commands should not set up a condition that disables the robot..
I'll post more details, and maybe make a small repro case if people are interested. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|