Running gzserver through ssh to ubuntu and gzclient locally on MacBook is not working

asked 2022-09-06 20:51:15 -0500

endotjay gravatar image

I have a PC with Ubuntu with GazeboSim 11.11.0 installed on it and I have MacBook Air Apple chip M1 with GazeboSim 11.11.0 installed on it.

I am aware of this post Running gzserver on EC2 and gzclient locally is not working and I followed its answer

on the ssh terminal I run: 1. source /usr/share/gazebo-11/setup.sh 2. GAZEBO_IP=192.169.1.14 GAZEBO_MASTER_URI=192.168.1.14:10600 gzserver --verbose

on the local terminal I run: 1. source /opt/homebrew/Cellar/gazebo11/11.11.0_4/share/gazebo-11/setup.sh 2. GAZEBO_IP=192.168.1.16 GAZEBO_MASTER_URI=192.168.1.14:10600 gzclient --verbose

The two machines are communicating with each other, yet I get the world as black screen. Gazebo Client

The output on the ssh terminal is:

``` Gazebo multi-robot simulator, version 11.11.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://192.168.1.14:10600 [Msg] Publicized address: 192.169.1.14 [Err] [RenderEngine.cc:749] Can't open display: [Wrn] [RenderEngine.cc:89] Unable to create X window. Rendering will be disabled [Wrn] [RenderEngine.cc:292] Cannot initialize render engine since render path type is NONE. Ignore this warning ifrendering has been turned off on purpose. [Msg] Loading world file [/usr/share/gazebo-11/worlds/empty.world] ```

The output of the local terminal is:

``` Gazebo multi-robot simulator, version 11.11.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://192.168.1.14:10600 [Msg] Publicized address: 192.168.1.16 [Wrn] [GuiIface.cc:120] Populating font family aliases took 75 ms. Replace uses of missing font family "Sans" with one that exists to avoid this cost. [Err] [Scene.cc:227] Service call[/shadow_caster_material_name] timed out [Err] [Scene.cc:249] Service call[/shadow_caster_render_back_faces] timed out [Wrn] [Event.cc:61] Warning: Deleting a connection right after creation. Make sure to save the ConnectionPtr from a Connect call [Wrn] [Scene.cc:463] Ignition transport [/scene_info] service call failed, falling back to gazebo transport [scene_info] request. [Wrn] [Publisher.cc:135] Queue limit reached for topic /gazebo/default/user_camera/pose, deleting message. This warning is printed only once.

```

Could you please tell me what I am doing wrong and how to solve it?

Thanks

edit retag flag offensive close merge delete