MipResources::URG04LXPar Class Reference
[Range sensor]

represents the parameters of a URG04LX range sensor More...

#include <URG04LX.h>

Inheritance diagram for MipResources::URG04LXPar:

MipResources::RangeSensPar

List of all members.

Public Member Functions

 URG04LXPar ()
 defalut constructor
 ~URG04LXPar ()
 destructor
void setEncoding (int value)
 set the number of byte for data encoding
void setFirstStep (int value)
 set the start step in scanning opeations
void setLastStep (int value)
 set the stop step in scanning opeations
void setCluster (int value)
 set the cluster count in scanning opeations
void setScanInterval (int value)
 set the scan interval in scanning opeations
void setScanNum (int value)
 set the number of scans to perform in scanning opeations
void setMotorSpeed (int value)
 set motor speed at value
void setBaudRate (int value)
 set baud rate at value
int encoding ()
 return the number of byte for data encoding
int firstStep ()
 return the step corresponding to the max angle
int lastStep ()
 return the step corresponding to the min angle
int cluster ()
 return the cluster count in scanning opeations
int scanInterval ()
 return the scan interval in scanning opeations
int scanNum ()
 return the number of scans to perform in scanning opeations
int motorSpeed ()
 return motor speed
int baudRate ()
 return baud rate


Detailed Description

represents the parameters of a URG04LX range sensor

Contains all the parameters related to URG04LX sensor. In addition there are the parameters inherited from RangeSensPar. There are also some get and set functions for private attributes.

Note:
inherites from RangeSensPar class
Author:
Antonio Franchi and Marco Barbalinardo - email:barba82@yahoo.it
Date:
2008/11/07
Bug:
none
Todo:
control on correctness of parameters

Constructor & Destructor Documentation

MipResources::URG04LXPar::URG04LXPar (  ) 

defalut constructor

MipResources::URG04LXPar::~URG04LXPar (  ) 

destructor


Member Function Documentation

void MipResources::URG04LXPar::setEncoding ( int  value  )  [inline]

set the number of byte for data encoding

Parameters:
value desidered byte encoding
Note:
value can be 2 or 3

void MipResources::URG04LXPar::setFirstStep ( int  value  )  [inline]

set the start step in scanning opeations

Parameters:
value desidered scanning start step

void MipResources::URG04LXPar::setLastStep ( int  value  )  [inline]

set the stop step in scanning opeations

Parameters:
value desidered scanning stop step
Note:
value should be greater than _firstStep

void MipResources::URG04LXPar::setCluster ( int  value  )  [inline]

set the cluster count in scanning opeations

Parameters:
value desidered cluster count
Note:
value should be included between 0 and 99

void MipResources::URG04LXPar::setScanInterval ( int  value  )  [inline]

set the scan interval in scanning opeations

Parameters:
value desidered scan interval
Note:
value should be included between 0 and 9

void MipResources::URG04LXPar::setScanNum ( int  value  )  [inline]

set the number of scans to perform in scanning opeations

Parameters:
value desidered number of scans
Note:
value should be included between 0 and 99

setting value to 0 implies continuos scanning

void MipResources::URG04LXPar::setMotorSpeed ( int  value  )  [inline]

set motor speed at value

Parameters:
value desidered speed

void MipResources::URG04LXPar::setBaudRate ( int  value  )  [inline]

set baud rate at value

Parameters:
value desidered baud rate

int MipResources::URG04LXPar::encoding (  )  [inline]

return the number of byte for data encoding

int MipResources::URG04LXPar::firstStep (  )  [inline]

return the step corresponding to the max angle

int MipResources::URG04LXPar::lastStep (  )  [inline]

return the step corresponding to the min angle

int MipResources::URG04LXPar::cluster (  )  [inline]

return the cluster count in scanning opeations

int MipResources::URG04LXPar::scanInterval (  )  [inline]

return the scan interval in scanning opeations

int MipResources::URG04LXPar::scanNum (  )  [inline]

return the number of scans to perform in scanning opeations

int MipResources::URG04LXPar::motorSpeed (  )  [inline]

return motor speed

int MipResources::URG04LXPar::baudRate (  )  [inline]

return baud rate


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