problem with move_base and server connection
Hi all,
I'm having trouble with the "simple goals sending" in the navigation stack. I set up the navigation stack as suggested in the tutorials. I'm using a laser scanner and amcl to localize in a known environment. The navigation stack (without the "simple goals sending" action) is working well and I'm able to display on rviz the map, the robot position and the related particle clouds, costmaps etc and the localization is fine if I teleop the robot. However, If I create and run a node as described in the navigation tutorial SendingSimpleGoals I got the following behaviors:
99% of tests, the MoveBaseClient cannot connect to the server (I got the "Waiting for the move_base action server to come up" message for minutes).
In the remaining 1% of the tests which happens only if (but not if) the
simple_navigation_goals
node is run before starting the navigation stack, MoveBaseClient managed to connect to the server (but after awhile), then sendGoal is invoked but no motion, and no return fromrostopic echo /move_base/goal
.
Am I missing something? Any suggestion?
Many thanks
Asked by Federico on 2014-06-30 18:12:55 UTC
Comments
Are you running move_base and the action client node on the same computer or on separate computers?
Asked by ahendrix on 2014-06-30 18:36:34 UTC
I'm running roscore, the base_controller and the hokuyo_node the robot. I run amcl+move_base+action client node on my laptop. In one trial I received this errors/warns.
[Error] Extrapolation Error looking up robot pose: Lookup would require extrapolation into the past. Requested time 1404204525.078275750 but the earliest data is at time 1404204525.378564581, when looking up transform from frame [base_footprint] to frame [map].
and then many of these warning messages
[ WARN] : Unable to get starting pose of robot, unable to create global plan
Asked by Federico on 2014-07-01 03:45:23 UTC
I understand the problem. It's a networking issue. Indeed, I can ping the robot from my laptop and viceversa. From my laptop I can see the messages published by the robot but I can't echo the messages published by my laptop on the robot.
Asked by Federico on 2014-07-01 05:12:54 UTC
Did you set ROS_MASTER_URI and ROS_IP correctly?
Asked by BennyRe on 2014-07-01 07:53:26 UTC
Hi! I have a similar problem when trying to run navigation stack with RTABmap. I am running it on RPi3 and trying to visualize with Rviz on my laptop over WiFi. I get error "Cannot connect to move_base action server!" Any suggestions? Thanks.
Asked by Dox on 2018-03-28 13:27:25 UTC
@Dox please ask a new question.
Asked by ahendrix on 2018-03-28 15:56:50 UTC
Hi, I;m also facing this issue, getting "Waiting for the move_base action server to come up". I am running all nodes on same laptop.
gazebo + jackal_sim_robot + jackal_sim_mec + jackal_lnav (this contain amcl and move_base) + simple_navigation_goal node. simple navigation goal node is used from link: http://wiki.ros.org/navigation/Tutorials/SendingSimpleGoals
I am able to navigate robot in rviz but when i run simple_navigation_goal node , it print log "Waiting for the move_base action server to come up". ! Please help.
Asked by troyelex on 2021-08-20 05:30:28 UTC