changing output data format
AnsweredHello,
I have a BFS-PGE-13E4C-CS camera that I would like to use for dynamic positioning coupled with a robotic arm. However, the arm only accepts data in the specified format "0000startM<model class>#<object count>O<x coord>#<y coord>#<z coord>#<orientation>#stop". Where they communicate with each other through TCP/IP. Is there a way to do this?
<status> | PASS / FAIL, if FAIL the model class will be -1 and the coordinates will be ignored |
<ignored> | any number |
<model class> | integer |
<object count> | set to 0 if no object is detected, otherwise 1 |
<x coord> | pixel x coordinate (integer) or cartesian X coordinate in mm. The pixel coordinate is offset by 320 or 640 depending on the message format. |
<y coord> | pixel y coordinate (integer) or cartesian Y coordinate in mm. The pixel coordinate is offset by 240 or 480 depending on the message format. |
<z coord> | cartesian Z coordinate in mm |
<rotation> |
A value (float) |
-
Official comment
Hello Anas,
I'm not sure I am following you correctly. I'm not aware of such a feature in our cameras or software. Do you have more information about this? What objects are we talking about? The BFS and our software do not do any object detection or classification, if that is what you mean.
Best regards,Manuel
-
Hello Anas,
Are you asking if the camera or software can send such a message through TCP/IP? I'm afraid that is not supported. You would have to write or find your own software for this.
Best regards,
Manuel
0 -
Hello Manuel,
In order for me to write my own script to perform this action, I will need the object addresses of such a function. Such as for example an object address 6084h for status. However, I am unable to find such addresses in the manuals in order to identify which object I would like to output to the arm. Would you know where to find them?
Best regards,
Anas
0 -
Hello Manuel,
Thank you very much for clarifying.
Best regards,
Anas
0
Please sign in to leave a comment.
Comments
4 comments