#include <nav_grid_subscriber.h>
Public Types | |
using | NewDataCallback = std::function< void(const nav_core2::UIntBounds &)> |
Public Member Functions | |
void | activate () |
void | deactivate () |
GenericNavGridSubscriber (nav_grid::NavGrid< NumericType > &data) | |
bool | hasData () const |
void | init (ros::NodeHandle &nh, NewDataCallback callback, const std::string &topic="map", bool nav_grid=true, bool subscribe_to_updates=true) |
void | setCostInterpretation (const std::vector< NumericType > &cost_interpretation_table) |
Protected Member Functions | |
void | incomingNav (const NavGridOfX &new_map) |
void | incomingNavUpdate (const NavGridOfXUpdate &update) |
void | incomingOcc (const nav_msgs::OccupancyGridConstPtr &new_map) |
void | incomingOccUpdate (const map_msgs::OccupancyGridUpdateConstPtr &update) |
Protected Attributes | |
NewDataCallback | callback_ |
std::vector< NumericType > | cost_interpretation_table_ |
nav_grid::NavGrid< NumericType > & | data_ |
bool | map_received_ |
bool | nav_grid_ |
ros::NodeHandle | nh_ |
ros::Subscriber | sub_ |
bool | subscribe_to_updates_ |
std::string | topic_ |
ros::Subscriber | update_sub_ |
Definition at line 56 of file nav_grid_subscriber.h.
using nav_grid_pub_sub::GenericNavGridSubscriber< NumericType, NavGridOfX, NavGridOfXUpdate >::NewDataCallback = std::function<void(const nav_core2::UIntBounds&)> |
Definition at line 59 of file nav_grid_subscriber.h.
|
inlineexplicit |
Definition at line 61 of file nav_grid_subscriber.h.
|
inline |
Definition at line 73 of file nav_grid_subscriber.h.
|
inline |
Definition at line 97 of file nav_grid_subscriber.h.
|
inline |
Definition at line 103 of file nav_grid_subscriber.h.
|
inlineprotected |
Definition at line 110 of file nav_grid_subscriber.h.
|
inlineprotected |
Definition at line 117 of file nav_grid_subscriber.h.
|
inlineprotected |
Definition at line 127 of file nav_grid_subscriber.h.
|
inlineprotected |
Definition at line 138 of file nav_grid_subscriber.h.
|
inline |
Definition at line 62 of file nav_grid_subscriber.h.
|
inline |
Definition at line 105 of file nav_grid_subscriber.h.
|
protected |
Definition at line 145 of file nav_grid_subscriber.h.
|
protected |
Definition at line 147 of file nav_grid_subscriber.h.
|
protected |
Definition at line 144 of file nav_grid_subscriber.h.
|
protected |
Definition at line 150 of file nav_grid_subscriber.h.
|
protected |
Definition at line 154 of file nav_grid_subscriber.h.
|
protected |
Definition at line 152 of file nav_grid_subscriber.h.
|
protected |
Definition at line 149 of file nav_grid_subscriber.h.
|
protected |
Definition at line 154 of file nav_grid_subscriber.h.
|
protected |
Definition at line 153 of file nav_grid_subscriber.h.
|
protected |
Definition at line 149 of file nav_grid_subscriber.h.