Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
mrpt_bridge::MapHdl Class Reference

the map class is implemented as singeleton use map::instance ()->ros2mrpt ... More...

#include <map.h>

List of all members.

Public Member Functions

const int16_t cellMrpt2Ros (int i)
const int8_t cellRos2Mrpt (int i)

Static Public Member Functions

static MapHdlinstance ()
 it creates a instance with some look up table to speed up the conversions
static const bool loadMap (CMultiMetricMap &_metric_map, const mrpt::utils::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 MapHdlinstance_ = NULL

Detailed Description

the map class is implemented as singeleton use map::instance ()->ros2mrpt ...

Methods to convert between ROS msgs and MRPT objects for map datatypes.

Definition at line 56 of file map.h.


Constructor & Destructor Documentation

creation of the lookup table and pointers

Definition at line 34 of file map.cpp.

mrpt_bridge::MapHdl::MapHdl ( const MapHdl ) [private]

Definition at line 73 of file map.cpp.


Member Function Documentation

const int16_t mrpt_bridge::MapHdl::cellMrpt2Ros ( int  i) [inline]

Definition at line 87 of file map.h.

const int8_t mrpt_bridge::MapHdl::cellRos2Mrpt ( int  i) [inline]

Definition at line 89 of file map.h.

it creates a instance with some look up table to speed up the conversions

Returns:
returns singeleton instance

Definition at line 74 of file map.cpp.

const bool mrpt_bridge::MapHdl::loadMap ( CMultiMetricMap &  _metric_map,
const mrpt::utils::CConfigFile &  _config_file,
const std::string &  _map_file = "map.simplemap",
const std::string &  _section_name = "metricMap",
bool  _debug = false 
) [static]

loads a mprt map

Returns:
true on sucess.
Parameters:
_metric_map
_config_file
_map_filedefault: map.simplemap
_section_namedefault: metricMap
_debugdefault: false

Definition at line 153 of file map.cpp.


Member Data Documentation

MapHdl * mrpt_bridge::MapHdl::instance_ = NULL [static, private]

Definition at line 59 of file map.h.

int8_t mrpt_bridge::MapHdl::lut_cellmrpt2ros[0xFFFF] [private]

Definition at line 65 of file map.h.

Definition at line 66 of file map.h.

int8_t mrpt_bridge::MapHdl::lut_cellros2mrpt[0xFF] [private]

Definition at line 69 of file map.h.

Definition at line 70 of file map.h.


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


mrpt_bridge
Author(s): Markus Bader , Raphael Zack
autogenerated on Mon Sep 18 2017 03:12:06