#include <msgpack_parser.h>
|
static bool | ExportXYZI (const std::vector< ScanSegmentParserOutput > &results, std::vector< float > &x, std::vector< float > &y, std::vector< float > &z, std::vector< float > &i, std::vector< int > &group_idx, std::vector< int > &echo_idx, std::vector< int > &msg_idx) |
|
static std::string | MsgpackToHexDump (const std::vector< uint8_t > &msgpack_data, bool pretty_print=true) |
|
static bool | Parse (const std::vector< uint8_t > &msgpack_data, fifo_timestamp msgpack_timestamp, sick_scan_xd::SickCloudTransform &add_transform_xyz_rpy, ScanSegmentParserOutput &result, sick_scansegment_xd::MsgPackValidatorData &msgpack_validator_data_collector, const sick_scansegment_xd::MsgPackValidator &msgpack_validator=sick_scansegment_xd::MsgPackValidator(), bool msgpack_validator_enabled=false, bool discard_msgpacks_not_validated=false, bool use_software_pll=true, bool verbose=false) |
|
static bool | Parse (std::istream &msgpack_istream, fifo_timestamp msgpack_timestamp, sick_scan_xd::SickCloudTransform &add_transform_xyz_rpy, ScanSegmentParserOutput &result, sick_scansegment_xd::MsgPackValidatorData &msgpack_validator_data_collector, const sick_scansegment_xd::MsgPackValidator &msgpack_validator=sick_scansegment_xd::MsgPackValidator(), bool msgpack_validator_enabled=false, bool discard_msgpacks_not_validated=false, bool use_software_pll=true, bool verbose=false) |
|
static std::vector< uint8_t > | ReadFile (const std::string &filepath) |
|
static std::string | Timestamp (const std::chrono::system_clock::time_point &now=std::chrono::system_clock::now()) |
|
static std::string | Timestamp (uint32_t sec, uint32_t nsec) |
|
static bool | WriteCSV (const std::vector< ScanSegmentParserOutput > &results, const std::string &csvFile, bool overwrite_existing_file) |
|
Definition at line 95 of file msgpack_parser.h.
◆ ExportXYZI()
bool sick_scansegment_xd::MsgPackParser::ExportXYZI |
( |
const std::vector< ScanSegmentParserOutput > & |
results, |
|
|
std::vector< float > & |
x, |
|
|
std::vector< float > & |
y, |
|
|
std::vector< float > & |
z, |
|
|
std::vector< float > & |
i, |
|
|
std::vector< int > & |
group_idx, |
|
|
std::vector< int > & |
echo_idx, |
|
|
std::vector< int > & |
msg_idx |
|
) |
| |
|
static |
◆ MsgpackToHexDump()
std::string sick_scansegment_xd::MsgPackParser::MsgpackToHexDump |
( |
const std::vector< uint8_t > & |
msgpack_data, |
|
|
bool |
pretty_print = true |
|
) |
| |
|
static |
◆ Parse() [1/2]
◆ Parse() [2/2]
◆ ReadFile()
std::vector< uint8_t > sick_scansegment_xd::MsgPackParser::ReadFile |
( |
const std::string & |
filepath | ) |
|
|
static |
◆ Timestamp() [1/2]
static std::string sick_scansegment_xd::MsgPackParser::Timestamp |
( |
const std::chrono::system_clock::time_point & |
now = std::chrono::system_clock::now() | ) |
|
|
static |
◆ Timestamp() [2/2]
static std::string sick_scansegment_xd::MsgPackParser::Timestamp |
( |
uint32_t |
sec, |
|
|
uint32_t |
nsec |
|
) |
| |
|
static |
◆ WriteCSV()
bool sick_scansegment_xd::MsgPackParser::WriteCSV |
( |
const std::vector< ScanSegmentParserOutput > & |
results, |
|
|
const std::string & |
csvFile, |
|
|
bool |
overwrite_existing_file |
|
) |
| |
|
static |
◆ messageCount
int sick_scansegment_xd::MsgPackParser::messageCount = 0 |
|
staticprotected |
◆ telegramCount
int sick_scansegment_xd::MsgPackParser::telegramCount = 0 |
|
staticprotected |
The documentation for this class was generated from the following files: