#include <furniture_layer.h>
Public Member Functions | |
FurnitureLayerLocal () | |
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 | reconfigureCB (costmap_2d::GenericPluginConfig &config, uint32_t level) |
void | updateObstaclePointsCallback (const carl_navigation::BlockedCells::ConstPtr &obs) |
update obstacle cells for filling in the local map | |
Private Attributes | |
dynamic_reconfigure::Server < costmap_2d::GenericPluginConfig > * | dsrv_ |
double | mark_x |
double | mark_y |
ros::NodeHandle | n |
std::vector< geometry_msgs::Point > | obstaclePoints |
ros::Subscriber | obstaclePointsSubscriber |
double | prevMaxX |
double | prevMaxY |
double | prevMinX |
double | prevMinY |
tf::TransformListener | tfListener |
std::vector< geometry_msgs::Point > | transformedPoints |
Definition at line 82 of file furniture_layer.h.
Definition at line 338 of file furniture_layer.cpp.
bool furniture_layer_namespace::FurnitureLayerLocal::isDiscretized | ( | ) | [inline] |
Definition at line 90 of file furniture_layer.h.
void furniture_layer_namespace::FurnitureLayerLocal::matchSize | ( | ) | [virtual] |
Reimplemented from costmap_2d::Layer.
Definition at line 372 of file furniture_layer.cpp.
void furniture_layer_namespace::FurnitureLayerLocal::onInitialize | ( | ) | [virtual] |
Reimplemented from costmap_2d::Layer.
Definition at line 340 of file furniture_layer.cpp.
void furniture_layer_namespace::FurnitureLayerLocal::reconfigureCB | ( | costmap_2d::GenericPluginConfig & | config, |
uint32_t | level | ||
) | [private] |
Definition at line 379 of file furniture_layer.cpp.
void furniture_layer_namespace::FurnitureLayerLocal::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 384 of file furniture_layer.cpp.
void furniture_layer_namespace::FurnitureLayerLocal::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 417 of file furniture_layer.cpp.
void furniture_layer_namespace::FurnitureLayerLocal::updateObstaclePointsCallback | ( | const carl_navigation::BlockedCells::ConstPtr & | obs | ) | [private] |
update obstacle cells for filling in the local map
obs | list of obstacle points in the /odom frame |
Definition at line 360 of file furniture_layer.cpp.
dynamic_reconfigure::Server<costmap_2d::GenericPluginConfig>* furniture_layer_namespace::FurnitureLayerLocal::dsrv_ [private] |
Definition at line 99 of file furniture_layer.h.
double furniture_layer_namespace::FurnitureLayerLocal::mark_x [private] |
Definition at line 117 of file furniture_layer.h.
double furniture_layer_namespace::FurnitureLayerLocal::mark_y [private] |
Definition at line 117 of file furniture_layer.h.
Definition at line 108 of file furniture_layer.h.
std::vector<geometry_msgs::Point> furniture_layer_namespace::FurnitureLayerLocal::obstaclePoints [private] |
Definition at line 112 of file furniture_layer.h.
Definition at line 110 of file furniture_layer.h.
double furniture_layer_namespace::FurnitureLayerLocal::prevMaxX [private] |
Definition at line 120 of file furniture_layer.h.
double furniture_layer_namespace::FurnitureLayerLocal::prevMaxY [private] |
Definition at line 121 of file furniture_layer.h.
double furniture_layer_namespace::FurnitureLayerLocal::prevMinX [private] |
Definition at line 122 of file furniture_layer.h.
double furniture_layer_namespace::FurnitureLayerLocal::prevMinY [private] |
Definition at line 123 of file furniture_layer.h.
Definition at line 115 of file furniture_layer.h.
std::vector<geometry_msgs::Point> furniture_layer_namespace::FurnitureLayerLocal::transformedPoints [private] |
Definition at line 113 of file furniture_layer.h.