View Single Post
  #9   Spotlight this post!  
Unread 16-02-2010, 09:24
Mike Mahar Mike Mahar is offline
Registered User
FRC #0138
 
Join Date: Jan 2007
Location: Amherst, NH
Posts: 64
Mike Mahar will become famous soon enough
Re: Camera After 4.1/4.2 update

We are running with the latest v20 update and the latest WPILIB. The WPILIB that is the current release, the one label Feb 8th, does not work if you have camera code. The release before it (Feb 3rd) does not work if you are using DriverStationLCD. If, however, you sign up for firstforge.wpi.edu, you can download the latest source for the WPILIB. Make sure you have subversion installed on your development PC. Once you have downloaded the sources, you can build them from Workbench. There is a script in the scripts section that will update the default library for your project build. Just double click on it.

If you don't make any changes to the WPILIB, you will get the kLineLength error that you get with the Feb 3rd version of the library. To fix that problem, we edited DriverStationLCD.h to move the const declaration of kLineLength out of the class declaration and put it on the line before class declaration.

If you build the WPILIB it will build a version the behaves like the Feb 8th version. The fix for that is to clean build of the whole WPILIB. This library works well for us. Even with the v20 Mandatory update of LabView.

I don't know why WPI has not updated their copy of the library. It has been over a week since people reported that it doesn't work.
Reply With Quote