#include <social_layer.h>
Public Member Functions | |
bool | isDiscretized () |
virtual void | onInitialize () |
SocialLayer () | |
virtual void | updateBounds (double origin_x, double origin_y, double origin_yaw, double *min_x, double *min_y, double *max_x, double *max_y) |
virtual void | updateBoundsFromPeople (double *min_x, double *min_y, double *max_x, double *max_y)=0 |
virtual void | updateCosts (costmap_2d::Costmap2D &master_grid, int min_i, int min_j, int max_i, int max_j)=0 |
Protected Member Functions | |
void | peopleCallback (const people_msgs::People &people) |
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 | people_keep_time_ |
people_msgs::People | people_list_ |
ros::Subscriber | people_sub_ |
tf::TransformListener | tf_ |
std::list< people_msgs::Person > | transformed_people_ |
Definition at line 11 of file social_layer.h.
social_navigation_layers::SocialLayer::SocialLayer | ( | ) | [inline] |
Definition at line 14 of file social_layer.h.
bool social_navigation_layers::SocialLayer::isDiscretized | ( | ) | [inline] |
Definition at line 22 of file social_layer.h.
void social_navigation_layers::SocialLayer::onInitialize | ( | ) | [virtual] |
Reimplemented from costmap_2d::Layer.
Reimplemented in social_navigation_layers::ProxemicLayer.
Definition at line 12 of file social_layer.cpp.
void social_navigation_layers::SocialLayer::peopleCallback | ( | const people_msgs::People & | people | ) | [protected] |
Definition at line 20 of file social_layer.cpp.
void social_navigation_layers::SocialLayer::updateBounds | ( | double | origin_x, |
double | origin_y, | ||
double | origin_yaw, | ||
double * | min_x, | ||
double * | min_y, | ||
double * | max_x, | ||
double * | max_y | ||
) | [virtual] |
Reimplemented from costmap_2d::Layer.
Reimplemented in social_navigation_layers::PassingLayer.
Definition at line 26 of file social_layer.cpp.
virtual void social_navigation_layers::SocialLayer::updateBoundsFromPeople | ( | double * | min_x, |
double * | min_y, | ||
double * | max_x, | ||
double * | max_y | ||
) | [pure virtual] |
Implemented in social_navigation_layers::ProxemicLayer.
virtual void social_navigation_layers::SocialLayer::updateCosts | ( | costmap_2d::Costmap2D & | master_grid, |
int | min_i, | ||
int | min_j, | ||
int | max_i, | ||
int | max_j | ||
) | [pure virtual] |
Reimplemented from costmap_2d::Layer.
Implemented in social_navigation_layers::PassingLayer, and social_navigation_layers::ProxemicLayer.
bool social_navigation_layers::SocialLayer::first_time_ [protected] |
Definition at line 32 of file social_layer.h.
double social_navigation_layers::SocialLayer::last_max_x_ [protected] |
Definition at line 33 of file social_layer.h.
double social_navigation_layers::SocialLayer::last_max_y_ [protected] |
Definition at line 33 of file social_layer.h.
double social_navigation_layers::SocialLayer::last_min_x_ [protected] |
Definition at line 33 of file social_layer.h.
double social_navigation_layers::SocialLayer::last_min_y_ [protected] |
Definition at line 33 of file social_layer.h.
boost::recursive_mutex social_navigation_layers::SocialLayer::lock_ [protected] |
Definition at line 30 of file social_layer.h.
Definition at line 29 of file social_layer.h.
people_msgs::People social_navigation_layers::SocialLayer::people_list_ [protected] |
Definition at line 27 of file social_layer.h.
Definition at line 26 of file social_layer.h.
Reimplemented from costmap_2d::Layer.
Definition at line 31 of file social_layer.h.
std::list<people_msgs::Person> social_navigation_layers::SocialLayer::transformed_people_ [protected] |
Definition at line 28 of file social_layer.h.