#include <ros_parser.h>
Public Member Functions | |
void | enableTruncationCheck (bool enable) |
bool | parseMessage (const PJ::MessageRef serialized_msg, double ×tamp) override |
ParserROS (const std::string &topic_name, const std::string &type_name, const std::string &schema, RosMsgParser::Deserializer *deserializer, PJ::PlotDataMapRef &data) | |
void | setLargeArraysPolicy (bool clamp, unsigned max_size) override |
![]() | |
bool | clampLargeArray () const |
virtual void | enableEmbeddedTimestamp (bool enable) |
unsigned | maxArraySize () const |
MessageParser (const std::string &topic_name, PlotDataMapRef &plot_data) | |
virtual bool | useEmbeddedTimestamp () const |
virtual | ~MessageParser ()=default |
Protected Member Functions | |
template<size_t N> | |
void | parseCovariance (const std::string &prefix, double ×tamp) |
void | parseDataTamerSchemas (const std::string &prefix, double ×tamp) |
void | parseDataTamerSnapshot (const std::string &prefix, double ×tamp) |
void | parseDiagnosticMsg (const std::string &prefix, double ×tamp) |
void | parseEmpty (const std::string &prefix, double ×tamp) |
void | parseHeader (const std::string &prefix, double ×tamp) |
void | parseImu (const std::string &prefix, double ×tamp) |
void | parseJointStateMsg (const std::string &prefix, double ×tamp) |
void | parseOdometry (const std::string &prefix, double ×tamp) |
void | parsePalStatisticsNames (const std::string &prefix, double ×tamp) |
void | parsePalStatisticsValues (const std::string &prefix, double ×tamp) |
void | parsePoint (const std::string &prefix, double ×tamp) |
void | parsePose (const std::string &prefix, double ×tamp) |
void | parsePoseStamped (const std::string &prefix, double ×tamp) |
void | parsePoseWithCovariance (const std::string &prefix, double ×tamp) |
void | parseQuaternion (const std::string &prefix, double ×tamp) |
void | parseTF2Msg (const std::string &prefix, double ×tamp) |
void | parseTransform (const std::string &prefix, double ×tamp) |
void | parseTransformStamped (const std::string &prefix, double ×tamp) |
void | parseTSLDefinition (const std::string &prefix, double ×tamp) |
void | parseTSLValues (const std::string &prefix, double ×tamp) |
void | parseTwist (const std::string &prefix, double ×tamp) |
void | parseTwistWithCovariance (const std::string &prefix, double ×tamp) |
void | parseVector3 (const std::string &prefix, double ×tamp) |
void | process_tsl_values (const std::string &prefix, const double ×tamp, const std::vector< std::string > &definition, const std::vector< double > &values) |
PJ::Msg::Header | readHeader (double ×tamp) |
![]() | |
PlotData & | getSeries (const std::string &key) |
StringSeries & | getStringSeries (const std::string &key) |
Protected Attributes | |
std::function< void(const std::string &prefix, double &)> | _customized_parser |
std::unique_ptr< RosMsgParser::Deserializer > | _deserializer |
RosMsgParser::FlatMessage | _flat_msg |
bool | _has_header = false |
RosMsgParser::Parser | _parser |
bool | _strict_truncation_check = true |
std::string | _topic |
![]() | |
PlotDataMapRef & | _plot_data |
std::string | _topic_name |
Definition at line 9 of file ros_parser.h.
ParserROS::ParserROS | ( | const std::string & | topic_name, |
const std::string & | type_name, | ||
const std::string & | schema, | ||
RosMsgParser::Deserializer * | deserializer, | ||
PJ::PlotDataMapRef & | data | ||
) |
Definition at line 20 of file ros_parser.cpp.
|
inline |
Definition at line 20 of file ros_parser.h.
|
inlineprotected |
Definition at line 78 of file ros_parser.h.
|
protected |
Definition at line 502 of file ros_parser.cpp.
|
protected |
Definition at line 521 of file ros_parser.cpp.
|
protected |
Definition at line 341 of file ros_parser.cpp.
|
protected |
Definition at line 227 of file ros_parser.cpp.
|
protected |
Definition at line 215 of file ros_parser.cpp.
|
protected |
Definition at line 317 of file ros_parser.cpp.
|
protected |
Definition at line 404 of file ros_parser.cpp.
|
overridevirtual |
Implements PJ::MessageParser.
Definition at line 108 of file ros_parser.cpp.
|
protected |
Definition at line 331 of file ros_parser.cpp.
|
protected |
Definition at line 557 of file ros_parser.cpp.
|
protected |
Definition at line 571 of file ros_parser.cpp.
|
protected |
Definition at line 242 of file ros_parser.cpp.
|
protected |
Definition at line 299 of file ros_parser.cpp.
|
protected |
Definition at line 305 of file ros_parser.cpp.
|
protected |
Definition at line 311 of file ros_parser.cpp.
|
protected |
Definition at line 252 of file ros_parser.cpp.
|
protected |
Definition at line 474 of file ros_parser.cpp.
|
protected |
Definition at line 282 of file ros_parser.cpp.
|
protected |
Definition at line 288 of file ros_parser.cpp.
|
protected |
Definition at line 619 of file ros_parser.cpp.
|
protected |
Definition at line 663 of file ros_parser.cpp.
|
protected |
Definition at line 270 of file ros_parser.cpp.
|
protected |
Definition at line 276 of file ros_parser.cpp.
|
protected |
Definition at line 232 of file ros_parser.cpp.
|
inlineprotected |
Definition at line 606 of file ros_parser.cpp.
|
protected |
Definition at line 193 of file ros_parser.cpp.
|
overridevirtual |
Reimplemented from PJ::MessageParser.
Definition at line 182 of file ros_parser.cpp.
|
protected |
Definition at line 71 of file ros_parser.h.
|
protected |
Definition at line 27 of file ros_parser.h.
|
protected |
Definition at line 28 of file ros_parser.h.
|
protected |
Definition at line 73 of file ros_parser.h.
|
protected |
Definition at line 26 of file ros_parser.h.
|
protected |
Definition at line 74 of file ros_parser.h.
|
protected |
Definition at line 29 of file ros_parser.h.