I made a robot hand with 3 degrees of freedom that can automatically detect the desired object (bright light) in space and define its location.
"PosM1", "PosM2", "PosM3" are the positions of axis 1, 2 and 3
"lenghtC" is the measured distance from axis 2 to object (I know its "length" :P)
Values left of "Pos1" are values send from camera.
Board used: NUCLEO - F446RE
Camera used: OpenMV cam H7 R2