Robotics StackExchange | Archived questions

Tutorial on ros_control is not working

Hello everybody,

I am running ROS Indigo with Gazebo 2.2.2 and while following this tutorial on ROS control, I have encountered the following errors when loading the controllers:

[ERROR] [1403515045.747779829, 5481.747000000]: Exception thrown while initializing controller joint1_position_controller.
Could not find resource 'jaco_joint_1' in 'hardware_interface::EffortJointInterface'. 
[ERROR] [1403515045.747874992, 5481.747000000]: Initializing controller 'joint1_position_controller' failed

in gzserver and

[INFO] [WallTime: 1403515045.521738] [0.000000] Loading controller: joint1_position_controller
[ERROR] [WallTime: 1403515046.765866] [5482.597000] Failed to load joint1_position_controller

in the terminal I was launching the .launch file for loading the controllers from. The only controller successfully loaded and started is just the jointstatecontroller, all the other actuators have the similar error like the one on joint1positioncontroller.

At first, I thought there is something I have missed or misunderstood, but when I cloned the exact example with RRbot from git, just as they show it in the tutorial, I got the same error for both of the RRbot's joints.

Does anybody have an idea how to get the tutorial working as depicted in it?

Thank you in advance

Asked by bm_ctu_prague on 2014-06-23 04:34:33 UTC

Comments

Answers

I've got the same problem and I've figured it out how to solve it. You are having this problem cause you don't have installed the controllers. Just run these commands in your terminal:

sudo apt-get update

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

After that when you try to run the same commands you'll be able to control the arm of rrbot.

Asked by Joao Luis on 2014-07-31 09:10:35 UTC

Comments

Thanks! I'd upvote this but I'm yet to surpass 5 points, probably because no one else here as enough points to vote for me either.

Asked by Lucas Walter on 2014-11-12 11:27:19 UTC