#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 SensorMap & | sensorMap () |
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 RangeSensor * | m_frontLaser = 0 |
static pthread_mutex_t | m_lock |
static pthread_mutex_t | m_mutex |
static std::deque< RangeReading > | m_rangeDeque |
static pthread_t | m_readingThread |
static RangeSensor * | m_rearLaser = 0 |
static SensorMap | m_sensorMap |
static bool | m_threadRunning = false |
static OrientedPoint | m_truepos |
static bool | stopped = true |
Definition at line 42 of file carmenwrapper.h.
void CarmenWrapper::addReading | ( | RangeReading & | reading | ) | [static] |
Definition at line 193 of file carmenwrapper.cpp.
OrientedPoint CarmenWrapper::carmen2point | ( | const carmen_point_t & | p | ) | [static] |
Definition at line 466 of file carmenwrapper.cpp.
RangeReading CarmenWrapper::carmen2reading | ( | const carmen_robot_laser_message & | msg | ) | [static] |
Definition at line 306 of file carmenwrapper.cpp.
bool CarmenWrapper::getReading | ( | RangeReading & | reading | ) | [static] |
Definition at line 176 of file carmenwrapper.cpp.
OrientedPoint CarmenWrapper::getTruePos | ( | ) | [static] |
Definition at line 172 of file carmenwrapper.cpp.
void CarmenWrapper::initializeIPC | ( | const char * | name | ) | [static] |
Definition at line 43 of file carmenwrapper.cpp.
bool CarmenWrapper::isRunning | ( | ) | [static] |
Definition at line 156 of file carmenwrapper.cpp.
bool CarmenWrapper::isStopped | ( | ) | [static] |
Definition at line 160 of file carmenwrapper.cpp.
void CarmenWrapper::lock | ( | ) | [static] |
Definition at line 134 of file carmenwrapper.cpp.
void * CarmenWrapper::m_reading_function | ( | void * | ) | [static, private] |
Definition at line 411 of file carmenwrapper.cpp.
void CarmenWrapper::navigator_go_handler | ( | MSG_INSTANCE | msgRef, |
BYTE_ARRAY | callData, | ||
void * | |||
) | [static] |
Definition at line 265 of file carmenwrapper.cpp.
void CarmenWrapper::navigator_stop_handler | ( | MSG_INSTANCE | msgRef, |
BYTE_ARRAY | callData, | ||
void * | |||
) | [static] |
Definition at line 282 of file carmenwrapper.cpp.
carmen_point_t CarmenWrapper::point2carmen | ( | const OrientedPoint & | p | ) | [static] |
Definition at line 462 of file carmenwrapper.cpp.
void CarmenWrapper::publish_globalpos | ( | carmen_localize_summary_p | summary | ) | [static] |
Definition at line 366 of file carmenwrapper.cpp.
void CarmenWrapper::publish_particles | ( | carmen_localize_particle_filter_p | filter, |
carmen_localize_summary_p | summary | ||
) | [static] |
Definition at line 387 of file carmenwrapper.cpp.
int CarmenWrapper::queueLength | ( | ) | [static] |
Definition at line 164 of file carmenwrapper.cpp.
carmen_robot_laser_message CarmenWrapper::reading2carmen | ( | const RangeReading & | reading | ) | [static] |
Definition at line 444 of file carmenwrapper.cpp.
int CarmenWrapper::registerLocalizationMessages | ( | ) | [static] |
Definition at line 50 of file carmenwrapper.cpp.
void CarmenWrapper::robot_frontlaser_handler | ( | carmen_robot_laser_message * | frontlaser | ) | [static] |
Definition at line 206 of file carmenwrapper.cpp.
void CarmenWrapper::robot_rearlaser_handler | ( | carmen_robot_laser_message * | frontlaser | ) | [static] |
Definition at line 234 of file carmenwrapper.cpp.
const SensorMap & CarmenWrapper::sensorMap | ( | ) | [static] |
Definition at line 152 of file carmenwrapper.cpp.
bool CarmenWrapper::sensorMapComputed | ( | ) | [static] |
Definition at line 145 of file carmenwrapper.cpp.
void CarmenWrapper::shutdown_module | ( | int | sig | ) | [static] |
Definition at line 421 of file carmenwrapper.cpp.
void CarmenWrapper::simulator_truepos_handler | ( | carmen_simulator_truepos_message * | truepos | ) | [static] |
Definition at line 300 of file carmenwrapper.cpp.
bool CarmenWrapper::start | ( | const char * | name | ) | [static] |
Definition at line 104 of file carmenwrapper.cpp.
void CarmenWrapper::unlock | ( | ) | [static] |
Definition at line 139 of file carmenwrapper.cpp.
sem_t CarmenWrapper::m_dequeSem [static, private] |
Definition at line 83 of file carmenwrapper.h.
RangeSensor * CarmenWrapper::m_frontLaser = 0 [static, private] |
Definition at line 89 of file carmenwrapper.h.
pthread_mutex_t CarmenWrapper::m_lock [static, private] |
Definition at line 84 of file carmenwrapper.h.
pthread_mutex_t CarmenWrapper::m_mutex [static, private] |
Definition at line 84 of file carmenwrapper.h.
deque< RangeReading > CarmenWrapper::m_rangeDeque [static, private] |
Definition at line 82 of file carmenwrapper.h.
pthread_t CarmenWrapper::m_readingThread [static, private] |
Definition at line 85 of file carmenwrapper.h.
RangeSensor * CarmenWrapper::m_rearLaser = 0 [static, private] |
Definition at line 89 of file carmenwrapper.h.
SensorMap CarmenWrapper::m_sensorMap [static, private] |
Definition at line 88 of file carmenwrapper.h.
bool CarmenWrapper::m_threadRunning = false [static, private] |
Definition at line 87 of file carmenwrapper.h.
OrientedPoint CarmenWrapper::m_truepos [static, private] |
Definition at line 90 of file carmenwrapper.h.
bool CarmenWrapper::stopped = true [static, private] |
Definition at line 91 of file carmenwrapper.h.