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

The problem about the rviz and gazebo in gazebo_ros_demos package #39

Open
CMMMMH opened this issue Aug 19, 2020 · 2 comments
Open

The problem about the rviz and gazebo in gazebo_ros_demos package #39

CMMMMH opened this issue Aug 19, 2020 · 2 comments

Comments

@CMMMMH
Copy link

CMMMMH commented Aug 19, 2020

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 ?

@gokulmaxi
Copy link

gokulmaxi commented Jan 14, 2021

This is due to depreciation of state_publisher. The node name has been changed from state_publisher to robot_state_publisher
It is well documented here
You have to change your launch file according to this

<!-- Change state_publisher  -->
<!-- <node name="robot_state_publisher" pkg="robot_state_publisher" type="state_publisher" /> -->
<!-- To robot_state_publisher -->
<node name="robot_state_publisher" pkg="robot_state_publisher" type="robot_state_publisher" />

@gokulmaxi
Copy link

you can view my pull request here

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