View Single Post
  #6   Spotlight this post!  
Unread 28-11-2013, 11:55
wireties's Avatar
wireties wireties is online now
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: Problems deploying code

If you get the network connection working (sounds like you do) and the parameters for the download dialog are correct the most common problems include undefined symbols. Every undefined symbol in your code must be resolved by a symbol already existing on the robot. For example all the WPI functions and classes we use are in the WPI libraries. More symbols are in the NI libraries and others in the operating system (VxWorks) itself.

So, do you have any undefined symbols? You can run the utility program "nmppc <object module name>" and it will show you the undefined symbols. Or open a shell to the robot and watch the error messages as your robot attempts to load and run the application object. You have to be quick opening the shell to see this. Another option is to download and run the application object using the target server (see help links earlier in this thread). This sequence is initiated by you and is easier to catch with the shell. A third (more advanced) option is to redirect the log output to a socket so it can be logged into a file on a remote machine.

HTH
__________________
Fast, cheap or working - pick any two!
Reply With Quote