#include <OctomapServerMultilayer.h>
Classes | |
struct | ProjectedMap |
Public Member Functions | |
void | attachedCallback (const arm_navigation_msgs::AttachedCollisionObjectConstPtr &msg) |
OctomapServerMultilayer (ros::NodeHandle private_nh_=ros::NodeHandle("~")) | |
virtual | ~OctomapServerMultilayer () |
Protected Types | |
typedef std::vector< ProjectedMap > | MultilevelGrid |
Protected Member Functions | |
virtual void | handlePostNodeTraversal (const ros::Time &rostime) |
hook that is called after traversing all nodes | |
virtual void | handlePreNodeTraversal (const ros::Time &rostime) |
hook that is called after traversing all nodes | |
virtual void | update2DMap (const OcTreeT::iterator &it, bool occupied) |
updates the downprojected 2D map as either occupied or free | |
Protected Attributes | |
std::vector< double > | m_armLinkOffsets |
std::vector< std::string > | m_armLinks |
std::string | m_attachedFrame |
double | m_attachedMaxOffset |
double | m_attachedMinOffset |
ros::Subscriber | m_attachedObjectsSub |
bool | m_haveAttachedObject |
MultilevelGrid | m_multiGridmap |
std::vector< ros::Publisher * > | m_multiMapPub |
Definition at line 36 of file OctomapServerMultilayer.h.
typedef std::vector<ProjectedMap> octomap_server::OctomapServerMultilayer::MultilevelGrid [protected] |
Definition at line 51 of file OctomapServerMultilayer.h.
octomap_server::OctomapServerMultilayer::OctomapServerMultilayer | ( | ros::NodeHandle | private_nh_ = ros::NodeHandle("~") | ) |
Definition at line 38 of file OctomapServerMultilayer.cpp.
Definition at line 97 of file OctomapServerMultilayer.cpp.
void octomap_server::OctomapServerMultilayer::attachedCallback | ( | const arm_navigation_msgs::AttachedCollisionObjectConstPtr & | msg | ) |
Definition at line 104 of file OctomapServerMultilayer.cpp.
void octomap_server::OctomapServerMultilayer::handlePostNodeTraversal | ( | const ros::Time & | rostime | ) | [protected, virtual] |
hook that is called after traversing all nodes
Reimplemented from octomap_server::OctomapServer.
Definition at line 182 of file OctomapServerMultilayer.cpp.
void octomap_server::OctomapServerMultilayer::handlePreNodeTraversal | ( | const ros::Time & | rostime | ) | [protected, virtual] |
hook that is called after traversing all nodes
Reimplemented from octomap_server::OctomapServer.
Definition at line 114 of file OctomapServerMultilayer.cpp.
void octomap_server::OctomapServerMultilayer::update2DMap | ( | const OcTreeT::iterator & | it, |
bool | occupied | ||
) | [protected, virtual] |
updates the downprojected 2D map as either occupied or free
Reimplemented from octomap_server::OctomapServer.
Definition at line 227 of file OctomapServerMultilayer.cpp.
std::vector<double> octomap_server::OctomapServerMultilayer::m_armLinkOffsets [protected] |
Definition at line 70 of file OctomapServerMultilayer.h.
std::vector<std::string> octomap_server::OctomapServerMultilayer::m_armLinks [protected] |
Definition at line 69 of file OctomapServerMultilayer.h.
std::string octomap_server::OctomapServerMultilayer::m_attachedFrame [protected] |
Definition at line 65 of file OctomapServerMultilayer.h.
double octomap_server::OctomapServerMultilayer::m_attachedMaxOffset [protected] |
Definition at line 66 of file OctomapServerMultilayer.h.
double octomap_server::OctomapServerMultilayer::m_attachedMinOffset [protected] |
Definition at line 67 of file OctomapServerMultilayer.h.
Definition at line 63 of file OctomapServerMultilayer.h.
bool octomap_server::OctomapServerMultilayer::m_haveAttachedObject [protected] |
Definition at line 68 of file OctomapServerMultilayer.h.
Definition at line 72 of file OctomapServerMultilayer.h.
std::vector<ros::Publisher*> octomap_server::OctomapServerMultilayer::m_multiMapPub [protected] |
Definition at line 62 of file OctomapServerMultilayer.h.