Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
sick_scan::SickScanRadarSingleton Class Reference

#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. More...
 
int parseDatagram (ros::Time timeStamp, unsigned char *receiveBuffer, int actual_length, bool useBinaryProtocol)
 
void setEmulation (bool _emul)
 
void simulateAsciiDatagram (unsigned char *receiveBuffer, int *actual_length)
 

Static Public Member Functions

static SickScanRadarSingletongetInstance ()
 

Private Member Functions

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

Private Attributes

ros::Publisher chatter_pub
 
ros::Publisher cloud_radar_rawtarget_pub_
 
ros::Publisher cloud_radar_track_pub_
 
bool emul = false
 
ros::NodeHandle nh_
 
ros::Publisher radarScan_pub_
 

Static Private Attributes

static SickScanRadarSingletoninstance = 0
 

Detailed Description

Definition at line 160 of file sick_generic_radar.h.

Constructor & Destructor Documentation

sick_scan::SickScanRadarSingleton::SickScanRadarSingleton ( )
private

Definition at line 88 of file sick_generic_radar.cpp.

Member Function Documentation

bool sick_scan::SickScanRadarSingleton::getEmulation ( void  )

Definition at line 166 of file sick_generic_radar.cpp.

SickScanRadarSingleton * sick_scan::SickScanRadarSingleton::getInstance ( )
static

Definition at line 78 of file sick_generic_radar.cpp.

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

Parsing Ascii datagram.

Parameters
datagramPointer to datagram data
datagram_lengthNumber of bytes in datagram
configPointer to Configdata
msgHolds result of Parsing
numEchosNumber of DIST-blocks found in message
echoMaskMask corresponding to DIST-block-identifier
Returns
set_range_max

Definition at line 181 of file sick_generic_radar.cpp.

int sick_scan::SickScanRadarSingleton::parseDatagram ( ros::Time  timeStamp,
unsigned char *  receiveBuffer,
int  actual_length,
bool  useBinaryProtocol 
)
void sick_scan::SickScanRadarSingleton::setEmulation ( bool  _emul)

Definition at line 161 of file sick_generic_radar.cpp.

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

Definition at line 678 of file sick_generic_radar.cpp.

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

Definition at line 978 of file sick_generic_radar.cpp.

Member Data Documentation

ros::Publisher sick_scan::SickScanRadarSingleton::chatter_pub
private

Definition at line 178 of file sick_generic_radar.h.

ros::Publisher sick_scan::SickScanRadarSingleton::cloud_radar_rawtarget_pub_
private

Definition at line 174 of file sick_generic_radar.h.

ros::Publisher sick_scan::SickScanRadarSingleton::cloud_radar_track_pub_
private

Definition at line 175 of file sick_generic_radar.h.

bool sick_scan::SickScanRadarSingleton::emul = false
private

Definition at line 171 of file sick_generic_radar.h.

SickScanRadarSingleton * sick_scan::SickScanRadarSingleton::instance = 0
staticprivate

Definition at line 164 of file sick_generic_radar.h.

ros::NodeHandle sick_scan::SickScanRadarSingleton::nh_
private

Definition at line 173 of file sick_generic_radar.h.

ros::Publisher sick_scan::SickScanRadarSingleton::radarScan_pub_
private

Definition at line 176 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 Wed May 5 2021 03:05:49