Go to Post each year the chairmans award is given to the team the judges think deserve it the most, for that year. How can it be any other way? - KenWittlief [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 15-01-2009, 10:14
saudette saudette is offline
Registered User
FRC #2823
 
Join Date: Jan 2009
Location: St. paul Mn
Posts: 1
saudette is an unknown quantity at this point
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)
Reply With Quote
  #2   Spotlight this post!  
Unread 15-01-2009, 10:38
Jared Russell's Avatar
Jared Russell Jared Russell is online now
Taking a year (mostly) off
FRC #0254 (The Cheesy Poofs), FRC #0341 (Miss Daisy)
Team Role: Engineer
 
Join Date: Nov 2002
Rookie Year: 2001
Location: San Francisco, CA
Posts: 3,071
Jared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond repute
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).
Reply With Quote
  #3   Spotlight this post!  
Unread 15-01-2009, 10:54
Jon Stratis's Avatar
Jon Stratis Jon Stratis is offline
Electrical/Programming Mentor
FRC #2177 (The Robettes)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Minnesota
Posts: 3,733
Jon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond repute
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!
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sample Code Japper Programming 2 01-12-2008 22:36
Sample easyC Pro Programs Kingofl337 Programming 0 19-01-2008 20:08
Sample PID code??? EHaskins Programming 14 08-08-2006 14:18
Sample kickoff Cuog General Forum 0 19-12-2005 12:25


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

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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