Go to Post Of course 254 owns Battlebots too - dodar [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Spotlight this post!  
Unread 13-03-2015, 18:49
jfitz0807 jfitz0807 is offline
Registered User
FRC #2877 (Ligerbots)
Team Role: Parent
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Newton, MA
Posts: 67
jfitz0807 is an unknown quantity at this point
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.
Reply With Quote
 


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 00:37.

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