#include <sick_generic_radar.h>
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 | |
SickScanCommon * | commonPtr |
bool | emul |
Definition at line 114 of file sick_generic_radar.h.
sick_scan::SickScanRadar::SickScanRadar | ( | SickScanCommon * | commonPtr_ | ) | [inline] |
Definition at line 117 of file sick_generic_radar.h.
bool sick_scan::SickScanRadar::getEmulation | ( | void | ) |
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.
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 |
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 | ||
) |
https://answers.ros.org/question/9772/quaternions-orientation-representation/
Definition at line 985 of file sick_generic_radar.cpp.
void sick_scan::SickScanRadar::setEmulation | ( | bool | _emul | ) |
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.
Definition at line 127 of file sick_generic_radar.h.
bool sick_scan::SickScanRadar::emul [private] |
Definition at line 129 of file sick_generic_radar.h.