Ask Your Question

The problem about gazebo_ros_demos

asked 2020-08-19 03:05:14 -0500

HHHCMH gravatar image

I have a problem about the package gazebo_ros_demos. When I use roslaunch rrbot_description rrbot_rviz.launch then roslaunch rrbot_control rrbot_control.launch, it shows the warn that is [WARN] [1597821207.287022]: Controller Spawner couldn't find the expected controller_manager ROS interface .

When I use roslaunch rrbot_gazebo rrbot_world.launch then roslaunch rrbot_control rrbot_control.launch, it's ok.

And I compare the result of rosservice list , it shows the former one doesn't have controller_manager . That's why ?

edit retag flag offensive close merge delete


@HHHCMH, have you installed the needed dependencies:

sudo apt-get install ros-melodic-gazebo-ros-control
sudo apt-get install ros-melodic-gazebo-plugins
sudo apt-get install ros-melodic-joint-state-controller
sudo apt-get install ros-melodic-effort-controllers

Maybe you do not have one of these.

Weasfas gravatar image Weasfas  ( 2020-08-20 06:12:27 -0500 )edit

Thanks for your answer. But I had installed these package at that time. And it didn't work.

HHHCMH gravatar image HHHCMH  ( 2020-08-20 06:20:31 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2020-08-20 07:24:03 -0500

Weasfas gravatar image

@HHHCMH, Ok I missread the post, I now see what you are doing.

In the first launch instructions you are just launching the robot_description and the controllers; It does not work since, actually, you are not generating any controller_interface in which the controllers can be loaded. However, In the second set of launchers you are launching Gazebo, that with the Transmission tag is generating the simulated controller_interface, and when you launch the controllers those are loaded properly in it.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2020-08-19 03:05:14 -0500

Seen: 42 times

Last updated: Aug 20