Quote:
|
Originally Posted by kaszeta
Look in terminal.c in Kevin's camera code. Basically, you can check the value of T_Packet_Data.my, T_Packet_Data.pixels, or T_Packet_Data.confidence.
|
Be careful about using T_Packet_Data.my. Kevin's code uses it extensively for distinguishing when the target is or is not in its view. Unfortunately, T_Packet_Data.my does not get cleared when the camera loses the target. I found that this would cause the camera to get stuck pointing off into space sometimes, so I changed all those references to use T_Packet_Data.confidence instead.