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

failed to load controller #32

Open
lulienhsi opened this issue Jul 17, 2018 · 9 comments
Open

failed to load controller #32

lulienhsi opened this issue Jul 17, 2018 · 9 comments

Comments

@lulienhsi
Copy link

lulienhsi commented Jul 17, 2018

Hi everyone, I confront some problems while using Ubuntu 18.04 + ROS Melodic + Gazebo 9.
When I run roslaunch rrbot_control rrbot_control.launch
I get the following error,


SUMMARY
========

PARAMETERS
 * /rosdistro: melodic
 * /rosversion: 1.14.2
 * /rrbot/joint1_position_controller/joint: joint1
 * /rrbot/joint1_position_controller/pid/d: 10.0
 * /rrbot/joint1_position_controller/pid/i: 0.01
 * /rrbot/joint1_position_controller/pid/p: 100.0
 * /rrbot/joint1_position_controller/type: effort_controller...
 * /rrbot/joint2_position_controller/joint: joint2
 * /rrbot/joint2_position_controller/pid/d: 10.0
 * /rrbot/joint2_position_controller/pid/i: 0.01
 * /rrbot/joint2_position_controller/pid/p: 100.0
 * /rrbot/joint2_position_controller/type: effort_controller...
 * /rrbot/joint_state_controller/publish_rate: 50
 * /rrbot/joint_state_controller/type: joint_state_contr...

NODES
  /
    robot_state_publisher (robot_state_publisher/robot_state_publisher)
  /rrbot/
    controller_spawner (controller_manager/spawner)

ROS_MASTER_URI=http://localhost:11311

process[rrbot/controller_spawner-1]: started with pid [9316]
process[robot_state_publisher-2]: started with pid [9317]
[INFO] [1531792486.803933, 0.000000]: Controller Spawner: Waiting for service controller_manager/load_controller
[INFO] [1531792486.809971, 0.000000]: Controller Spawner: Waiting for service controller_manager/switch_controller
[INFO] [1531792486.816021, 0.000000]: Controller Spawner: Waiting for service controller_manager/unload_controller
[INFO] [1531792486.819924, 0.000000]: Loading controller: joint_state_controller
[INFO] [1531792486.861847, 29.439000]: Loading controller: joint1_position_controller
[ERROR] [1531792487.873133, 30.435000]: Failed to load joint1_position_controller
[INFO] [1531792487.877248, 30.439000]: Loading controller: joint2_position_controller
[ERROR] [1531792488.891768, 31.440000]: Failed to load joint2_position_controller
[INFO] [1531792488.895309, 31.443000]: Controller Spawner: Loaded controllers: joint_state_controller
[INFO] [1531792488.907590, 31.451000]: Started controllers: joint_state_controller

Does anyone also have this problem?

@lulienhsi
Copy link
Author

I thought I didn't install the controllers, so after this I run two commands,
sudo apt-get update
sudo apt-get install ros-melodic-ros-control ros-melodic-ros-controllers
however, it returns below,

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package ros-melodic-ros-control
E: Unable to locate package ros-melodic-ros-controllers

Can anyone solve this?

@lulienhsi
Copy link
Author

Sorry, I cannot get it :(

@Bopp1312
Copy link

Does this error persist?

@leolixinwang
Copy link

yes, i have the same issue, and i've installed all pakets, i stil got the error, any ideas? thx!!

@MSawan
Copy link

MSawan commented Nov 24, 2020

Hey @lulienhsi Buddy how did you solve this error? I'm also having the same one.

@aditya-shirwatkar
Copy link

Hey @lulienhsi, I'm also facing this issue. Did you find any solution to it?

@dayatsa
Copy link

dayatsa commented Apr 21, 2021

I found a solution from this link

I'm not sure of what was the root cause.

What I did:

  • install ros-melodic-desktop-full
  • install gazebo, which has removed the previous package, but only the meta package (fixed in the meantime)
  • install ros_control from the source (did not manage to make the deb version work)
  • install roscontroller, controltoolbox and real_time (since again the package were missing or inconsistent in the debs)

Tested on Ubuntu 18.04 LTS, ROS Melodic

@liaolunjia
Copy link

sudo apt-get install ros-noetic-ros-control ros-noetic-ros-controllers

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

8 participants