Gazebo | Ignition | Community
Ask Your Question
0

Using Ignition Fortress services on another docker container

asked 2023-05-08 07:09:26 -0500

Nutnans gravatar image

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 ros_gz_sim 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?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2023-05-08 10:24:01 -0500

azeey gravatar image

You'll need to set IGN_PARTITIONon both containers to the same value for them to communicate. See https://gazebosim.org/api/transport/1... for details.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2023-05-08 07:09:26 -0500

Seen: 159 times

Last updated: May 08 '23