|
Re: Urgent help needed : Camera locks on to no apparent target! ?!?!
Quote:
|
Originally Posted by Bharat Nain
This has been discussed elsewhere. You can search and find stuff on it. But in tracking.c it checks if there is a light or not to scan because for some weird reason it gets x and y values even when the light is not in front of it. To correct that change the line if(T_Packet_Data.my != 0) to if(P_Packet_Data.confidence != 0).
|
The condition you are talking about happens if the camera is picking up other lights. And the condition should by "if (P_Packet_Data.confidence > 80)".
Since the first post said the problem persists if a hand is in front of the camera then I do not believe that is the problem they are having. When I leave my hand in front of the camera for 3-5 seconds the search routing starts up again.
__________________
Keith Watson - Professional Software Engineer
No relation to "Kevin" Watson, who created the camera tracking code.
|