Go to Post It shouldn’t be about whether or not you think it’s easy or not, it’s about whether or not you think the effect of the change would be a positive step for our country. - Bill Gold [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 Rating: Thread Rating: 5 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #16   Spotlight this post!  
Unread 02-10-2013, 03:29 PM
kylelanman's Avatar
kylelanman kylelanman is online now
Programming Mentor
AKA: Kyle
FRC #2481 (Roboteers)
Team Role: Mentor
 
Join Date: Feb 2008
Rookie Year: 2007
Location: Tremont Il
Posts: 185
kylelanman is a name known to allkylelanman is a name known to allkylelanman is a name known to allkylelanman is a name known to allkylelanman is a name known to allkylelanman is a name known to all
Re: Warning: module holds reference to undefined symbol

One problem we faced a couple times this year was not providing an implementation of pure virtual functions in our subsystems and commands.

The two that come to mind are if your using a PIDSubsystem you have to implement.

virtual double ReturnPIDInput();
virtual void UsePIDOutput(double output);

In normal commands we implemented each command in it's own .h file.

We found our selves constantly leaving out implementations of empty methods.

ex.

~ArmUpCommand();
instead of
~ArmUpCommand() {}

and

Execute();
instead of
Execute() {}

The best way to narrow it down it down that we found is to comment all the subsystems and uncomment them one at a time until you can narrow it down to a particular subsystem or command.

If you'er still stumped then you can post that command or subsystem and the CD community can hopefully help you out.
__________________
"May the coms be with you"

Is this a "programming error" or a "programmer error"?

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 09:44 AM.

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