-
Notifications
You must be signed in to change notification settings - Fork 227
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
Controller Spawner couldn't find the expected controller_manager ROS interface. #30
Comments
Off the top of my head I do not know what is wrong, sorry. |
@yuan0623 This problem occurs when you launch the rrbot_control demo while a gazebo server process is already running (in the background). Check for stray gserver processes, kill them & re-launch rrbot_control to make it work. |
make sure you have gazebo_ros_pkgs installed http://gazebosim.org/tutorials?tut=ros_installing |
Thank you, guys :) |
This could be helpful |
Check if the ros package has all the dependencies and install the necessary dependencies: |
I don't see the /rrbot/controller_manager either, just the controller_spawner ... any help? |
sudo apt-get install ros-kinetic-gazebo-ros-pkgs ros-kinetic-gazebo-ros-control |
I also have the same problem on Melodic, I have tried literally everything.. :( SOmeone please help me out..... [ERROR] [1587451335.148328678, 0.195000000]: No p gain specified for pid. Namespace: /robot/gazebo_ros_control/pid_gains/j1 then after like 20 secs, it shows the warning: Please help me out. Im using ROS melodic, and I have installed all the needed packages. |
To fix the PID gains issue, you need to load those params in. Something like a file called
And then load it into your launch file using:
I still have the error you guys describe though:
I'm not sure how to fix this either. |
Hey.. for me it was package version mismatching. An package update might fix it. |
Maybe this answer will be helpful: https://answers.ros.org/question/214712/gazebo-controller-spawner-warning/ |
It happened to me right now and I realized that a gzclient process was stuck in background.
If that's the case, just kill it or restart you computer. |
After adding pid values i get following error : please help someone |
Has someone been successful in fixing the error? I am still getting the same warning before the controller_spawner process ends.
I checked, and all the required packages are installed, I have also installed a few ones I do not think we need but thought it might solve the error: controller-interface, controller-manager, controller-manager-msgs, controller-manager-tests, control-msgs, control-toolbox |
So, for who might help, at the end I forgot to set up the robotNamespace tag inside the gazebo tag calling the gazebo_ros_control plugin in my urdf. Once I set up this robotNamespace to the same I was using in my yaml files and launch file. |
@MichelleHusbands could you be more specific about which yaml and launch files are you talking about? I too am having the same issue, I too have the robotNamespace tag empty but I don't know how to fill it. Thanks! |
The above comment helped me after 2 days of searching. Replace the gazebo tag in your xacro with the above code (change the namespace to yours). A package that checks for the reason these warnings/failures could help lower the barrier to entry. It's extremely hard finding these obscure faults. |
I also find this issue in the open_manipultor package. After adding /open_manipulator in the .gazebo.xacro file. But it still doesn't work. [WARN] [1647272608.525539, 0.000000]: Controller Spawner couldn't find the expected controller_manager ROS interface. |
|
|
and now 2024? have someone solved it? so so so thanls |
Hey man. Yes there are some simple steps yoy can follow. I just solved it right now.
|
Thank you very much, I changed the subject and I think I solved it, or I forgot, but it doesn't matter anymore. However, if I encounter this problem again, I will try to solve it! Thanks again. |
Dave
Hi, my name is Yuan and I'm following the tutorial Gazebo ROS demo, I have a smooth experience on following the tutorial except for the rrbot_control package. When I type 'roslaunch rrbot_control rrbot_control.launch' , I didn't get expected behaviour. Instead I get a warning message: [WARN] [WallTime: 1529028805.545238] [835.983000] Controller Spawner couldn't find the expected controller_manager ROS interface.
When I type rosservise list, I didn't see control/manager at all.
I download the ROS demo pkg directly from github into my workspace and 'catkin build' the package. I'm using ROS-indigo on Ubuntu 14.04. I also have Gazebo 7 installed. What can be wrong? Do you have similar experience?
Looking forward your respond!
Best
The text was updated successfully, but these errors were encountered: