Ask Your Question
0

Dynamic Footprint in Navigation

asked 2016-06-17 07:34:43 -0600

wassimhariri gravatar image

updated 2016-06-17 08:50:09 -0600

Dear all,

i want to ask if someone has an idea of how to make my footprint dynamic depending on the speed. So for example, if the robot is traveling with high speed, the footprint size should increase and vice versa. In my configuration files for navigation i am using DWA (same as the turtlebot config files), but it would be really nice to control the footprint dynamically.

Any help?

Thanks

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2016-06-17 16:11:29 -0600

In the documentation for the costmap_2d they mention that there is a subscription to the footprint topic. This led me to believe that you ought to be able to publish on one of the <costmap>/footprint and have everything be automatically updated. A quick test shows that this does appear to be the case (although I haven't thoroughly tested). In the source code you can see they do indeed subscribe to the topic, and that the subscribed footprint eventually changes the local attribute, and further, this eventually is published back to the topic.

Additionally, note that in the Trajectory scoring parameters of dwa_local_planner, they mention that there is a parameter to scale the size of the footprint based on how fast the robot is going. The actual implementation of this (which is easier to understand than the docs) is here. This may also fit your use case.

edit flag offensive delete link more

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: 2016-06-17 07:34:43 -0600

Seen: 981 times

Last updated: Jun 17 '16