Chief Delphi

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

saudette 15-01-2009 10:14

Sample C/C++ Programs
 
We are a rookie team from St. Paul Mn. We have tested our chassis and wheels with the bench test programs and things work well(Tank/arcade modes). The next step believe is to get a sample program in C/C++ and load it into Wind River so that we can down load it the Control system. Is there some sample C source code out there that we can get to do this step?

Thanks Steve(Adult mentor for the team)

Jared Russell 15-01-2009 10:38

Re: Sample C/C++ Programs
 
If you create a new project in WindRiver, select "Example...".

There are a few different FRC examples in there (everything from bare bones to projects that track the vision target and have autonomous modes).

Jon Stratis 15-01-2009 10:54

Re: Sample C/C++ Programs
 
Check out this document: http://first.wpi.edu/Images/CMS/Firs...ming_Guide.pdf

Starting on page 13, it runs you through setting up your environment (pg 14), getting some starter/sample code (pg 18), building (pg 20) and finally downloading to the cRio (pg 21).

Our team found the instructions there pretty easy to follow and complete!


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

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