125 #define LAE_PROD_GA 0x000 126 #define LAE_PROD_BETA 0x001
127 #define LAE_PROD_ALPHA 0x002
128 #define LAE_PROD_PROTO 0x003
133 #define LAE_CLASS_MOBILE_BASE 0xBA000000 158 #define LAE_VERSION(major, minor, revision) \ 159 ((((major)&0xff)<<24) | (((minor)&0xff)<<16) | ((revision)&0xffff)) 168 #define LAE_VER_MAJOR(ver) (((ver)>>24) & 0xff) 177 #define LAE_VER_MINOR(ver) (((ver)>>16) & 0xff) 186 #define LAE_VER_REV(ver) ((ver) & 0xffff) 207 const char*
const LaeImageDir =
"/usr/local/share/Laelaps/images";
217 const char*
const LaeIconDir =
"/usr/local/share/Laelaps/images/icons";
235 const char*
const LaeEtcCfg = LAE_ETC_CFG;
237 const char*
const LaeEtcCfg =
"laelaps.conf";
247 const char*
const LaeEtcTune =
"laelaps_tune.conf";
262 const char*
const LaeXslUrl = LAE_XSL_URL;
264 const char*
const LaeXslUrl =
265 "http://roadnarrows.com/xml/Laelaps/1.0/laelaps.xsl";
273 const char*
const LaeXsiUrl = LAE_XSI_URL;
275 const char*
const LaeXsiUrl =
276 "http://roadnarrows.com/xml/Laelaps/1.0/laelaps.xsd";
static const int LAE_ECODE_TOO_BIG
value/list/size too big
static const int LAE_ECODE_NO_EXEC
cannot execute error
static const int LAE_ECODE_NO_FILE
file not found
L1 norm (taxicab or manhattan norm)
const char *const LaeXboxXml
xbox teleop cfg
const char *const LaeEtcTune
xml tune file
static const int LAE_ECODE_RANGE
value out-of-range
static const int LAE_ECODE_FORMAT
bad format
LaeAsyncTaskState
Asynchronous task state.
const char *const LaeImageDir
image directory
static const int LaeProdIdStd
standard Laelaps product id
static const int LAE_ECODE_COLLISION
robot link(s) in collision
static const int LaeProdIdLarge
large Laelaps product id
static const int LAE_ECODE_IO
I/O error.
LaeRobotMode
<b><i>Laelaps</i></b> mode of operation.
idle, no async task running
static const int LAE_ECODE_INTR
operation interrupted
const char *const LaeFrontCamXml
front camera cfg
const char *const LaePanelXml
control panel cfg
const char *const LaeProdModelLarge
future large model
static const int LAE_ECODE_GEN
general, unspecified error
static const int LAE_ECODE_ESTOP
robot emergency stopped
Linf norm (maximum, infinity, or supremum norm)
static const int LAE_ECODE_NUMOF
number of error codes
static const int LAE_ECODE_PERM
no permissions error
const char *const LaeSysCfgPath
System configuration search path.
static const int LaeProdIdUnknown
unknown/undefined product id
static const int LAE_ECODE_MOT_CTLR
motor controller error
static const int LAE_ECODE_VIDEO
video error
const char *const LaeEtcCfg
xml configuration file
The <b><i>Laelaps</i></b> namespace encapsulates all <b><i>Laelaps</i></b> related constructs...
static const int LAE_ECODE_TOO_SMALL
value/list/size too small
const char *const LaeXsiUrl
xml schema instance url
static const int LAE_ECODE_NO_DEV
device not found error
static const int LAE_ECODE_ALARMED
robot is alarmed
const char *const LaeXslUrl
xml stylesheet url
const char *const LaeIconDir
icon directory
static const int LAE_ECODE_BAD_OP
invalid operation error
LaeOpState
Robot or joint operational states.
static const int LAE_ECODE_NO_RSRC
no resource available error
static const int LAE_ECODE_DYNA
dynamixel error
const char *const LaeProdFamily
product family name
static const int LAE_ECODE_BAD_VAL
bad value general error
static const int LAE_ECODE_SYS
system (errno) error
static const int LAE_ECODE_BADEC
bad error code
static const int LAE_ECODE_BUSY
resource busy error
const char *const LaeUserCfgPath
User configuration search path and inheritance order.
static const int LAE_ECODE_TIMEDOUT
operation timed out error
static const int LAE_ECODE_INTERNAL
internal error (bug)
can only be operated locally, not remotely
static const int LAE_ECODE_XML
XML error.
LaeTriState
<b><i>Laelaps</i></b> tri-state type.
LaeNorm
Length/Distance Norm.
const char *const LaeProdModelStd
standard model
const char *const LaeProdFamilyUnknown
unknown product family
static const int LAE_ECODE_BOTSENSE
botsense error
static const int LAE_OK
not an error, success