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

Is there a way the robot go through goal point without stopping?

asked 2020-09-14 23:39:23 -0600

ayato gravatar image

Hello,

I want to limit the travel path of the robot to some extent.
So, I set goal minutely and published the goals to move_base using SimpleActionServer.

This plan was successful that the robot go through the route I envisioned, but the robot stopped at each goal points.

Is there a way the robot go through goal point without stopping?

I've found that teb_local_plannner has a parameter called free_goal_vel, which seems to be close to what I want.
But I don't want to use teb_local_plannner, because teb_local_plannner seems to retreat frequently.
Now I use base_local_planner.

Thanks in advance.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2020-09-15 07:30:14 -0600

fergs gravatar image

There isn't a super clean way to do this - but you can approximate this behavior. Have the node that is sending goals to move_base monitor the progress and when you get "close" to your previously sent goal, send the next goal. The new goal will supersede the old one seamlessly. You can determine the robot's position either through TF or by monitoring the feedback topic of the move_base action.

edit flag offensive delete link more

Comments

Thank you @fergs. I will try to implement node the way you taught me.

ayato gravatar image ayato  ( 2020-09-22 21:58:54 -0600 )edit

This kind of logic is implemented in yocs_waypoints_navi package so you can take a look there.

Thazz gravatar image Thazz  ( 2020-09-23 08:35:33 -0600 )edit
1

answered 2020-09-23 08:39:49 -0600

Thazz gravatar image

Another way to do this is using move_base_flex package. There you have GetPath action which returns path generated by global planner between 2 points.

Then you can iterate through all your goal points and get path between each 2 points. At the end you concatenate all these partial paths into single final path from first to last waypoint and call local planner on this path.

edit flag offensive delete link more

Question Tools

3 followers

Stats

Asked: 2020-09-14 23:39:23 -0600

Seen: 341 times

Last updated: Sep 23 '20