Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
costmap_cspace::Costmap3dLayerOutput Class Reference

#include <output.h>

Inheritance diagram for costmap_cspace::Costmap3dLayerOutput:
Inheritance graph
[legend]

Public Types

using Callback = boost::function< bool(const CSpace3DMsg::Ptr, const costmap_cspace_msgs::CSpace3DUpdate::Ptr)>
 
using Ptr = std::shared_ptr< Costmap3dLayerOutput >
 
- Public Types inherited from costmap_cspace::Costmap3dLayerBase
using Ptr = std::shared_ptr< Costmap3dLayerBase >
 

Public Member Functions

void loadConfig (XmlRpc::XmlRpcValue config)
 
void setHandler (Callback cb)
 
void setMapMetaData (const costmap_cspace_msgs::MapMetaData3D &info)
 
- Public Member Functions inherited from costmap_cspace::Costmap3dLayerBase
 Costmap3dLayerBase ()
 
int getAngularGrid () const
 
CSpace3DMsg::Ptr getMap ()
 
CSpace3DMsg::Ptr getMapOverlay ()
 
void processMapOverlay (const nav_msgs::OccupancyGrid::ConstPtr &msg)
 
void setAngleResolution (const int ang_resolution)
 
void setBaseMap (const nav_msgs::OccupancyGrid::ConstPtr &base_map)
 
void setChild (Costmap3dLayerBase::Ptr child)
 
void setMap (CSpace3DMsg::Ptr map)
 
void setOverlayMode (const MapOverlayMode overlay_mode)
 

Protected Member Functions

costmap_cspace_msgs::CSpace3DUpdate::Ptr generateUpdateMsg ()
 
int getRangeMax () const
 
bool updateChain (const bool output)
 
void updateCSpace (const nav_msgs::OccupancyGrid::ConstPtr &map, const UpdatedRegion &region)
 
- Protected Member Functions inherited from costmap_cspace::Costmap3dLayerBase
void setBaseMapChain ()
 
bool updateChainEntry (const UpdatedRegion &region, bool output=true)
 

Protected Attributes

Callback cb_
 
UpdatedRegion region_prev_
 
- Protected Attributes inherited from costmap_cspace::Costmap3dLayerBase
int ang_grid_
 
Costmap3dLayerBase::Ptr child_
 
CSpace3DMsg::Ptr map_
 
CSpace3DMsg::Ptr map_overlay_
 
nav_msgs::OccupancyGrid::ConstPtr map_updated_
 
MapOverlayMode overlay_mode_
 
UpdatedRegion region_
 
UpdatedRegion region_prev_
 
bool root_
 

Detailed Description

Definition at line 44 of file output.h.

Member Typedef Documentation

using costmap_cspace::Costmap3dLayerOutput::Callback = boost::function<bool(const CSpace3DMsg::Ptr, const costmap_cspace_msgs::CSpace3DUpdate::Ptr)>

Definition at line 48 of file output.h.

Definition at line 47 of file output.h.

Member Function Documentation

costmap_cspace_msgs::CSpace3DUpdate::Ptr costmap_cspace::Costmap3dLayerOutput::generateUpdateMsg ( )
inlineprotected

Definition at line 83 of file output.h.

int costmap_cspace::Costmap3dLayerOutput::getRangeMax ( ) const
inlineprotectedvirtual

Implements costmap_cspace::Costmap3dLayerBase.

Definition at line 67 of file output.h.

void costmap_cspace::Costmap3dLayerOutput::loadConfig ( XmlRpc::XmlRpcValue  config)
inlinevirtual

Implements costmap_cspace::Costmap3dLayerBase.

Definition at line 55 of file output.h.

void costmap_cspace::Costmap3dLayerOutput::setHandler ( Callback  cb)
inline

Definition at line 58 of file output.h.

void costmap_cspace::Costmap3dLayerOutput::setMapMetaData ( const costmap_cspace_msgs::MapMetaData3D &  info)
inlinevirtual

Implements costmap_cspace::Costmap3dLayerBase.

Definition at line 62 of file output.h.

bool costmap_cspace::Costmap3dLayerOutput::updateChain ( const bool  output)
inlineprotectedvirtual

Implements costmap_cspace::Costmap3dLayerBase.

Definition at line 71 of file output.h.

void costmap_cspace::Costmap3dLayerOutput::updateCSpace ( const nav_msgs::OccupancyGrid::ConstPtr &  map,
const UpdatedRegion region 
)
inlineprotectedvirtual

Implements costmap_cspace::Costmap3dLayerBase.

Definition at line 78 of file output.h.

Member Data Documentation

Callback costmap_cspace::Costmap3dLayerOutput::cb_
protected

Definition at line 51 of file output.h.

UpdatedRegion costmap_cspace::Costmap3dLayerOutput::region_prev_
protected

Definition at line 52 of file output.h.


The documentation for this class was generated from the following file:


costmap_cspace
Author(s): Atsushi Watanabe
autogenerated on Wed May 12 2021 02:20:29