View Full Version : WindRiver Programming
dnrobotics11
17-01-2009, 20:36
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
18-01-2009, 14:51
study for midterms
dnrobotics11
19-01-2009, 15:45
Somebody please help!
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
19-01-2009, 19:43
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-2017, Jelsoft Enterprises Ltd.