Implementation details about costmap_2d package
Hello everyone,
I am a newbie in programming and ROS, so please pardon me if my queries sound naive.
I am working on using semantic information for robot navigation. I have a conceptual architecture ready and would like to implement it using ROS. For this as a beginning step what I would like to do is as follows:
Inflate each obstacle with different inflation radii, and not one common inflation radius set by user.
I am planning to implement an object of costmap_2d and write a method to fill in costs based on the inflation radius specified for that object.
However, since I am a beginner, I am not able to understand the implementation part. Like once the instance of costmap_2d is created in move_base (i guess) what are the implementation steps involved to fill it with cost values and finally publish it to the planner. Is there any documentation existing for the same? Or if some one could guide me with the same?
Thank you in advance and any help/suggestion would be highly appreciated.