|
Re: HELP! CommandGroup not working
Here's our autonomousPeriodic():
void Robot::AutonomousPeriodic() {
if (autoPeriodicCount++ < 4) {
printf("AutoPeriodic %d!\n", autoPeriodicCount);
}
else if (autoPeriodicCount==120) printf("AutoPeriodic still alive %d!\n", autoPeriodicCount);
Scheduler::GetInstance()->Run();
UpdateDashboardPeriodic();
Camera::Feed();
}
We only see the printf once. And the UpdateDashboardPeriodic and Camera::Feed are not getting called. The dashboard does not update and we don't get a camera image. Plus there are printfs in the Camera class that we don't see.
It looks like Scheduler::GetInstance()->Run() never returns, but we don;t get error messages to the console, riolog or even to the terminal if we explicitly run the FRCUserProgram from the linux shell. And it doesn't segfault either.
|