Connect host gazebo gzclient to to docker's gzserver [closed]

asked 2019-09-01 05:18:36 -0500

cometta gravatar image

updated 2019-09-01 06:13:44 -0500

gvdhoorn gravatar image

I run gzserver and ros master in docker container. open the port with -p 11345:11345 -p:11311:11311. On my MacOs host, i connect with

ROS_MASTER_URI=http://localhost:11311  GAZEBO_MASTER_URI=http://localhost:11345 gzclient --verbose

I get below error

Gazebo multi-robot simulator, version 7.15.0
Copyright (C) 2012 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org

[Msg] Waiting for master.
[Msg] Connected to gazebo master @ http://127.0.0.1:11345
[Msg] Publicized address: 192.168.1.88
[Err] [ModelMaker.cc:383] Couldn't find model element in sdf, won't create entity. 

libc++abi.dylib: terminating with uncaught exception of type boost::wrapexcept<boost::lock_error>: boost: mutex lock failed in pthread_mutex_lock: Invalid argument
Abort trap: 6
edit retag flag offensive reopen merge delete

Closed for the following reason Gazebo Question: The Gazebo community prefers to answer questions at: http://answers.gazebosim.org by gvdhoorn
close date 2019-09-01 06:13:15.962364

Comments

For now this looks like a Gazebo question only, and those should be posted on answers.gazebosim.org.

If you post there as well, please add a comment here with the link to your new question, so we can keep things connected.

gvdhoorn gravatar image gvdhoorn  ( 2019-09-01 06:14:37 -0500 )edit