Home | Tutorials | Wiki | Issues
Ask Your Question
0

[ERROR]could not find joint_state_controller

asked 2014-10-26 03:27:36 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

hi, this is my first time here. i'm using indigo and gazebo2.2 in ubuntu14.04 to simulate our robot.

when i was following the tutorils,had a problem with this page.

it says to launch these two,to control the rrbot.

roslaunch rrbot_gazebo rrbot_world.launch roslaunch rrbot_control rrbot_control.launch

but when i launch roslaunch rrbot_control rrbot_control.launch this error occcurs.

[ERROR] [1414305408.351300373, 6.335000000]: Could not load class jointstatecontroller/JointStateController: Could not find library corresponding to plugin jointstatecontroller/JointStateController. Make sure the plugin description XML file has the correct name of the library and that the library actually exists. Warning [Publisher.cc:134] Queue limit reached for topic /gazebo/default/pose/local/info, deleting message. This warning is printed only once.

i have no idea to solve this.

thanks ,Ryo.

PS roscontrollers package cause other catkinmake problem, so i tried this

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

but another error occurs

[ERROR] [1414652580.407543556, 4.281000000]: Exception thrown while initializing controller joint1positioncontroller. Could not find resource 'joint1' in 'hardwareinterface::EffortJointInterface'. Could not find resource 'joint2' in 'hardwareinterface::EffortJointInterface'. I checked rrbot_control.yamland rrbot.xacro, but of course there was a state about joint1 and joint2.

Was anything wrong? what should i do next?

thanks RYO

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2014-10-29 18:20:52 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Have you installed the joint state controller?

sudo apt-get install ros-indigo-joint-state-controller
edit flag offensive delete link more

Comments

thank you for your comment. yes.it was the latest version.

i tried sudo apt-get update sudo apt-get install ros-indigo-ros-control ros-indigo-ros-controllers

so,maybe othe controllers are the latest too.

but another error occured which i added on the top.

Ryo_Amano gravatar imageRyo_Amano ( 2014-10-30 02:26:15 -0500 )edit
0

answered 2014-10-31 01:33:28 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

I think i solved the problem.

the problem was rrbot.xacro

in the <transmission>state

replace

<joint name="joint1"/>

with

<joint name="joint1"> <hardwareInterface>EffortJointInterface</hardwareInterface> </joint>

and all error was cleared

thanks for your help.

RYO

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

Stats

Asked: 2014-10-26 03:27:36 -0500

Seen: 2,233 times

Last updated: Oct 31 '14