LoExcept.C File Reference

Various exceptions thrown by different Robolocust subsystems. More...

#include "Robots/LoBot/misc/LoExcept.H"
#include <map>
Include dependency graph for LoExcept.C:

Go to the source code of this file.

Classes

class  lobot::messages

Defines

#define LOEM_MISSING_LIBDC1394
#define LOEM_MISSING_FFMPEG
#define LOEM_MISSING_OPENCV
#define LOEM_MISSING_OPENGL
#define LOEM_MISSING_GLEW
#define LOEM_MISSING_LIBURG
#define LOEM_MISSING_LIBDEVIL
#define LOEM_MISSING_LIBGSL   "sorry, need the GSL library for ICP, etc."
#define LOEM_THREAD_CREATION_FAILURE   "unable to create new thread"
#define LOEM_MUTEX_INIT_ERROR   "unable to initialize mutex"
#define LOEM_COND_INIT_ERROR   "unable to initialize condition variable"
#define LOEM_RWLOCK_INIT_ERROR   "unable to initialize reader-writer lock"
#define LOEM_RWLOCK_RDLOCK_FAILED   "unable to read-lock reader-writer lock"
#define LOEM_RWLOCK_WRLOCK_FAILED   "unable to write-lock reader-writer lock"
#define LOEM_INIT_PROBLEM   "unable to acquire raw 1394 handle"
#define LOEM_NO_CAMERAS   "no cameras connected to FireWire bus"
#define LOEM_HIGHEST_NODE
#define LOEM_CAMERA_NODES_FREED   "sorry, camera nodes have been freed"
#define LOEM_BAD_CAMERA_NODE_INDEX   "camera node index out of range"
#define LOEM_SETUP_FAILED   "unable to setup camera for capture"
#define LOEM_START_TRANSMISSION_FAILED   "unable to start ISO transmission"
#define LOEM_MPEG_FILES_NOT_FOUND   "MPEG files specified for playback could not be found"
#define LOEM_NO_VIDEOSTREAM_SOURCE   "video stream source missing"
#define LOEM_NO_COMPOSITOR_SOURCES   "no compositor sources specified"
#define LOEM_LRF_CONNECTION_FAILURE   "unable to connect to laser range finder device"
#define LOEM_LRF_DATA_RETRIEVAL_FAILURE   "unable to retrieve data from laser range finder"
#define LOEM_NO_LRF_SOURCE   "laser range finder is not the input source"
#define LOEM_SERIAL_PORT_INIT_ERROR   "unable to initialize serial port"
#define LOEM_SERIAL_PORT_BAD_ARG   "bad argument to serial port read/write call"
#define LOEM_SERIAL_PORT_READ_ERROR   "unable to read from serial port"
#define LOEM_SERIAL_PORT_WRITE_ERROR   "unable to write to serial port"
#define LOEM_MOTOR_READ_FAILURE   "unable to read from motor serial port"
#define LOEM_IN_PLACE_TURNS_NOT_SUPPORTED   "sorry, selected robot platform does not support in-place turns"
#define LOEM_BAD_OPTION   "command line parse error"
#define LOEM_NO_SUCH_CONFIG_FILE   "unable to open specified config file"
#define LOEM_CONFIG_FILE_SYNTAX_ERROR   "syntax error in config file"
#define LOEM_CONFIG_FILE_MEMORY_ERROR   "ran out of memory while parsing config file"
#define LOEM_BAD_GEOMETRY_SPEC   "bad drawable geometry specification"
#define LOEM_MISSING_CMDLINE_ARGS   "required command line arguments missing"
#define LOEM_BAD_RESULTS_SPECS   "bad results file and dir specs"
#define LOEM_UNKNOWN_LOCUST_MODEL   "unknown locust model"
#define LOEM_UNKNOWN_BEHAVIOR   "unknown behavior"
#define LOEM_UNKNOWN_ROBOT_PLATFORM   "unknown robot platform"
#define LOEM_ARBITER_NOT_RUNNING   "DAMN arbiter is no longer running"
#define LOEM_UNSUPPORTED_TURN_DIRECTION   "turn arbiter does not support supplied direction"
#define LOEM_MOTOR_SYSTEM_MISSING   "motor subsystem required by LGMD module or an active behaviour"
#define LOEM_LASER_RANGE_FINDER_MISSING   "behaviour/visualizer needs laser range finder"
#define LOEM_MAPPING_DISABLED   "selected functionality requires mapping to be enabled"
#define LOEM_BOGUS_LOW_LEVEL_ODOMETRY   "bogus low-level odometry ==> low-level berserk or bad config"
#define LOEM_NO_GOALS   "behaviour requires at least one goal"
#define LOEM_DANGER_ZONE_LRF_NOT_SETUP   "danger zone object requires LRF prior to instantiation"
#define LOEM_NO_INPUT_SOURCE   "no input source for locust LGMD model"
#define LOEM_NOT_ENOUGH_LOCUSTS   "need at least 1 locust for visualization and 2 for an EMD"
#define LOEM_IDC_CONVERGENCE_FAILURE   "IDC scan matching algorithm failed to converge"
#define LOEM_PARTICLE_INDEX_OUT_OF_BOUNDS   "invalid index for accessing particle state variable"
#define LOEM_OPENGL_FBO_INIT_ERROR   "unable to create OpenGL off-screen rendering buffer"
#define LOEM_GLEW_INIT_ERROR   "unable to initialize OpenGL extension wrangler library GLEW"
#define LOEM_OPENCV_IMAGE_INIT_ERROR   "there was a problem creating some OpenCV image"
#define LOEM_SIGNALS_MASK_SETUP_FAILURE   "unable to setup signals mask for shutdown thread"
#define LOEM_SIGWAIT_FAILED   "sigwait() system function failed in shutdown thread"
#define LOEM_LOGIC_ERROR   "buggy code! some kind of impossible case or other logic error"
#define LOEM_BROKEN_FEATURE   "attempt to use a broken feature"

