Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ron007d opened this issue Jul 5, 2024 · 1 comment
Open

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

ron007d opened this issue Jul 5, 2024 · 1 comment

Comments

@ron007d
Copy link

ron007d commented Jul 5, 2024

Description

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

  • Running demo.launch under a namespace is working without error.
  • Gazebo is getting stuck at waiting for /clock and controller_manager

Environment

Steps to reproduce

  • go to the repo and do as per Readme.md
  • then in the roslaunch add this __ns:=/sim1
roslaunch simulation_moveit_config demo_gazebo.launch __ns:=/sim1`

Current behaviour

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

  • RVIZ not showing the model

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
Copy link
Contributor

rhaschke commented Jul 5, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants