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

MoveIt: Error: Action client not connected

asked 2018-08-22 04:44:52 -0600

Robo_Panda gravatar image

updated 2018-08-22 05:27:17 -0600

gvdhoorn gravatar image

On running move it for my custom robotic arm i am getting the following error

[ERROR] [1534930610.891287885, 28.494000000]: Action client not connected: uvbot_v1/arm_joint_controller/follow_joint_trajectory
[ERROR] [1534930610.891287885, 28.494000000]: Action client not connected: uvbot_v1/arm_joint_controller/follow_joint_trajectory

Can anyone explain how to setup action client? The tutorials are a bit sketchy.


Edit: these are the active action servers:

/execute_trajectory/goal
/move_group/goal
/pickup/goal
/place/goal
/uvbot_v1/arm_controller/follow_joint_trajectory/goal

is there a conflict btw execute_trajectory and follow_joint_trajectory

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
5

answered 2018-08-22 05:00:08 -0600

gvdhoorn gravatar image

updated 2018-08-22 06:06:20 -0600

You have to make sure that the MoveIt cofiguration (I'm assuming you're trying to configure MoveIt here, seeing your other questions) corresponds to whatever namespaces and names your action server(s) is (are) using.

That can sometimes be a bit difficult to figure out, but a simple way to get that information (in lieu of a command line actionlib tool) is something like:

rostopic list | grep -i goal

That should provide you with a list of online action servers.

If you've only got your robot driver (or ros_control or gazebo_ros_control stack) running, you should probably see only one or two results.

One of those will be the FollowJointTrajectory action server (you can use rostopic info /name/of/the/action/topic to find out).

Now use that name in your MoveIt controller configuration file.

For more information, see the Low Level Controllers page in the MoveIt documentation. That should make things more clear. Pay attention to the Debugging Information section: it contains an explanation of the differences between the name and action_ns fields, which typically confuse people.


Edit:

these are the active action servers:

/execute_trajectory/goal

This is probably the one you need (but this is a guess, as I don't know how you've setup your system).

/uvbot_v1/arm_controller/follow_joint_trajectory/goal

This is most likely not a server, but MoveIt's client that has created a publisher for that topic (as part of its action client). But as no one is listening, you get the error message that you already showed.

is there a conflict btw execute_trajectory and follow_joint_trajectory

I don't understand your question.

edit flag offensive delete link more

Comments

Do I need feedback from motor to complete the execution? How can i do this in simulation? I am getting this error: Didn't received robot state (joint angles) with recent timestamp within 1 seconds. I get that this is because the robot is not getting info about current state, how to proceed?

Robo_Panda gravatar image Robo_Panda  ( 2018-08-22 05:55:37 -0600 )edit

These are completely different issues, and not related to the configuration of the action client at all.

If you already have questions about these issues, update those if necessary. If not, post a new question.

Posting follow-up questions in comments like this is not a good practice.

gvdhoorn gravatar image gvdhoorn  ( 2018-08-22 06:05:32 -0600 )edit

Okay I'll do that. I did not know about this guideline. Anyways I've solved this issue by modifying the moveit trajectory execution launch file. Thanks for the help.

Robo_Panda gravatar image Robo_Panda  ( 2018-08-22 06:37:51 -0600 )edit

Anyways I've solved this issue by modifying the moveit trajectory execution launch file.

the launch file?

Not the controller configuration yaml?

gvdhoorn gravatar image gvdhoorn  ( 2018-08-22 07:00:47 -0600 )edit

Yes the launch file, as the name of the controller was different in both the files.

Robo_Panda gravatar image Robo_Panda  ( 2018-08-22 08:37:14 -0600 )edit
0

answered 2020-05-08 09:59:39 -0600

hey..... i was getting the same error ..[ERROR] [1534930610.891287885, 28.494000000]: Action client not connected: arm_controller/follow_joint_trajectory
so after scratching my head for a long time i modified the controllers.yaml file present in moveit_config. i changed the action_ns to arm_controller/follow_joint_trajectory. i.e. action_ns: arm_controller/follow_joint_trajectory. so in your case it has to be action_ns : uvbot_v1/arm_joint_controller/follow_joint_trajectory. this did the trick for me..

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2018-08-22 04:44:52 -0600

Seen: 4,534 times

Last updated: Aug 22 '18