MipResources::URG04LXConst Class Reference
[Range sensor]

rapresents consant parameters of a URG04LX range sensor More...

#include <URG04LX.h>

List of all members.

Public Member Functions

 URG04LXConst ()
 defalut constructor
const char * dev ()
 return default device path
int frontStep ()
 return the step corresponding to the frontal angle
Pose URGpose ()
 return sensor pose w.r.t. robot reference frame
Time maxCmdTime ()
 return max cmd time
ExtString name ()
 return sensor name
char * protocol ()
 return command "SCIP2.0\n"
char * info ()
 return command "VV;MyInfo\n"
char * params ()
 return command "PP;MyParam\n"
char * state ()
 return command "II;MyState\n"
char * laserON ()
 return command "BM;LaserOn\n"
char * laserOFF ()
 return command "QT;LaserOff\n"
char * timerON ()
 return command "TM0;TimerOn\n"
char * timerOFF ()
 return command "TM2;TimerOff\n"
char * reset ()
 return command "RS;Reset\n"
char * lf ()
 return command "\n"

Static Public Member Functions

static const Decimal linRes ()
 return linear resolution
static const Decimal linRangeMin ()
 return linear minimum range
static const Decimal linRangeMax2B ()
 return linear maximum range for 2 Bytes encoding
static const Decimal linRangeMax3B ()
 return linear maximum range for 3 Bytes encoding
static const Decimal angRes ()
 return angular resolution
static const int rate ()
 return scan rate
static const int retries ()
 return retries for I/O operations
static const int bufSize ()
 return the size of input buffer in byte


Detailed Description

rapresents consant parameters of a URG04LX range sensor

Enum containing the states of the scan finite state machine Contains that values that shuold be constant when used: numeric values: such as Linear Resolution that depends on the sensor; literal values: ExtStrings that contain the sequences of characters that realize a command. There are also some get and set functions for private attributes

Author:
Antonio Franchi and Marco Barbalinardo - email:barba82@yahoo.it
Date:
2008/11/07
Bug:
none
Todo:
_URGpose, _rate and associated functions should be params (URG04LXPar)

Constructor & Destructor Documentation

MipResources::URG04LXConst::URG04LXConst (  )  [inline]

defalut constructor


Member Function Documentation

const char* MipResources::URG04LXConst::dev (  )  [inline]

return default device path

static const Decimal MipResources::URG04LXConst::linRes (  )  [inline, static]

return linear resolution

static const Decimal MipResources::URG04LXConst::linRangeMin (  )  [inline, static]

return linear minimum range

static const Decimal MipResources::URG04LXConst::linRangeMax2B (  )  [inline, static]

return linear maximum range for 2 Bytes encoding

static const Decimal MipResources::URG04LXConst::linRangeMax3B (  )  [inline, static]

return linear maximum range for 3 Bytes encoding

static const Decimal MipResources::URG04LXConst::angRes (  )  [inline, static]

return angular resolution

int MipResources::URG04LXConst::frontStep (  )  [inline]

return the step corresponding to the frontal angle

static const int MipResources::URG04LXConst::rate (  )  [inline, static]

return scan rate

static const int MipResources::URG04LXConst::retries (  )  [inline, static]

return retries for I/O operations

static const int MipResources::URG04LXConst::bufSize (  )  [inline, static]

return the size of input buffer in byte

Pose MipResources::URG04LXConst::URGpose (  )  [inline]

return sensor pose w.r.t. robot reference frame

Time MipResources::URG04LXConst::maxCmdTime (  )  [inline]

return max cmd time

ExtString MipResources::URG04LXConst::name (  )  [inline]

return sensor name

char* MipResources::URG04LXConst::protocol (  )  [inline]

return command "SCIP2.0\n"

char* MipResources::URG04LXConst::info (  )  [inline]

return command "VV;MyInfo\n"

char* MipResources::URG04LXConst::params (  )  [inline]

return command "PP;MyParam\n"

char* MipResources::URG04LXConst::state (  )  [inline]

return command "II;MyState\n"

char* MipResources::URG04LXConst::laserON (  )  [inline]

return command "BM;LaserOn\n"

char* MipResources::URG04LXConst::laserOFF (  )  [inline]

return command "QT;LaserOff\n"

char* MipResources::URG04LXConst::timerON (  )  [inline]

return command "TM0;TimerOn\n"

char* MipResources::URG04LXConst::timerOFF (  )  [inline]

return command "TM2;TimerOff\n"

char* MipResources::URG04LXConst::reset ( void   )  [inline]

return command "RS;Reset\n"

char* MipResources::URG04LXConst::lf (  )  [inline]

return command "\n"


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

Generated on Mon Feb 20 07:01:13 2017 for MIP by  doxygen 1.5.6