Class MsgPackParser
Defined in File msgpack_parser.h
Class Documentation
-
class MsgPackParser
Public Static Functions
-
static std::vector<uint8_t> ReadFile(const std::string &filepath)
-
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::string MsgpackToHexDump(const std::vector<uint8_t> &msgpack_data, bool pretty_print = true)
-
static bool WriteCSV(const std::vector<ScanSegmentParserOutput> &results, const std::string &csvFile, bool overwrite_existing_file)
-
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 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 std::vector<uint8_t> ReadFile(const std::string &filepath)