Static Public Member Functions | Static Private Member Functions | Static Private Attributes | List of all members
GMapping::CarmenWrapper Class Reference

#include <carmenwrapper.h>

Static Public Member Functions

static void addReading (RangeReading &reading)
 
static OrientedPoint carmen2point (const carmen_point_t &p)
 
static RangeReading carmen2reading (const carmen_robot_laser_message &msg)
 
static bool getReading (RangeReading &reading)
 
static OrientedPoint getTruePos ()
 
static void initializeIPC (const char *name)
 
static bool isRunning ()
 
static bool isStopped ()
 
static void lock ()
 
static void navigator_go_handler (MSG_INSTANCE msgRef, BYTE_ARRAY callData, void *)
 
static void navigator_stop_handler (MSG_INSTANCE msgRef, BYTE_ARRAY callData, void *)
 
static carmen_point_t point2carmen (const OrientedPoint &p)
 
static void publish_globalpos (carmen_localize_summary_p summary)
 
static void publish_particles (carmen_localize_particle_filter_p filter, carmen_localize_summary_p summary)
 
static int queueLength ()
 
static carmen_robot_laser_message reading2carmen (const RangeReading &reading)
 
static int registerLocalizationMessages ()
 
static void robot_frontlaser_handler (carmen_robot_laser_message *frontlaser)
 
static void robot_rearlaser_handler (carmen_robot_laser_message *frontlaser)
 
static const SensorMapsensorMap ()
 
static bool sensorMapComputed ()
 
static void shutdown_module (int sig)
 
static void simulator_truepos_handler (carmen_simulator_truepos_message *truepos)
 
static bool start (const char *name)
 
static void unlock ()
 

Static Private Member Functions

static void * m_reading_function (void *)
 

Static Private Attributes

static sem_t m_dequeSem
 
static RangeSensorm_frontLaser =0
 
static pthread_mutex_t m_lock
 
static pthread_mutex_t m_mutex
 
static std::deque< RangeReadingm_rangeDeque
 
static pthread_t m_readingThread
 
static RangeSensorm_rearLaser =0
 
static SensorMap m_sensorMap
 
static bool m_threadRunning =false
 
static OrientedPoint m_truepos
 
static bool stopped =true
 

Detailed Description

Definition at line 41 of file carmenwrapper.h.

Member Function Documentation

◆ addReading()

void CarmenWrapper::addReading ( RangeReading reading)
static

Definition at line 192 of file carmenwrapper.cpp.

◆ carmen2point()

OrientedPoint CarmenWrapper::carmen2point ( const carmen_point_t &  p)
static

Definition at line 465 of file carmenwrapper.cpp.

◆ carmen2reading()

RangeReading CarmenWrapper::carmen2reading ( const carmen_robot_laser_message &  msg)
static

Definition at line 305 of file carmenwrapper.cpp.

◆ getReading()

bool CarmenWrapper::getReading ( RangeReading reading)
static

Definition at line 175 of file carmenwrapper.cpp.

◆ getTruePos()

OrientedPoint CarmenWrapper::getTruePos ( )
static

Definition at line 171 of file carmenwrapper.cpp.

◆ initializeIPC()

void CarmenWrapper::initializeIPC ( const char *  name)
static

Definition at line 42 of file carmenwrapper.cpp.

◆ isRunning()

bool CarmenWrapper::isRunning ( )
static

Definition at line 155 of file carmenwrapper.cpp.

◆ isStopped()

bool CarmenWrapper::isStopped ( )
static

Definition at line 159 of file carmenwrapper.cpp.

◆ lock()

void CarmenWrapper::lock ( )
static

Definition at line 133 of file carmenwrapper.cpp.

◆ m_reading_function()

void * CarmenWrapper::m_reading_function ( void *  )
staticprivate

Definition at line 410 of file carmenwrapper.cpp.

◆ navigator_go_handler()

void CarmenWrapper::navigator_go_handler ( MSG_INSTANCE  msgRef,
BYTE_ARRAY  callData,
void *   
)
static

Definition at line 264 of file carmenwrapper.cpp.

◆ navigator_stop_handler()

void CarmenWrapper::navigator_stop_handler ( MSG_INSTANCE  msgRef,
BYTE_ARRAY  callData,
void *   
)
static

Definition at line 281 of file carmenwrapper.cpp.

