View Single Post
  #4   Spotlight this post!  
Unread 19-01-2009, 15:56
gokul gokul is offline
Registered User
FRC #0571
 
Join Date: Jan 2006
Location: CT
Posts: 25
gokul is an unknown quantity at this point
Re: WindRiver Programming

Quote:
Originally Posted by dnrobotics11 View Post
How do you compile the different class templates such as the camera and the gyroscope with the main template into a single program download to the cRIO? Are these compiled independently? Which manual is best for these questions for WindRiver programming and downloading?
Start with a base program.
Then copy the files from other projects to this new project's folder (in the workspace).
Make sure you copy the correct .h files also - you need only .cpp and .h files.

Now, you will have to make sure that the key START_ROBOT_CLASS statement is ONLY in your main program and no place else. It should also reference your program (class) only.

By #include'ing correct .H files and referencing the correct classes/methods from the other files you should be able to get a good build.

Hope this helps!
Reply With Quote