Robotics StackExchange | Archived questions

Costmap2DROS::getRobotFootprint() vs Costmap2DROS::getOrientedFootprint()

I was going through Costmap2DROS documentation. What is the difference between getOrientedFootprint() and getRobotFootprint() methods?

Asked by skpro19 on 2021-06-15 11:03:41 UTC

Comments

Answers

As far as I remember, getRobotFootprint() returns the originally-defined footprint i.e. with a z-axis rotation of 0 in the base_link frame. But getOrientedFootprint() transforms the original footprint using the base_link's current rotation within the map frame. The oriented footprint is useful if you want to determine exactly which costmap cells the robot is on top of, or to calculate the minimum distance from the footprint boundary to some obstacle.

Asked by Mike Scheutzow on 2021-06-20 11:35:56 UTC

Comments