moveit / moveit_tutorials

A sphinx-based centralized documentation repo for MoveIt
https://moveit.github.io/moveit_tutorials/
BSD 3-Clause "New" or "Revised" License
460 stars 692 forks source link

trying to run demo_gazebo.launch under a namespace - Not working #825

Open ron007d opened 4 days ago

ron007d commented 4 days ago

Description

I am trying to run demo_gazebo.launch under a namespace to have multiple simulation under the same ros master.

Environment

Steps to reproduce

Current behaviour

-gazebo running but no model loaded also clock is stopped in the gazebo

Console output

You can start planning now!

[ INFO] [1720157324.225541084]: Stereo is NOT SUPPORTED
[ INFO] [1720157324.225599681]: OpenGL device: NVIDIA GeForce GTX 1650/PCIe/SSE2
[ INFO] [1720157324.225623147]: OpenGl version: 4.6 (GLSL 4.6).
[ INFO] [1720157324.465841817]: Finished loading Gazebo ROS API Plugin.
[ INFO] [1720157324.468059699]: waitForService: Service [/sim1/gazebo/set_physics_properties] has not been advertised, waiting...
[ INFO] [1720157324.939220498]: waitForService: Service [/sim1/gazebo/set_physics_properties] is now available.
[ INFO] [1720157324.953622974]: Physics dynamic reconfigure ready.
[INFO] [1720157354.072453, 0.000000]: Waiting for /clock to be available...
[INFO] [1720157354.074593, 0.000000]: Controller Spawner: Waiting for service controller_manager/load_controller
[INFO] [1720157354.116460, 0.000000]: Waiting for /clock to be available...
[INFO] [1720157354.118978, 0.000000]: Controller Spawner: Waiting for service /sim1/controller_manager/load_controller
[INFO] [1720157384.237407, 0.000000]: Waiting for /clock to be available...
[INFO] [1720157384.239518, 0.000000]: Controller Spawner: Waiting for service controller_manager/load_controller
[INFO] [1720157384.283028, 0.000000]: Waiting for /clock to be available...
[INFO] [1720157384.285446, 0.000000]: Controller Spawner: Waiting for service /sim1/controller_manager/load_controller

more log file added master.log

roslaunch-ron-linux-83213.log rosout.log rosout-1-stdout.log sim1-controller_spawner-4.log sim1-gazebo_controller_spawner-5.log sim1-spawn_gazebo_model-3.log

rhaschke commented 4 days ago

Running multiple simulations on the same ROS master is not possible: the simulation publishes the global and unique /clock topic. If you want to run multiple simulations in parallel, use different ROS environments.