View Single Post
  #1   Spotlight this post!  
Unread 10-01-2010, 21:46
woodk woodk is offline
Registered User
FRC #2809
 
Join Date: Jan 2009
Location: Kingston, Ontario, Canada
Posts: 31
woodk has a spectacular aura aboutwoodk has a spectacular aura aboutwoodk has a spectacular aura about
Tips for C++ programming the 2010 control system

I had a little trouble getting the new WindRiver up and running so I thought I'd share a couple of things that I discovered or would recommend:

1. Make sure you install the updates:
- FRCLabVIEWUpdate2.0for2010.zip is needed even for C++
(from http://www.usfirst.org/roboticsprogr....aspx?id=10934)

- WorkbenchUpdate20100107.exe
(from http://first.wpi.edu/FRC/frccupdates.html)

- DSUpdate1.0for2010.zip
(also from http://www.usfirst.org/roboticsprogr....aspx?id=10934)

2. Follow the directions in "Getting started with C++" from http://first.wpi.edu/FRC/frccupdates.html

3. A couple of the examples didn't work:

CameraToDashboardExample and SimpleTracker needed:

- right-click on the project and select Properties
- select the "Build Paths" tab
- click "Add"
- enter: -I$(WIND_BASE)/target/h/WPILib/Vision2009

CameraToDashBoardExample needed:

- open "cameraToDashboardExample.cpp"
- add: #include "WPILib.h"

Hope that helps someone!
Reply With Quote