Classes | Enumerations | Functions
sick_scan Namespace Reference

Classes

class  AbstractParser
 
class  ClientSocket
 
class  ColaAsciiBinaryConverter
 class ColaAsciiBinaryConverter converts between Cola-ASCII and Cola-Binary telegrams. See Operation-Instruction-v1.1.0.241R.pdf, chapter 5.8 "About CoLa-A telegrams", page 46-48, Telegram-Listing-v1.1.0.241R.pdf, chapter 2.3.9 "Command: LocRequestTimestamp", page 21, and Technical_information_Telegram_Listing_NAV_LOC_en_IM0076556.PDF for further details about Cola telegrams. More...
 
class  ColaEncoder
 class ColaEncoder encodes service requests to cola telegrams, parses cola responses and converts them to service responses. More...
 
class  ColaParser
 class ColaParser parses and converts binary Cola telegrams to ros messages SickLocColaTelegramMsg and vice versa. More...
 
class  ColaTransmitter
 
class  DatagramWithTimeStamp
 
class  FifoBuffer
 
class  JsonScanData
 class JsonScanData: utility container for binary scandata incl. timestamp More...
 
class  PcapngJsonParser
 class PcapngJsonParser parses jsonfiles converted from pcapng-files by pcap_json_converter. More...
 
class  ResultPortParser
 
class  ScannerBasicParam
 
class  SetGet
 
class  SetGet32
 
class  SickGenericParser
 
class  SickScanCommon
 
class  SickScanCommonTcp
 
class  SickScanFieldMonSingleton
 
class  SickScanImu
 
class  SickScanImuValue
 
class  SickScanMarker
 
class  SickScanMessages
 
class  SickScanMonField
 
class  SickScanMonFieldConverter
 
class  SickScanRadarObject
 
class  SickScanRadarRawTarget
 
class  SickScanRadarSingleton
 
class  SickScanServices
 
class  TestcaseGenerator
 
class  TestServerThread
 
class  UniformRandomAsciiString
 
class  UniformRandomInteger
 
class  Utils
 

Enumerations

enum  EVAL_FIELD_SUPPORT {
  EVAL_FIELD_UNSUPPORTED = 0, USE_EVAL_FIELD_TIM7XX_LOGIC, USE_EVAL_FIELD_LMS5XX_LOGIC, USE_EVAL_FIELD_LMS5XX_UNSUPPORTED,
  USE_EVAL_FIELD_NUM
}
 
enum  ExitCode { ExitSuccess = 0, ExitError = 1, ExitFatal = 2 }
 
enum  SickScanMonFieldType { MON_FIELD_RADIAL = 0, MON_FIELD_RECTANGLE = 1, MON_FIELD_SEGMENTED = 2, MON_FIELD_DYNAMIC = 3 }
 

Functions

float convertScaledIntValue (int value, float scale, float offset)
 
bool emulateReply (UINT8 *requestData, int requestLen, std::vector< unsigned char > *replyVector)
 
float getFloatValue (std::string str)
 
int getHexValue (std::string str)
 
int16_t getShortValue (std::string str)
 
unsigned char sick_crc8 (unsigned char *msgBlock, int len)
 calculate crc-code for last byte of binary message XOR-calucation is done ONLY over message content (i.e. skipping the first 8 Bytes holding 0x02020202 <Length Information as 4-byte long>) More...
 
std::string stripControl (std::vector< unsigned char > s)
 Converts a SOPAS command to a human readable string. More...
 

Enumeration Type Documentation

Enumerator
EVAL_FIELD_UNSUPPORTED 
USE_EVAL_FIELD_TIM7XX_LOGIC 
USE_EVAL_FIELD_LMS5XX_LOGIC 
USE_EVAL_FIELD_LMS5XX_UNSUPPORTED 
USE_EVAL_FIELD_NUM 

Definition at line 61 of file sick_generic_parser.h.

Enumerator
ExitSuccess 
ExitError 
ExitFatal 

Definition at line 44 of file abstract_parser.h.

Enumerator
MON_FIELD_RADIAL 
MON_FIELD_RECTANGLE 
MON_FIELD_SEGMENTED 
MON_FIELD_DYNAMIC 

Definition at line 71 of file sick_generic_field_mon.h.

Function Documentation

float sick_scan::convertScaledIntValue ( int  value,
float  scale,
float  offset 
)

Definition at line 130 of file sick_generic_radar.cpp.

bool sick_scan::emulateReply ( UINT8 requestData,
int  requestLen,
std::vector< unsigned char > *  replyVector 
)

Definition at line 90 of file sick_scan_common_tcp.cpp.

float sick_scan::getFloatValue ( std::string  str)

Definition at line 137 of file sick_generic_radar.cpp.

int sick_scan::getHexValue ( std::string  str)

Definition at line 114 of file sick_generic_radar.cpp.

int16_t sick_scan::getShortValue ( std::string  str)

Definition at line 99 of file sick_generic_radar.cpp.

unsigned char sick_scan::sick_crc8 ( unsigned char *  msgBlock,
int  len 
)

calculate crc-code for last byte of binary message XOR-calucation is done ONLY over message content (i.e. skipping the first 8 Bytes holding 0x02020202 <Length Information as 4-byte long>)

Parameters
msgBlockmessage content
lenLength of message content in byte
Returns
XOR-calucation abount message content (msgBlock[0] ^ msgBlock[1] .... msgBlock[len-1]

Definition at line 177 of file sick_scan_common.cpp.

std::string sick_scan::stripControl ( std::vector< unsigned char >  s)

Converts a SOPAS command to a human readable string.

Parameters
sASCII-Sopas command including 0x02 and 0x03
Returns
Human readable string 0x02 and 0x02 are converted to "<STX>" and "<ETX>"

Definition at line 195 of file sick_scan_common.cpp.



sick_scan
Author(s): Michael Lehning , Jochen Sprickerhof , Martin Günther
autogenerated on Wed May 5 2021 03:05:49