getInflationRadius() no longer found in costmap_2d::Costmap2D (Navigation stack)

asked 2015-12-14 04:15:41 -0500

Reuben John gravatar image

updated 2015-12-14 22:34:22 -0500

I pulled some of the code from the carlikemodel (Ackermann steered navigation stack) and found that a lot of the code is either deprecated or obsolete. A lot of function references to members and functions in the navigation stack have been either been moved or removed since then. I have been able to update a lot of the references, however, I have come across some functions to which there are no viable alternatives that I can find. Specifically, there is a reference to the member function of getInflationRadius() from the object of costmap_2d::Costmap2DROS which does not exist in the form: inflation_radius_ = costmap_ros_->getInflationRadius().

On checking the costmap_2d::Costmap2D Class Reference, it apparently seems to exist getInflationRadius(). However, the latest Indigo Navigation stack no longer seems to have this function.

Other relevant information:

  • ROS distro: Indigo
  • I have compiled Navigation stack from source. I have checked out to the indigo-devel branch on commit 28a3f789e0e44413ebdddbbc09cb037f7f4b9720 I have not faced any issues compiling Navigation stack, and I have sourced it to the carlikemodel implementation without any issues.
  • Ubuntu 14.04

Please do mention if there is anything I may have missed out. Thanks in advance!

edit retag flag offensive close merge delete