Using Ignition Fortress services on another docker container
Hi all,
So my problem is I have two different containers on the same network, one running Gazebo Fortress and the other running ros2 humble. I would like to use rosgzsim to spawn objects into the simulation but I get an error saying the service request timed out. Using ign service --list on the ros container shows there are no services running while they show up just fine on the simulation container.
Usually ros topics and services would be shared by containers in the same network so that way I could have a talker and listener node on different containers.
Is it possible to have that same functionality with ign services?
Asked by Nutnans on 2023-05-08 07:09:26 UTC
Answers
You'll need to set IGN_PARTITION
on both containers to the same value for them to communicate. See https://gazebosim.org/api/transport/11.0/nodestopics.html for details.
Asked by azeey on 2023-05-08 10:24:01 UTC
Comments