◆ point2carmen()

carmen_point_t CarmenWrapper::point2carmen ( const OrientedPoint p)
static

Definition at line 461 of file carmenwrapper.cpp.

◆ publish_globalpos()

void CarmenWrapper::publish_globalpos ( carmen_localize_summary_p  summary)
static

Definition at line 365 of file carmenwrapper.cpp.

◆ publish_particles()

void CarmenWrapper::publish_particles ( carmen_localize_particle_filter_p  filter,
carmen_localize_summary_p  summary 
)
static

Definition at line 386 of file carmenwrapper.cpp.

◆ queueLength()

int CarmenWrapper::queueLength ( )
static

Definition at line 163 of file carmenwrapper.cpp.

◆ reading2carmen()

carmen_robot_laser_message CarmenWrapper::reading2carmen ( const RangeReading reading)
static

Definition at line 443 of file carmenwrapper.cpp.

◆ registerLocalizationMessages()

int CarmenWrapper::registerLocalizationMessages ( )
static

Definition at line 49 of file carmenwrapper.cpp.

◆ robot_frontlaser_handler()

void CarmenWrapper::robot_frontlaser_handler ( carmen_robot_laser_message *  frontlaser)
static

Definition at line 205 of file carmenwrapper.cpp.

◆ robot_rearlaser_handler()

void CarmenWrapper::robot_rearlaser_handler ( carmen_robot_laser_message *  frontlaser)
static

Definition at line 233 of file carmenwrapper.cpp.

◆ sensorMap()

const SensorMap & CarmenWrapper::sensorMap ( )
static

Definition at line 151 of file carmenwrapper.cpp.

◆ sensorMapComputed()

bool CarmenWrapper::sensorMapComputed ( )
static

Definition at line 144 of file carmenwrapper.cpp.

◆ shutdown_module()

void CarmenWrapper::shutdown_module ( int  sig)
static

Definition at line 420 of file carmenwrapper.cpp.

◆ simulator_truepos_handler()

void CarmenWrapper::simulator_truepos_handler ( carmen_simulator_truepos_message *  truepos)
static

Definition at line 299 of file carmenwrapper.cpp.

◆ start()

bool CarmenWrapper::start ( const char *  name)
static

Definition at line 103 of file carmenwrapper.cpp.

◆ unlock()

void CarmenWrapper::unlock ( )
static

Definition at line 138 of file carmenwrapper.cpp.

Member Data Documentation

◆ m_dequeSem

sem_t CarmenWrapper::m_dequeSem
staticprivate

Definition at line 82 of file carmenwrapper.h.

◆ m_frontLaser

RangeSensor * CarmenWrapper::m_frontLaser =0
staticprivate

Definition at line 88 of file carmenwrapper.h.

◆ m_lock

pthread_mutex_t CarmenWrapper::m_lock
staticprivate

Definition at line 83 of file carmenwrapper.h.

◆ m_mutex

pthread_mutex_t CarmenWrapper::m_mutex
staticprivate

Definition at line 83 of file carmenwrapper.h.

◆ m_rangeDeque

deque< RangeReading > CarmenWrapper::m_rangeDeque
staticprivate

Definition at line 81 of file carmenwrapper.h.

◆ m_readingThread

pthread_t CarmenWrapper::m_readingThread
staticprivate

Definition at line 84 of file carmenwrapper.h.

◆ m_rearLaser

RangeSensor * CarmenWrapper::m_rearLaser =0
staticprivate

Definition at line 88 of file carmenwrapper.h.

◆ m_sensorMap

SensorMap CarmenWrapper::m_sensorMap
staticprivate

Definition at line 87 of file carmenwrapper.h.

◆ m_threadRunning

bool CarmenWrapper::m_threadRunning =false
staticprivate

Definition at line 86 of file carmenwrapper.h.

◆ m_truepos

OrientedPoint CarmenWrapper::m_truepos
staticprivate

Definition at line 89 of file carmenwrapper.h.

◆ stopped

bool CarmenWrapper::stopped =true
staticprivate

Definition at line 90 of file carmenwrapper.h.


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


openslam_gmapping
Author(s): Cyrill Stachniss, Udo Frese, Giorgio Grisetti, Wolfram Burgard
autogenerated on Mon Feb 28 2022 22:59:20