Gazebo | Ignition | Community
Ask Your Question
0

Tutorial on ros_control is not working

asked 2014-06-23 04:34:33 -0500

bm_ctu_prague gravatar image

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 joint_state_controller, all the other actuators have the similar error like the one on joint1_position_controller.

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

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-07-31 09:10:35 -0500

Joao Luis gravatar image

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.

edit flag offensive delete link more

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.

Lucas Walter gravatar imageLucas Walter ( 2014-11-12 10:27:19 -0500 )edit

Question Tools

Stats

Asked: 2014-06-23 04:34:33 -0500

Seen: 3,874 times

Last updated: Jul 31 '14