Gurdy Controller Spawner couldn't find the expected controller_manager ROS interface

Hi everyone,

I was doing the lesson 3 of URDF course. I already pass the quiz and I’m doing the extra exercises with the Gurdy robot adding to it the prismatic, arm on the head, etc.

However, this error shows up:

Controller Spawner couldn’t find the expected controller_manager ROS interface.

The launch files are fine, the YAML file describes all the controllers and the URDF file has the Gazebo tag to load the controllers.

The funny thing is the previous version of the Gurdy robot works very well. But this second version does not.

This image is a screenshot of my interface:

In this image, at the upper left corner, sometimes appears a Gazebo model. But starting from a fresh session the results are the same.

Any ideas? advice?

thanks for your time.

Hi,

That error normally comes when there is an error in the joints names in the URDF or the yaml.

Here I leave you a git with the solution in the branch “mods”. If you execute the following commands you should see something like this:

roslaunch gurdy_description gurdy_complete_xacro_mod.launch

rosrun gurdy_description gurdy_demo_mod.py

rviz -d /home/user/catkin_ws/src/gurdy/gurdy_description/rviz_config/gurdy.rviz

GURDY-MODS

Screenshot from 2021-09-29 12-32-43

I added a 360 camera and a moded demo to move all the joinst around.
Take into account that I created it based on the XACRO version.

Hope this is usefull.

Hi
Thank you for the piece of advice… I finally got running my code.
Cheers.