View Single Post
  #3   Spotlight this post!  
Unread 15-02-2006, 18:05
bear24rw's Avatar
bear24rw bear24rw is offline
Team 11 Programming Captain
AKA: Max T
FRC #0011 (MORT)
Team Role: Programmer
 
Join Date: Sep 2005
Rookie Year: 2005
Location: Flanders, NJ
Posts: 385
bear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to behold
Send a message via AIM to bear24rw
Re: Change color that is tracked.

Quote:
Originally Posted by MarkVH
How can we change what color (other than green) is tracked in Mr. Watsons code?
You change the color parameters in camera.h

#define R_MIN_DEFAULT 90 // Rmin for call to Track_Color()
#define R_MAX_DEFAULT 110 // Rmax for call to Track_Color()
#define G_MIN_DEFAULT 15 // Gmin for call to Track_Color()
#define G_MAX_DEFAULT 26 // Gmax for call to Track_Color()
#define B_MIN_DEFAULT 106 // Bmin for call to Track_Color()
#define B_MAX_DEFAULT 128 // Bmax for call to Track_Color()