I’m trying to retrieve the servos’ (pan and tilt) respective rotation angles based on the x and y coordinates of the object detected by the pixy cmucam5. Can anyone please help me out?
By the way, I intend to place this camera on a robot platform (with gripper and omni wheels). Once the x and y coordinates of the “taught object” is identified, the entire platform will align itself in such a way that the entire robot will rotate to the direction of the object and move forward to collect it with the gripper.
Thanks in advance.