Go to Post This isn't an engineering fair and demonstration, it's FRC. Defense is part of the game. You can't expect a good FRC team to just sit there and get clobbered by a full-court shooter; they're going to engineer a solution to the problem. - Kevin Sevcik [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 


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
2010 Control System Manual screamingeagle FRC Control System 9 11-01-2010 14:01
Unclaassified: Information about the 2010 control system Nadav Zingerman General Forum 35 24-11-2009 19:17
2009 Control System LabVIEW Tips and Pitfalls Travis Hoffman NI LabVIEW 3 22-12-2008 11:25
2009 Control System C++ Tips & Pitfalls heydowns Programming 1 19-12-2008 17:59
A few questions on programming the Control System Avarik Control System 21 08-02-2004 11:42


All times are GMT -5. The time now is 12:13.

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