Quote:
|
Originally Posted by railerobotics
I have searched forever in the code but I cannot find a variable that says if the camera is or isn't locked on to the target. In atonomous I have trying to make our cannon fire once that the camera is locked on the the target.
|
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.