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

robot_arm not moving in Moveit but is moving in Gazebo

asked 2016-11-01 13:09:32 -0500

Josephlin gravatar image

updated 2016-11-01 13:15:21 -0500

HI! everyone! I have a robot model,and i want to get the joint_trajectory form moveit!,I use the Gazebo to publish the arm controller. Everything looks good,but When i set the goal and use plan and excute.Robot_arm not moving in Moveit but is working in Gazebo.

I think it is the problem about the topic /joint state did not receive anything.But I have another topic named robot/joint state published by arm controller or gazebo. I already saw the same problem but i still did not know how to solve this problem.

There have another problem after moveit compute the trajectory. Moveit always showed the warning : Controller /utlr_arm_controller failed with error code GOAL_TOLERANCE_VIOLATED Controller handle utl/r_arm_controller reports status ABORTED

In some articles tell me add the <param name="allowed_goal_duration_margin" value="5.0"/>,but it did not work!

Please help me to solve these two problems! and thanks for any help! I can provide any file you need to check! attach is the picture about the problem:picture

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2016-11-01 18:21:16 -0500

JoshMarino gravatar image

You need to remapic the topic /joint_states to /robot/joint_states in move_group.launch, inside the move_group node. I had this same problem as well and this worked just fine for me. You will need to change back to /joint_states though when running MoveIt! without the Gazebo simulation.

As for the other error, I just ignore it since the end position is nearly identical to the MoveIt! trajectory goal. Forgot where in the MoveIt! Google groups this was mentioned, but I looked into it as well.

edit flag offensive delete link more


Thank you very much! I also solve the problem too! If you have the any idea or answer about GOAL_TOLERANCE_VIOLATED. Please let me know! you can add a comment in this Question! or send the email.

Josephlin gravatar image Josephlin  ( 2016-11-02 05:09:45 -0500 )edit

Did you find a solution for GOAL_TOLERANCE_VIOLATED?

Deastan gravatar image Deastan  ( 2019-07-08 07:06:55 -0500 )edit

answered 2019-10-16 00:41:22 -0500

tanyouliang gravatar image

I answered it here. Hopefully this works for you.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2016-11-01 13:09:32 -0500

Seen: 1,101 times

Last updated: Oct 16 '19