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

movement without stopping on move_base goals

asked 2019-12-05 05:05:33 -0500

june2473 gravatar image

updated 2019-12-05 05:06:02 -0500

I have mobile robot, I use move_base. I have positions sequence on 2d map. I want robot to visit this positions and make photo for example, but I dont want him to stop in that points. Maybe just a little slowing down of speed.

The simplest idea is to make this points as goals for move_base. But here is the problem, that robot fully stops in this points and then going to the next goal.

What can I do with it? Do you have any ideas how to move robot with visiting points without stopping on them?

How am I supposed to solve this kind of problem? Writing my own script?

edit retag flag offensive close merge delete


How are you handling going to multiple points (waypoints)?

Choco93 gravatar image Choco93  ( 2019-12-05 07:22:16 -0500 )edit

with using move_base goal, one after another

june2473 gravatar image june2473  ( 2019-12-05 12:29:46 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2019-12-05 08:44:51 -0500

ct2034 gravatar image

A rather ad-hoc solution would be to write a script, that sends the next goal always shortly before the current goal is reached. This would be fairly universal and work with any planner that implements the basic move_base actionlib behaviours correctly.

But a cleaner solution would be to write your own global planner plugin. To my knowledge there is no planner that supports that but I would be happy to learn otherwise.

edit flag offensive delete link more



I'm sure someone's written one, but I don't have an example to show. However I'd bringup up that you want to go to a bunch of waypoints with continuous velocity and positioning, there's very good motion planning techniques that respect midpoints.

stevemacenski gravatar image stevemacenski  ( 2019-12-05 10:50:56 -0500 )edit

for example, how can I add midpoints to navfn global planner?

june2473 gravatar image june2473  ( 2020-01-14 03:23:36 -0500 )edit

answered 2019-12-06 02:53:10 -0500

Choco93 gravatar image

You can take a look at follow_waypoints, this can solve some of your troubles. Other question regarding how not to stop at waypoint, you can modify this package to publish new goal when in certain range of previous goal. Or you can modify a local_planner to not to stop, but reduce velocity when in certain radius of goal.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2019-12-05 05:05:33 -0500

Seen: 1,047 times

Last updated: Dec 06 '19