YDLIDAR SDK  V1.4.5
Protected Member Functions | List of all members
CYdLidar Class Reference

Protected Member Functions

bool checkCOMMs ()
 
bool checkStatus ()
 
bool checkHardware ()
 
bool getDeviceHealth ()
 
bool getDeviceInfo ()
 
void checkSampleRate ()
 checkSampleRate
 
bool CalculateSampleRate (int count)
 CalculateSampleRate. More...
 
bool checkScanFrequency ()
 
bool checkLidarAbnormal ()
 
void checkCalibrationAngle (const std::string &serialNumber)
 checkCalibrationAngle More...
 
bool isRangeValid (double reading) const
 isRangeValid More...
 
bool isRangeIgnore (double angle) const
 isRangeIgnore More...
 
void handleSingleChannelDevice ()
 handleSingleChannelDevice
 
void parsePackageNode (const node_info &node, LaserDebug &info)
 parsePackageNode More...
 
void handleDeviceInfoPackage (int count)
 handleDeviceInfoPackage More...
 
void printfVersionInfo (const device_info &info)
 printfVersionInfo More...
 

Member Function Documentation

bool CYdLidar::CalculateSampleRate ( int  count)
protected

CalculateSampleRate.

Parameters
count
Returns
void CYdLidar::checkCalibrationAngle ( const std::string &  serialNumber)
protected

checkCalibrationAngle

Parameters
serialNumber
bool CYdLidar::checkCOMMs ( )
protected

Returns true if communication has been established with the device. If it's not, try to create a comms channel.

Returns
false on error.
bool CYdLidar::checkHardware ( )
protected

Returns true if the normal scan runs with the device. If it's not,

Returns
false on error.
bool CYdLidar::checkLidarAbnormal ( )
protected

returns true if the lidar data is normal, If it's not

bool CYdLidar::checkScanFrequency ( )
protected

Retruns true if the scan frequency is set to user's frequency is successful, If it's not

bool CYdLidar::checkStatus ( )
protected

Returns true if health status and device information has been obtained with the device. If it's not,

Returns
false on error.
bool CYdLidar::getDeviceHealth ( )
protected

Returns true if the device is in good health, If it's not

Returns true if the device is connected & operative

bool CYdLidar::getDeviceInfo ( )
protected

Returns true if the device information is correct, If it's not

void CYdLidar::handleDeviceInfoPackage ( int  count)
protected

handleDeviceInfoPackage

Parameters
count
bool CYdLidar::isRangeIgnore ( double  angle) const
protected

isRangeIgnore

Parameters
angle
Returns
bool CYdLidar::isRangeValid ( double  reading) const
protected

isRangeValid

Parameters
reading
Returns
void CYdLidar::parsePackageNode ( const node_info node,
LaserDebug info 
)
protected

parsePackageNode

Parameters
node
info
void CYdLidar::printfVersionInfo ( const device_info info)
protected

printfVersionInfo

Parameters
info

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