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

movement without stopping on move_base goals

asked 2019-12-05 05:05:33 -0600

june2473 gravatar image

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

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

Comments

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

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

with using move_base goal, one after another

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

2 Answers

Sort by ยป oldest newest most voted
1

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

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
1

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

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

Comments

1

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 -0600 )edit

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

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

Question Tools

1 follower

Stats

Asked: 2019-12-05 05:05:33 -0600

Seen: 1,177 times

Last updated: Dec 06 '19