MipResources::URG04LXmmConst Class Reference
[Range sensor]

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

#include <URG04LXmm.h>

List of all members.

Public Member Functions

 URG04LXmmConst ()
 Default 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 ()

Static Public Member Functions

static const int linRes ()
 return linear resolution
static const int linRangeMin ()
 return linear minimum range
static const int linRangeMax2B ()
 return linear maximum range for 2 Bytes encoding
static const int linRangeMax3B ()
 return linear maximum range for 3 Bytes encoding
static const int 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 URG04LXmm range sensor

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::URG04LXmmConst::URG04LXmmConst (  )  [inline]

Default constructor.


Member Function Documentation

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

return default device path

static const int MipResources::URG04LXmmConst::linRes (  )  [inline, static]

return linear resolution

static const int MipResources::URG04LXmmConst::linRangeMin (  )  [inline, static]

return linear minimum range

static const int MipResources::URG04LXmmConst::linRangeMax2B (  )  [inline, static]

return linear maximum range for 2 Bytes encoding

static const int MipResources::URG04LXmmConst::linRangeMax3B (  )  [inline, static]

return linear maximum range for 3 Bytes encoding

static const int MipResources::URG04LXmmConst::angRes (  )  [inline, static]

return angular resolution

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

return the step corresponding to the frontal angle

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

return scan rate

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

return retries for I/O operations

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

return the size of input buffer in byte

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

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

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

return max cmd time

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

return sensor name

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

return command "SCIP2.0\n"

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

return command "VV;MyInfo\n"

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

return command "PP;MyParam\n"

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

return command "II;MyState\n"

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

return command "BM;LaserOn\n"

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

return command "QT;LaserOff\n"

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

return command "TM0;TimerOn\n"

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

return command "TM2;TimerOff\n"

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

return command "RS;Reset\n"

return command "\n"

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


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

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