Go to Post I've now read Dolly Parton's entire wikipedia page, which was not something I expected to do - WinterPoet [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
  #1   Spotlight this post!  
Unread 17-02-2010, 20:17
chdmwu chdmwu is offline
Registered User
FRC #1351
 
Join Date: Feb 2010
Location: USA
Posts: 1
chdmwu is an unknown quantity at this point
Weird issue "No Robot Code"

We have a weird error where the Classmate says that there is no robot code. We've isolated a line that is causing this.

This code:
// case COCKED:
// if(_kicking) {
// float my_setpoint = (float)FindNextSafeSpot(1);
// _pid.SetSetpoint(my_setpoint);
// }
// //TODO: cocked stuff
// break;

seems to be the problem, specifically the SetStpoint stuff. It looks like FindNextSafeSpot() is causing this. We changed th code there and have it just returning 1, but this is still causing the problem. If we comment this line out, however, the Classmate has no problems.

We found another thread with this problem and the issue was that the person was missing an -mlongcall linker flag. We checked and we do have this flag, so that's not the problem.

Has anyone else encountered this error, or does anyone have any idea what to do? We've been dealing with this all week.

Thanks!

Chris Wu - Team 1351.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
"No Robot Code" problem Deep-Blue C/C++ 4 14-02-2010 17:57
"No Robot Code" error? plus other issues... 3195mentor NI LabVIEW 3 13-02-2010 08:20
G-FORCE's robot, named "philbot" a.k.a "armagedon in a polycarbonate box" Bryan_2818 Robot Showcase 0 12-04-2009 20:54
Modified default code gives "code violation" scottmso Programming 8 10-02-2006 23:17
Code error on RC after downloading "bells and whistles" version of Kevins camera code DanDon Programming 6 10-01-2006 18:07


All times are GMT -5. The time now is 13:55.

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