Public Member Functions | Private Member Functions | Private Attributes
sick_scan::SickScanRadar Class Reference

#include <sick_generic_radar.h>

List of all members.

Public Member Functions

bool getEmulation (void)
int parseAsciiDatagram (char *datagram, size_t datagram_length, sick_scan::RadarScan *msgPtr, std::vector< SickScanRadarObject > &objectList, std::vector< SickScanRadarRawTarget > &rawTargetList)
 Parsing Ascii datagram.
int parseDatagram (ros::Time timeStamp, unsigned char *receiveBuffer, int actual_length, bool useBinaryProtocol)
void setEmulation (bool _emul)
 SickScanRadar (SickScanCommon *commonPtr_)
void simulateAsciiDatagram (unsigned char *receiveBuffer, int *actual_length)

Private Member Functions

void simulateAsciiDatagramFromFile (unsigned char *receiveBuffer, int *actual_length, std::string filePattern)

Private Attributes

SickScanCommoncommonPtr
bool emul

Detailed Description

Definition at line 114 of file sick_generic_radar.h.


Constructor & Destructor Documentation

Definition at line 117 of file sick_generic_radar.h.


Member Function Documentation

Definition at line 137 of file sick_generic_radar.cpp.

int sick_scan::SickScanRadar::parseAsciiDatagram ( char *  datagram,
size_t  datagram_length,
sick_scan::RadarScan *  msgPtr,
std::vector< SickScanRadarObject > &  objectList,
std::vector< SickScanRadarRawTarget > &  rawTargetList 
)

Parsing Ascii datagram.

Parameters:
datagram,:Pointer to datagram data
datagram_length,:Number of bytes in datagram
config,:Pointer to Configdata
msg,:Holds result of Parsing
numEchos,:Number of DIST-blocks found in message
echoMask,:Mask corresponding to DIST-block-identifier
Returns:
set_range_max

Definition at line 152 of file sick_generic_radar.cpp.

int sick_scan::SickScanRadar::parseDatagram ( ros::Time  timeStamp,
unsigned char *  receiveBuffer,
int  actual_length,
bool  useBinaryProtocol 
)

Definition at line 132 of file sick_generic_radar.cpp.

void sick_scan::SickScanRadar::simulateAsciiDatagram ( unsigned char *  receiveBuffer,
int *  actual_length 
)

Definition at line 639 of file sick_generic_radar.cpp.

void sick_scan::SickScanRadar::simulateAsciiDatagramFromFile ( unsigned char *  receiveBuffer,
int *  actual_length,
std::string  filePattern 
) [private]

Definition at line 919 of file sick_generic_radar.cpp.


Member Data Documentation

Definition at line 127 of file sick_generic_radar.h.

Definition at line 129 of file sick_generic_radar.h.


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


sick_scan
Author(s): Michael Lehning , Jochen Sprickerhof , Martin Günther
autogenerated on Tue Jul 9 2019 05:05:35