Acquiring camera image from supervisor #4524
Replies: 1 comment 1 reply
-
It is not possible to retrieve internal device information or use the devices API from controller associated to a different Robot node, including a Supervisor. So, to solve your issue you should first make sure that you really need to share the camera images between different controller processes, for example:
Then, if there are no other solutions, to share the device measurements among different controllers you have to use some inter-process communication methods (i.e. sockets, storing in a file, shared memory, etc.). |
Beta Was this translation helpful? Give feedback.
-
I am trying to implement a controller that runs a control policy for multiple devices/robots. Each device has a camera, of which I would like to acquire the camera image. This should be possible according to this statement, since the supervisor has unlimited power. The documentation is not super clear how exactly I can retrieve information from a specific device through the supervisor though. How can I retrieve individual nodes' camera images from the supervisor?
Beta Was this translation helpful? Give feedback.
All reactions