ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

The problem about gazebo_ros_demos

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

HHHCMH gravatar image

updated 2021-09-11 10:35:54 -0600

lucasw 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 warning:

[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

Comments

@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 -0600 )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 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

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

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

Question Tools

1 follower

Stats

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

Seen: 446 times

Last updated: Sep 11 '21