#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 |
Public Member Functions inherited from PJ::MessageParser | |
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 | parseTwist (const std::string &prefix, double ×tamp) |
void | parseTwistWithCovariance (const std::string &prefix, double ×tamp) |
void | parseVector3 (const std::string &prefix, double ×tamp) |
PJ::Msg::Header | readHeader (double ×tamp) |
Protected Member Functions inherited from PJ::MessageParser | |
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 |
Protected Attributes inherited from PJ::MessageParser | |
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 13 of file ros_parser.cpp.
|
inline |
Definition at line 20 of file ros_parser.h.
|
inlineprotected |
Definition at line 72 of file ros_parser.h.
|
protected |
Definition at line 487 of file ros_parser.cpp.
|
protected |
Definition at line 506 of file ros_parser.cpp.
|
protected |
Definition at line 326 of file ros_parser.cpp.
|
protected |
Definition at line 212 of file ros_parser.cpp.
|
protected |
Definition at line 200 of file ros_parser.cpp.
|
protected |
Definition at line 302 of file ros_parser.cpp.
|
protected |
Definition at line 389 of file ros_parser.cpp.
|
overridevirtual |
Implements PJ::MessageParser.
Definition at line 93 of file ros_parser.cpp.
|
protected |
Definition at line 316 of file ros_parser.cpp.
|
protected |
Definition at line 542 of file ros_parser.cpp.
|
protected |
Definition at line 556 of file ros_parser.cpp.
|
protected |
Definition at line 227 of file ros_parser.cpp.
|
protected |
Definition at line 284 of file ros_parser.cpp.
|
protected |
Definition at line 290 of file ros_parser.cpp.
|
protected |
Definition at line 296 of file ros_parser.cpp.
|
protected |
Definition at line 237 of file ros_parser.cpp.
|
protected |
Definition at line 459 of file ros_parser.cpp.
|
protected |
Definition at line 267 of file ros_parser.cpp.
|
protected |
Definition at line 273 of file ros_parser.cpp.
|
protected |
Definition at line 255 of file ros_parser.cpp.
|
protected |
Definition at line 261 of file ros_parser.cpp.
|
protected |
Definition at line 217 of file ros_parser.cpp.
|
protected |
Definition at line 178 of file ros_parser.cpp.
|
overridevirtual |
Reimplemented from PJ::MessageParser.
Definition at line 167 of file ros_parser.cpp.
|
protected |
Definition at line 65 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 67 of file ros_parser.h.
|
protected |
Definition at line 26 of file ros_parser.h.
|
protected |
Definition at line 68 of file ros_parser.h.
|
protected |
Definition at line 29 of file ros_parser.h.