Go to Post "If a student CAN do it, a student SHOULD do it." - Mr. Lim [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

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 27-01-2009, 18:36
tubeheaD37 tubeheaD37 is offline
Registered User
FRC #2079
 
Join Date: Jan 2007
Location: Massachusetts
Posts: 21
tubeheaD37 is on a distinguished road
WindRiver update gives tons of unresolved references

OK. Here is what I did...
1- Downloaded and ran the latest (update 3) from the WPI code web site.

2- Started Windriver in project that we had been running from week 1, a extension of the simple robot example.

3- Found that the interface to PID Controller had changed, constructor now needed PIDSource and PIDSource and PIDOutput, rather than setting them later. Also added calls to the SetInputRange and SetOutputRange methods in PIDController.

4- With those changes the code we had running now built.

5- Did a clean and a make all

6- Downloaded and had many unresolved references and a robot that would not boot (See terminal output, attached)

Is there anyway to back out this change in the libray or some way to correct what we are building? I don't understand how the linking of the .a library from WPI is working.

Please, I need help ASAP as we were already running behind before I made this mistake!


[EDIT] I noticed after I posted that the WPI website says it will not work if I don't have the correct cRio update. How do I know which update I have, and where can I get the update if I am missing it?[/EDIT]
Attached Files
File Type: txt New robot code problems.txt (64.9 KB, 57 views)

Last edited by tubeheaD37 : 27-01-2009 at 18:40.
Reply With Quote
  #2   Spotlight this post!  
Unread 27-01-2009, 19:10
wireties's Avatar
wireties wireties is offline
Principal Engineer
AKA: Keith Buchanan
FRC #1296 (Full Metal Jackets)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Rockwall, TX
Posts: 1,170
wireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond repute
Send a message via AIM to wireties
Re: WindRiver update gives tons of unresolved references

I saw the same thing. Install the latest NI update and use the imaging tool to update the firmware on the cRIO. It is version 12 I think.

HTH
Reply With Quote
  #3   Spotlight this post!  
Unread 27-01-2009, 19:24
tubeheaD37 tubeheaD37 is offline
Registered User
FRC #2079
 
Join Date: Jan 2007
Location: Massachusetts
Posts: 21
tubeheaD37 is on a distinguished road
Re: WindRiver update gives tons of unresolved references

Quote:
Originally Posted by wireties View Post
I saw the same thing. Install the latest NI update and use the imaging tool to update the firmware on the cRIO. It is version 12 I think.

HTH
How do I tell what version I have? When did this update come out? We did the update right after kickoff. Is that the most recent one?
Reply With Quote
  #4   Spotlight this post!  
Unread 27-01-2009, 21:46
heydowns's Avatar
heydowns heydowns is offline
Registered User
AKA: Jeff Downs
FRC #1511 (Rolling Thunder)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Ra-Cha-Cha
Posts: 142
heydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond repute
Re: WindRiver update gives tons of unresolved references

Quote:
Originally Posted by tubeheaD37 View Post
How do I tell what version I have? When did this update come out? We did the update right after kickoff. Is that the most recent one?
With the 3.0 update to C++, there is a similar update that must be applied to the cRIO. Currently, the only way to update the cRIO is to apply the recent LabVIEW update (also came out this week and it numbered 3.x). Then use that updated LabVIEW's Imaging Tool to re-image the cRIO for C++.
Reply With Quote
  #5   Spotlight this post!  
Unread 27-01-2009, 22:58
Pancake Pancake is offline
Registered User
FRC #0991 (The Dukes)
Team Role: Photography
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Phoenix
Posts: 11
Pancake is an unknown quantity at this point
Re: WindRiver update gives tons of unresolved references

Clicky
__________________
Team Webmaster
Reply With Quote
  #6   Spotlight this post!  
Unread 28-01-2009, 16:24
tubeheaD37 tubeheaD37 is offline
Registered User
FRC #2079
 
Join Date: Jan 2007
Location: Massachusetts
Posts: 21
tubeheaD37 is on a distinguished road
Re: WindRiver update gives tons of unresolved references

Thanks! After I figured out how to update everything I got it all working again!
Reply With Quote
  #7   Spotlight this post!  
Unread 28-01-2009, 19:15
BradAMiller BradAMiller is offline
Registered User
AKA: Brad
#0190 ( Gompei and the Herd)
Team Role: Mentor
 
Join Date: Mar 2004
Location: Worcester, MA
Posts: 590
BradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant future
Re: WindRiver update gives tons of unresolved references

Whenever you see that long list of undefined symbols on loading the robot program, that usually indicates a mismatch between the cRIO update and the WPILib libraries. The FPGA symbols are in a namespace that changes with each update and the library symbols are in the same namespace. If you try to load the program where the versions don't match you get all those undefined symbols because of the mismatched namespaces. This is intentional to make sure that people notice the mismatch.
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute
Reply With Quote
  #8   Spotlight this post!  
Unread 05-02-2009, 21:11
ericand's Avatar
ericand ericand is offline
Registered User
AKA: Eric Anderson
FRC #3765 (Terrabots)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2004
Location: St. Paul, MN
Posts: 148
ericand is a jewel in the roughericand is a jewel in the roughericand is a jewel in the rough
Re: WindRiver update gives tons of unresolved references

I understand what is going on. However, I have yet to see a clear explanation of what is changed so that I can fix it reliably.

The situation that I have is this:

We have a central workstation that hosts most of the development. We have individual laptops that also run Workbench.

As far as we can tell, we have installed all the updates on all the systems. Everything seems to be the same across all our systems, as far as we have been able to determine.

However, on some of the laptops, we get the mismatched symbols when we try to load and debug.

What I am looking for is exactly what file needs to match between the cRIO and the Workbench development environment.

This is very frustrating for the student who can't try out his code because we can't get his development system in sync with the cRIO.
Reply With Quote
  #9   Spotlight this post!  
Unread 26-01-2010, 19:10
ericand's Avatar
ericand ericand is offline
Registered User
AKA: Eric Anderson
FRC #3765 (Terrabots)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2004
Location: St. Paul, MN
Posts: 148
ericand is a jewel in the roughericand is a jewel in the roughericand is a jewel in the rough
Re: WindRiver update gives tons of unresolved references

We are running into this issue again with the 2010 season. We have one development system that we have setup that works. Other development systems that we have setup, work until we attempt to debug and then we get the unresolved symbols.

The unresolved symbols seem to be focused on code that accesses the FPGA.

This leads me to suspect that the problem is in a library version that is installed on some of the systems, but I can't figure out which one is causing the problem.
Reply With Quote
Reply


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
New WindRiver Update Pancake C/C++ 5 27-01-2009 15:31
Splitting RobotDriveDevRef into separate motor references. Joshamuffin National Instruments LabVIEW and Data Acquisition 4 24-01-2009 20:25
Nasa Needs 16 tons of Moondust Tazlikesrobots Chit-Chat 1 09-01-2009 11:09
unresolved parts sea_master Inventor 1 28-01-2008 10:36
Pointers/References? htwiz2002 Programming 7 29-01-2007 22:21


All times are GMT -5. The time now is 14:11.

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