Ask Your Question
0

Replace move_base planners with a real-time algorithm

asked 2014-07-31 23:25:22 -0600

Kasra gravatar image

Hello everyone,

I'm currently using move_base and it works fine for me. I'm going to write my own planner based on a real-time planning algorithm. As you know in the real-time search there is no complete path to the goal because we need to decide what action to take soon. So we search forward until s time limit is reached, then the path with minimum cost is selected and this cycle repeats until we reach the goal (there is no guarantee that the path is optimum). So I think I need to wipe out local_planner and global_planner and replace them with only one real-time algorithm. I took a look at the move_base code ( https://github.com/ros-planning/navig... ) and it looks so confusing to me. I don't know where should I start and what parts of the code should be replaced or removed. I appreciate your help in advance.

edit retag flag offensive close merge delete

Comments

What parts of move_base would you like to retain?

David Lu gravatar image David Lu  ( 2014-08-01 10:28:10 -0600 )edit

I think I can keep cost maps for a real-time planner and only wipe out global and local planners.

Kasra gravatar image Kasra  ( 2014-08-01 13:51:01 -0600 )edit

1 Answer

Sort by » oldest newest most voted
2

answered 2014-08-01 14:11:22 -0600

David Lu gravatar image

If all you want to keep is the costmap, I would suggest starting with something simpler like costmap_node or perhaps the global_planner_node.

edit flag offensive delete link more

Comments

I just realized that I need to wipe out also cost maps and write my own environment tracker system. So most of the move_base is gone. I only need to use amcl for localization and then write my own planner. Still I don't have a clear idea of how should I do that! Thanks

Kasra gravatar image Kasra  ( 2014-08-01 16:17:34 -0600 )edit
1

AMCL is usually run in a separate node from move_base, so that part should be easy to separate.

David Lu gravatar image David Lu  ( 2014-08-01 16:57:56 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2014-07-31 23:25:22 -0600

Seen: 254 times

Last updated: Aug 01 '14