View Full Version : WindRiver Programming
dnrobotics11
01-17-2009, 08:36 PM
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?
cj.reeves
01-18-2009, 02:51 PM
study for midterms
dnrobotics11
01-19-2009, 03:45 PM
Somebody please help!
gokul
01-19-2009, 03:56 PM
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!
dnrobotics11
01-19-2009, 07:43 PM
Thank you very much for the help. How do you call each of the other classes within the main template? I understand that you use the .h files to reference them but how do you indicate when to "activate" the separate code (such as the camera or the gyroscope)? I appreciate your help very much.
vBulletin® v3.6.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.