View Single Post
  #9   Spotlight this post!  
Unread 05-01-2009, 19:22
DanDon's Avatar
DanDon DanDon is offline
ohhh MY god
AKA: Dan Hoizner
FRC #0375 (The Robotic Plague)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Staten Island, NY
Posts: 1,432
DanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond repute
Send a message via ICQ to DanDon Send a message via AIM to DanDon Send a message via MSN to DanDon
Re: Finding green/pink flags

Hey all-

I'm running WindRiver, and I'm running the SimpleTracker example code. I've used the NI Vision Assistant to get color values for my green vision target, and put those into the WindRiver code.
Code:
        tdata = GetTrackingData(GREEN, FLUORESCENT);
        tdata.luminance.maxValue = 187;
        tdata.luminance.minValue = 103;
        tdata.hue.minValue = 71;
        tdata.hue.maxValue = 98;
        tdata.saturation.minValue = 56;
        tdata.saturation.maxValue = 111;
I'm getting terminal feedback from the CRIO (finally...but that's another story), but the camera is failing to find any blobs matching the numbers that were obtained using the Vision Assistant.

Help, please?
__________________
Reply With Quote