Functions

static const char * lobot::error_msg (int code)

Variables

 lobot::sorry

Detailed Description

Various exceptions thrown by different Robolocust subsystems.

Definition in file LoExcept.C.


Define Documentation

#define LOEM_HIGHEST_NODE
Value:
"cannot work with camera that is "\
                             "highest numbered node on FireWire bus"

Definition at line 141 of file LoExcept.C.

#define LOEM_MISSING_FFMPEG
Value:
"sorry, need FFmpeg libraries for " \
                               "encoding/decoding movie files"

Definition at line 86 of file LoExcept.C.

#define LOEM_MISSING_GLEW
Value:
"sorry, off-screen rendering requires " \
                             "OpenGL extension wrangler library GLEW"

Definition at line 98 of file LoExcept.C.

#define LOEM_MISSING_LIBDC1394
Value:
"sorry, need libdc1394 for capturing " \
                                  "from FireWire cameras"

Definition at line 82 of file LoExcept.C.

#define LOEM_MISSING_LIBDEVIL
Value:
"sorry, need OpenIL/DevIL library for " \
                                 "saving screen capture frames to disk"

Definition at line 106 of file LoExcept.C.

#define LOEM_MISSING_LIBURG
Value:
"sorry, need the URG library for " \
                               "interfacing with laser range finder"

Definition at line 102 of file LoExcept.C.

#define LOEM_MISSING_OPENCV
Value:
"sorry, need OpenCV for Horn-Schunck " \
                               "optical flow algorithm"

Definition at line 90 of file LoExcept.C.

#define LOEM_MISSING_OPENGL
Value:
"sorry, need OpenGL and GLUT for " \
                               "laser range finder visualization"

Definition at line 94 of file LoExcept.C.

Generated on Sun May 8 08:42:49 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3