|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
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) |
|
#2
|
|||||
|
|||||
|
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). |
|
#3
|
||||
|
||||
|
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! |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Sample Code | Japper | Programming | 2 | 12-01-2008 10:36 PM |
| Sample easyC Pro Programs | Kingofl337 | Programming | 0 | 01-19-2008 08:08 PM |
| Sample PID code??? | EHaskins | Programming | 14 | 08-08-2006 02:18 PM |
| Sample kickoff | Cuog | General Forum | 0 | 12-19-2005 12:25 PM |