Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   C/C++ (http://www.chiefdelphi.com/forums/forumdisplay.php?f=183)
-   -   WindRiver Programming (http://www.chiefdelphi.com/forums/showthread.php?t=72320)

dnrobotics11 17-01-2009 20:36

WindRiver Programming
 
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

Re: WindRiver Programming
 
study for midterms

dnrobotics11 19-01-2009 15:45

Re: WindRiver Programming
 
Somebody please help!

gokul 19-01-2009 15:56

Re: WindRiver Programming
 
Quote:

Originally Posted by dnrobotics11 (Post 802769)
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

Re: WindRiver Programming
 
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.


All times are GMT -5. The time now is 02:57.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi