18 #ifndef SCANNERSICKS300_INCLUDEDEF_H 19 #define SCANNERSICKS300_INCLUDEDEF_H 80 bool open(
const char* pcPort,
int iBaudRate,
int iScanId);
97 bool getScan(std::vector<double> &vdDistanceM, std::vector<double> &vdAngleRAD, std::vector<double> &vdIntensityAU,
unsigned int &iTimestamp,
unsigned int &iTimeNow,
const bool debug);
126 void convertScanToPolar(
const PARAM_MAP::const_iterator param, std::vector<int> viScanRaw,
127 std::vector<ScanPolarType>& vecScanPolar);
void setRangeField(const int field, const ParamType ¶m)
unsigned char m_ReadBuf2[READ_BUF_SIZE+10]
std::vector< int > m_viScanRaw
bool open(const char *pcPort, int iBaudRate, int iScanId)
unsigned int m_uiSumReadBytes
static unsigned char m_iScanId
std::map< int, ParamType > PARAM_MAP
unsigned char m_ReadBuf[READ_BUF_SIZE+10]
bool getScan(std::vector< double > &vdDistanceM, std::vector< double > &vdAngleRAD, std::vector< double > &vdIntensityAU, unsigned int &iTimestamp, unsigned int &iTimeNow, const bool debug)
static const double c_dPi
void convertScanToPolar(const PARAM_MAP::const_iterator param, std::vector< int > viScanRaw, std::vector< ScanPolarType > &vecScanPolar)