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

actionlib axclient always disconnected from server

asked 2021-04-08 05:47:32 -0600

Bernat Gaston gravatar image

Hi all,

I am trying to run an action using my computer as a client and a robot as a server. I am using the actionlib axclient for that. In my computer I can see the topic I want to use

rostopic info /navigation_wp/goal
Type: navigation_wp/NavigateActionGoal

Publishers: None

 * /navigation_wp (http://<robot_host>:39727/)

However when I use the axclient it always says that I am disconnected from the client and I can not send any goal

rosrun actionlib /navigation_wp/goal

See picture attached C:\fakepath\axclient.png

Also, I have checked that my bashrc is correctly set

export ROS_MASTER_URI=""

which is the IP of the robot

Any clue?


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2021-04-11 03:29:19 -0600

marguedas gravatar image

I faced a similar issue on ROS Noetic.

I noticed my server nodes were advertized as http://<HOST_NAME>:<portname> I didnt look into the cause of the problem but defining a ROS_IP on my server so that the nodes show up as http://<HOST_IP>:<portname>. (I do not remember if I had to set a ROS_IP on the client as well, so maybe you'll need to do that too).

Maybe this will solve your problem too ?

edit flag offensive delete link more


yes, the problem was the ip on the server. Thanks!

Bernat Gaston gravatar image Bernat Gaston  ( 2021-04-21 05:49:57 -0600 )edit

Question Tools

1 follower


Asked: 2021-04-08 05:47:32 -0600

Seen: 333 times

Last updated: Apr 11 '21