0
$\begingroup$

Rosanswers logo

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?


Originally posted by june2473 on ROS Answers with karma: 83 on 2019-12-05

Post score: 0


Original comments

Comment by Choco93 on 2019-12-05:
How are you handling going to multiple points (waypoints)?

Comment by june2473 on 2019-12-05:
with using move_base goal, one after another

$\endgroup$

2 Answers 2

0
$\begingroup$

Rosanswers logo

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.


Originally posted by ct2034 with karma: 862 on 2019-12-05

This answer was NOT ACCEPTED on the original site

Post score: 1


Original comments

Comment by stevemacenski on 2019-12-05:
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.

Comment by june2473 on 2020-01-14:
for example, how can I add midpoints to navfn global planner?

$\endgroup$
0
$\begingroup$

Rosanswers logo

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.


Originally posted by Choco93 with karma: 685 on 2019-12-06

This answer was NOT ACCEPTED on the original site

Post score: 1

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.