35 #ifndef NAV_CORE_ADAPTER_COSTMAP_ADAPTER_H 36 #define NAV_CORE_ADAPTER_COSTMAP_ADAPTER_H 67 void reset()
override;
69 void setValue(
const unsigned int x,
const unsigned int y,
const unsigned char& value)
override;
70 unsigned char getValue(
const unsigned int x,
const unsigned int y)
const override;
85 #endif // NAV_CORE_ADAPTER_COSTMAP_ADAPTER_H nav_grid::NavGridInfo infoFromCostmap(costmap_2d::Costmap2DROS *costmap_ros)
void initialize(costmap_2d::Costmap2DROS *costmap_ros, bool needs_destruction=false)
Initialize from an existing Costmap2DROS object.
TFSIMD_FORCE_INLINE const tfScalar & y() const
virtual ~CostmapAdapter()
Deconstructor for possibly freeing the costmap_ros_ object.
costmap_2d::Costmap2D * costmap_
boost::recursive_mutex mutex_t
TFSIMD_FORCE_INLINE const tfScalar & x() const
void setInfo(const nav_grid::NavGridInfo &new_info) override
unsigned char getValue(const unsigned int x, const unsigned int y) const override
void updateInfo(const nav_grid::NavGridInfo &new_info) override
costmap_2d::Costmap2DROS * costmap_ros_
std::shared_ptr< tf::TransformListener > TFListenerPtr
costmap_2d::Costmap2DROS * getCostmap2DROS() const
void setValue(const unsigned int x, const unsigned int y, const unsigned char &value) override
nav_core2::Costmap::mutex_t * getMutex() override