Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes | List of all members
nav_layer_from_points::NavLayerFromPoints Class Reference

#include <costmap_layer.h>

Inheritance diagram for nav_layer_from_points::NavLayerFromPoints:
Inheritance graph
[legend]

Public Member Functions

bool isDiscretized ()
 
 NavLayerFromPoints ()
 
void onInitialize () override
 
void updateBounds (double origin_x, double origin_y, double origin_z, double *min_x, double *min_y, double *max_x, double *max_y) override
 
void updateBoundsFromPoints (double *min_x, double *min_y, double *max_x, double *max_y)
 
void updateCosts (costmap_2d::Costmap2D &master_grid, int min_i, int min_j, int max_i, int max_j) override
 
- Public Member Functions inherited from costmap_2d::Layer
virtual void activate ()
 
virtual void deactivate ()
 
const std::vector< geometry_msgs::Point > & getFootprint () const
 
std::string getName () const
 
void initialize (LayeredCostmap *parent, std::string name, tf::TransformListener *tf)
 
bool isCurrent () const
 
 Layer ()
 
virtual void matchSize ()
 
virtual void onFootprintChanged ()
 
virtual void reset ()
 
virtual ~Layer ()
 

Protected Member Functions

void clearTransformedPoints ()
 clearTransformedPoints clears points from list transformed_points_ after some time More...
 
void configure (NavLayerFromPointsConfig &config, uint32_t level)
 
void pointsCallback (const depth_nav_msgs::Point32List &points)
 

Protected Attributes

bool first_time_
 
double last_max_x_
 
double last_max_y_
 
double last_min_x_
 
double last_min_y_
 
boost::recursive_mutex lock_
 
ros::Duration points_keep_time_
 
depth_nav_msgs::Point32List points_list_
 List of received points. More...
 
ros::Subscriber sub_points_
 Subscriber for points. More...
 
tf::TransformListener tf_
 
std::list< geometry_msgs::PointStamped > transformed_points_
 
- Protected Attributes inherited from costmap_2d::Layer
bool current_
 
bool enabled_
 
LayeredCostmaplayered_costmap_
 
std::string name_
 
tf::TransformListenertf_
 

Private Attributes

dynamic_reconfigure::Server< NavLayerFromPointsConfig >::CallbackType f_
 
double point_radius_
 
dynamic_reconfigure::Server< NavLayerFromPointsConfig > * rec_server_
 
double robot_radius_
 

Detailed Description

Definition at line 27 of file costmap_layer.h.

Constructor & Destructor Documentation

nav_layer_from_points::NavLayerFromPoints::NavLayerFromPoints ( )
inline

Definition at line 30 of file costmap_layer.h.

Member Function Documentation

void nav_layer_from_points::NavLayerFromPoints::clearTransformedPoints ( )
protected

clearTransformedPoints clears points from list transformed_points_ after some time

Definition at line 39 of file costmap_layer.cpp.

void nav_layer_from_points::NavLayerFromPoints::configure ( NavLayerFromPointsConfig &  config,
uint32_t  level 
)
protected

Definition at line 26 of file costmap_layer.cpp.

bool nav_layer_from_points::NavLayerFromPoints::isDiscretized ( )
inline

Definition at line 43 of file costmap_layer.h.

void nav_layer_from_points::NavLayerFromPoints::onInitialize ( )
overridevirtual

Reimplemented from costmap_2d::Layer.

Definition at line 13 of file costmap_layer.cpp.

void nav_layer_from_points::NavLayerFromPoints::pointsCallback ( const depth_nav_msgs::Point32List &  points)
protected

Definition at line 34 of file costmap_layer.cpp.

void nav_layer_from_points::NavLayerFromPoints::updateBounds ( double  origin_x,
double  origin_y,
double  origin_z,
double *  min_x,
double *  min_y,
double *  max_x,
double *  max_y 
)
overridevirtual

Reimplemented from costmap_2d::Layer.

Definition at line 56 of file costmap_layer.cpp.

void nav_layer_from_points::NavLayerFromPoints::updateBoundsFromPoints ( double *  min_x,
double *  min_y,
double *  max_x,
double *  max_y 
)

Definition at line 132 of file costmap_layer.cpp.

void nav_layer_from_points::NavLayerFromPoints::updateCosts ( costmap_2d::Costmap2D master_grid,
int  min_i,
int  min_j,
int  max_i,
int  max_j 
)
overridevirtual

Reimplemented from costmap_2d::Layer.

Definition at line 147 of file costmap_layer.cpp.

Member Data Documentation

dynamic_reconfigure::Server<NavLayerFromPointsConfig>::CallbackType nav_layer_from_points::NavLayerFromPoints::f_
private

Definition at line 77 of file costmap_layer.h.

bool nav_layer_from_points::NavLayerFromPoints::first_time_
protected

Definition at line 68 of file costmap_layer.h.

double nav_layer_from_points::NavLayerFromPoints::last_max_x_
protected

Definition at line 69 of file costmap_layer.h.

double nav_layer_from_points::NavLayerFromPoints::last_max_y_
protected

Definition at line 69 of file costmap_layer.h.

double nav_layer_from_points::NavLayerFromPoints::last_min_x_
protected

Definition at line 69 of file costmap_layer.h.

double nav_layer_from_points::NavLayerFromPoints::last_min_y_
protected

Definition at line 69 of file costmap_layer.h.

boost::recursive_mutex nav_layer_from_points::NavLayerFromPoints::lock_
protected

Definition at line 67 of file costmap_layer.h.

double nav_layer_from_points::NavLayerFromPoints::point_radius_
private

Definition at line 73 of file costmap_layer.h.

ros::Duration nav_layer_from_points::NavLayerFromPoints::points_keep_time_
protected

Definition at line 65 of file costmap_layer.h.

depth_nav_msgs::Point32List nav_layer_from_points::NavLayerFromPoints::points_list_
protected

List of received points.

Definition at line 58 of file costmap_layer.h.

dynamic_reconfigure::Server<NavLayerFromPointsConfig>* nav_layer_from_points::NavLayerFromPoints::rec_server_
private

Definition at line 76 of file costmap_layer.h.

double nav_layer_from_points::NavLayerFromPoints::robot_radius_
private

Definition at line 74 of file costmap_layer.h.

ros::Subscriber nav_layer_from_points::NavLayerFromPoints::sub_points_
protected

Subscriber for points.

Definition at line 57 of file costmap_layer.h.

tf::TransformListener nav_layer_from_points::NavLayerFromPoints::tf_
protected

Definition at line 60 of file costmap_layer.h.

std::list<geometry_msgs::PointStamped> nav_layer_from_points::NavLayerFromPoints::transformed_points_
protected

Definition at line 62 of file costmap_layer.h.


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


nav_layer_from_points
Author(s): Michal Drwiega (http://www.mdrwiega.com)
autogenerated on Wed May 5 2021 02:56:19