Public Member Functions | Private Member Functions | Private Attributes
furniture_layer_namespace::FurnitureLayer Class Reference

#include <furniture_layer.h>

Inheritance diagram for furniture_layer_namespace::FurnitureLayer:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 FurnitureLayer ()
bool isDiscretized ()
virtual void matchSize ()
virtual void onInitialize ()
virtual void updateBounds (double robot_x, double robot_y, double robot_yaw, double *min_x, double *min_y, double *max_x, double *max_y)
virtual void updateCosts (costmap_2d::Costmap2D &master_grid, int min_i, int min_j, int max_i, int max_j)

Private Member Functions

void getInitialObstacles ()
 update map with initial positions of furniture obstacles
void reconfigureCB (costmap_2d::GenericPluginConfig &config, uint32_t level)
void updateFurnitureCallback (const rail_ceiling::Obstacles::ConstPtr &obs)
 update furniture polygons for use in localization and navigation/path planning

Private Attributes

dynamic_reconfigure::Server
< costmap_2d::GenericPluginConfig > * 
dsrv_
ros::ServiceClient initialObstaclesClient
ros::Publisher localizationGridPublisher
std::vector
< rail_ceiling::Obstacle > 
localizationObstacles
ros::Publisher localObstaclesPublisher
ros::NodeHandle n
std::vector
< rail_ceiling::Obstacle > 
navigationObstacles
ros::Subscriber obstacleSubscriber
double prevMaxX
double prevMaxY
double prevMinX
double prevMinY
bool updateReceived

Detailed Description

Definition at line 28 of file furniture_layer.h.


Constructor & Destructor Documentation

Definition at line 26 of file furniture_layer.cpp.


Member Function Documentation

update map with initial positions of furniture obstacles

Any updates from a furniture tracking node that occur before navigation is started will also be received using this function.

Definition at line 60 of file furniture_layer.cpp.

Definition at line 36 of file furniture_layer.h.

Reimplemented from costmap_2d::Layer.

Definition at line 151 of file furniture_layer.cpp.

Reimplemented from costmap_2d::Layer.

Definition at line 28 of file furniture_layer.cpp.

void furniture_layer_namespace::FurnitureLayer::reconfigureCB ( costmap_2d::GenericPluginConfig &  config,
uint32_t  level 
) [private]

Definition at line 158 of file furniture_layer.cpp.

void furniture_layer_namespace::FurnitureLayer::updateBounds ( double  robot_x,
double  robot_y,
double  robot_yaw,
double *  min_x,
double *  min_y,
double *  max_x,
double *  max_y 
) [virtual]

Reimplemented from costmap_2d::Layer.

Definition at line 163 of file furniture_layer.cpp.

void furniture_layer_namespace::FurnitureLayer::updateCosts ( costmap_2d::Costmap2D master_grid,
int  min_i,
int  min_j,
int  max_i,
int  max_j 
) [virtual]

Reimplemented from costmap_2d::Layer.

Definition at line 318 of file furniture_layer.cpp.

void furniture_layer_namespace::FurnitureLayer::updateFurnitureCallback ( const rail_ceiling::Obstacles::ConstPtr &  obs) [private]

update furniture polygons for use in localization and navigation/path planning

Parameters:
obslist of obstacle polygons with associated ids

Definition at line 105 of file furniture_layer.cpp.


Member Data Documentation

dynamic_reconfigure::Server<costmap_2d::GenericPluginConfig>* furniture_layer_namespace::FurnitureLayer::dsrv_ [private]

Definition at line 45 of file furniture_layer.h.

Definition at line 68 of file furniture_layer.h.

Definition at line 65 of file furniture_layer.h.

std::vector<rail_ceiling::Obstacle> furniture_layer_namespace::FurnitureLayer::localizationObstacles [private]

Definition at line 72 of file furniture_layer.h.

Definition at line 66 of file furniture_layer.h.

Definition at line 62 of file furniture_layer.h.

std::vector<rail_ceiling::Obstacle> furniture_layer_namespace::FurnitureLayer::navigationObstacles [private]

Definition at line 71 of file furniture_layer.h.

Definition at line 64 of file furniture_layer.h.

Definition at line 75 of file furniture_layer.h.

Definition at line 76 of file furniture_layer.h.

Definition at line 77 of file furniture_layer.h.

Definition at line 78 of file furniture_layer.h.

Definition at line 70 of file furniture_layer.h.


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


carl_navigation
Author(s): Russell Toris , David Kent
autogenerated on Sat Jun 8 2019 20:26:04