View Single Post
  #6   Spotlight this post!  
Unread 14-01-2009, 10:01
foemill's Avatar
foemill foemill is offline
What do you mean it's overweight?
AKA: Eric Miller
FRC #1270 (Red Dragons)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2007
Location: Cleveland, Ohio
Posts: 12
foemill is on a distinguished road
Re: Two Color Tracking Demo

the function "InArea" can be found in the source code for build 1562 found here. The source has changed since the kickoff because the code I have from just before the kickoff doesn't contain the InArea function either.

Try re-installing the Workbench update. It looks like they may have added it to this install. Otherwise you'll have to re-build the source and link in the WPIlib.a file generated in the make process. The default location for the WPILib source tree ended up in C:\WinDriver\vxworks-6.3\WPILib.


Quote:
Originally Posted by Mike Mahar View Post
I can't compile this code. The module Target.cpp calls a function "InArea" that is defined in the WPILib module TrackAPI.cpp. TrackAPI.h, however, does not declare this function. I could easily add this declaration to Target.cpp but I wonder if this was written for a WPILib that hasn't been released yet. Some other posts have indicated that there are bugs in the vision system and this example may not address them. Has there been
any WPILib update since 1/1/09 that I don't have?