How to import the coordinates of the objects detected on the Wrist camera ?

If you want to import the coordinates of the objects detected on the Wrist camera, it's not possible to do it by default. But we have make a program to make it possible.

Knowledge

First, inside the cam locate node you can access the number of parts found by reading the content of a variable called "f". The number of parts found is stored in f[0].
So you can for example do
cam locate
number_of_parts = f[0]

 

Then if you want to have access to the coordinates, you can use the program follows:  link.