View Single Post
  #5   Spotlight this post!  
Unread 16-01-2006, 22:51
Damian Manda's Avatar
Damian Manda Damian Manda is offline
The Damian
no team
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Fort Collins, CO
Posts: 154
Damian Manda has much to be proud ofDamian Manda has much to be proud ofDamian Manda has much to be proud ofDamian Manda has much to be proud ofDamian Manda has much to be proud ofDamian Manda has much to be proud ofDamian Manda has much to be proud ofDamian Manda has much to be proud ofDamian Manda has much to be proud of
Send a message via AIM to Damian Manda
Re: Servos controlling camera and purple screen

Quote:
Originally Posted by Alan Anderson
That bluish purple is easily tracked by the camera against the less bluish purple background.
We were trying to figure out what to do with the purple screen in LabVIEW today, until I clicked on a random part of a frame grab taken when pointing at the green target. The selection area showed up on the outside with an un-highlighted section where the green light box was. Clicking in this area reversed the selection highlighting. I could not even see the difference on the laptop screeen (with highlighting turned off), so you may not be able to notice a difference either. However, the camera can certainly detect the difference and now tracks perfectly.

Also, we still hade problems with slight detections of other lights. The noise filter was not working well enough, so I corrected this by modifying
Code:
if(T_Packet_Data.my != 0)
to 
if(T_Packet_Data.my != 0 && T_Packet_Data.pixels > 10)
in tracking.c
Just wanted to let others know how to easily correct this problem in the default code.
__________________
FRC Volunteer, FLL regional planning committee member for Colorado
Former Programmer, Web Designer, Communications Director of Alpine Robotics Team 159.
Add your team to the FIRST Teams Google Map