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

Error when using moveit alongside gazebo

asked 2017-08-28 15:55:48 -0500

MohammedHyder gravatar image

updated 2017-09-12 13:20:46 -0500

When trying to execute a successfully planned path in gazebo the execution fails and the following warning appears:

[ WARN] [1503953317.867847912, 22.680000000]: Failed to validate trajectory: couldn't receive full current joint state within 1s

I am using rviz moveIt plug-in

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-09-12 18:12:23 -0500

jayess gravatar image

With the (lack of) information given, I can't say for sure. But, from the warning that you posted there's a timeout issue.Your model may not be publishing the joint states on the correct topic. From @gvdhoorn's comment on this answer, you can try making

sure that joint_state_publisher gathers the JointStates published on /move_group/fake_controller_joint_states and republishes them on /joint_states.

with

<node name="joint_state_publisher" pkg="joint_state_publisher" type="joint_state_publisher">
    <param name="/use_gui" value="false"/>
    <rosparam param="/source_list">[/move_group/fake_controller_joint_states]</rosparam>
</node>

You can always use a Google search of ROS Answers and the error which will give many results.

edit flag offensive delete link more

Comments

Thanks jayess ,it works properly after adding this node tag to the launch file. Thank you very much!!!. Sorry for coming late but i have seen your answer few minutes ago.

MohammedHyder gravatar image MohammedHyder  ( 2017-09-15 04:29:34 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2017-08-28 15:55:48 -0500

Seen: 223 times

Last updated: Sep 12 '17