the map class is implemented as singeleton use map::instance ()->ros2mrpt ... More...
#include <map.h>
Public Member Functions | |
const int16_t | cellMrpt2Ros (int i) |
const int8_t | cellRos2Mrpt (int i) |
Static Public Member Functions | |
static MapHdl * | instance () |
it creates a instance with some look up table to speed up the conversions | |
static const bool | loadMap (CMultiMetricMap &_metric_map, const CConfigFile &_config_file, const std::string &_map_file="map.simplemap", const std::string &_section_name="metricMap", bool _debug=false) |
Private Member Functions | |
MapHdl () | |
MapHdl (const MapHdl &) | |
~MapHdl () | |
Private Attributes | |
int8_t | lut_cellmrpt2ros [0xFFFF] |
int8_t * | lut_cellmrpt2rosPtr |
int8_t | lut_cellros2mrpt [0xFF] |
int8_t * | lut_cellros2mrptPtr |
Static Private Attributes | |
static MapHdl * | instance_ = NULL |
the map class is implemented as singeleton use map::instance ()->ros2mrpt ...
Methods to convert between ROS msgs and MRPT objects for map datatypes.
mrpt_bridge::MapHdl::MapHdl | ( | ) | [private] |
mrpt_bridge::MapHdl::MapHdl | ( | const MapHdl & | ) | [private] |
mrpt_bridge::MapHdl::~MapHdl | ( | ) | [private] |
const int16_t mrpt_bridge::MapHdl::cellMrpt2Ros | ( | int | i | ) | [inline] |
const int8_t mrpt_bridge::MapHdl::cellRos2Mrpt | ( | int | i | ) | [inline] |
MapHdl * mrpt_bridge::MapHdl::instance | ( | ) | [static] |
const bool mrpt_bridge::MapHdl::loadMap | ( | CMultiMetricMap & | _metric_map, |
const CConfigFile & | _config_file, | ||
const std::string & | _map_file = "map.simplemap" , |
||
const std::string & | _section_name = "metricMap" , |
||
bool | _debug = false |
||
) | [static] |
MapHdl * mrpt_bridge::MapHdl::instance_ = NULL [static, private] |
int8_t mrpt_bridge::MapHdl::lut_cellmrpt2ros[0xFFFF] [private] |
int8_t* mrpt_bridge::MapHdl::lut_cellmrpt2rosPtr [private] |
int8_t mrpt_bridge::MapHdl::lut_cellros2mrpt[0xFF] [private] |
int8_t* mrpt_bridge::MapHdl::lut_cellros2mrptPtr [private] |