ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

[ERROR] could not find joint_state_publisher

asked 2014-10-26 03:34:37 -0500

Ryo_Amano gravatar image

updated 2014-10-30 02:14:50 -0500

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 joint_state_controller/JointStateController: Could not find library corresponding to plugin joint_state_controller/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.

does anyone solved this problem?

thanks ,

Ryo.

ps

ros_controllers package cause other catkin_make 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 joint1_position_controller. Could not find resource 'joint1' in 'hardware_interface::EffortJointInterface'. Could not find resource 'joint2' in 'hardware_interface::EffortJointInterface'. I checked rrbot_control.yamland rrbot.xacro, but of course there was a state about joint1 and joint2.

could you tell me where to check for?

thanks

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-10-30 03:29:36 -0500

Ryo_Amano gravatar image

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

Question Tools

2 followers

Stats

Asked: 2014-10-26 03:34:37 -0500

Seen: 3,264 times

Last updated: Oct 30 '14