ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

Within any layer, you can access the layered costmap object via

protected:
    LayeredCostmap* layered_costmap_;

You can use that object to get a particular layer with the code you linked above.