Do not see the robot in Gazebo Simulator: Unit 2: spawn.launch
waiting a service forever
Please help
roslaunch robot_description spawn.launch
process[master]: started with pid [1173]
ROS_MASTER_URI=http://1_xterm:11311
setting /run_id to 67fc2b00-dac8-11ee-915f-0242ac120006
process[rosout-1]: started with pid [1192]
started core service [/rosout]
process[mybot_spawn-2]: started with pid [1195]
[INFO] [1709626478.499529]: Loading model XML from ros parameter robot_description
[INFO] [1709626478.503649]: Waiting for service /gazebo/spawn_urdf_model
I use 2nd terminal to find out what happened during the execution of the above roslaunch, here is what I found:
user:~$ env | grep GAZEBOGAZEBO_MASTER_URI=http://1_xterm:11345
GAZEBO_PLUGIN_PATH=/usr/lib/x86_64-linux-gnu/gazebo-11/plugins:/usr/lib/x86_64-linux-gnu/gazebo-11/plugins:
GAZEBO_MODEL_DATABASE_URI=http://models.gazebosim.org
GAZEBO_RESOURCE_PATH=/usr/share/gazebo-11:/usr/share/gazebo-11:/usr/share/gazebo
GAZEBO_MASTER_PORT=11345
GAZEBO_MASTER_HOSTNAME=1_xterm
GAZEBO_MODEL_PATH=/usr/share/gazebo-11/models:/usr/share/gazebo-11/models:/usr/share/gazebo-9/models:/usr/share/gazebo/models_robox
GAZEBO_VERBOSE=0
user:~$ ps faux | grep gzclient
user 1649 0.0 0.0 3312 736 pts/1 S+ 04:15 0:00 | \_ grep --color=auto gzclient
user:~$ ps faux | grep gzserver
user 1696 0.0 0.0 3312 732 pts/1 S+ 04:15 0:00 | \_ grep --color=auto gzserver
user:~$