#include <ros_parser.h>
Public Member Functions | |
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 |
unsigned | maxArraySize () const |
MessageParser (const std::string &topic_name, PlotDataMapRef &plot_data) | |
virtual | ~MessageParser ()=default |
Protected Member Functions | |
void | appendRollPitchYaw (double timestamp) |
void | parseDiagnosticMsg (const PJ::MessageRef serialized_msg, double ×tamp) |
void | parseHeader (PJ::Msg::Header &header) |
void | parseJointStateMsg (const PJ::MessageRef serialized_msg, double ×tamp) |
void | parseTF2Msg (const PJ::MessageRef serialized_msg, double ×tamp) |
![]() | |
PlotData & | getSeries (const std::string &key) |
StringSeries & | getStringSeries (const std::string &key) |
Protected Attributes | |
bool | _contains_quaternion = false |
std::shared_ptr< RosMsgParser::Deserializer > | _deserializer |
RosMsgParser::FlatMessage | _flat_msg |
bool | _is_diangostic_msg = false |
bool | _is_jointstate_msg = false |
bool | _is_tf2_msg = false |
RosMsgParser::Parser | _parser |
std::string | _topic |
![]() | |
PlotDataMapRef & | _plot_data |
std::string | _topic_name |
Definition at line 8 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 10 of file ros_parser.cpp.
|
protected |
Definition at line 93 of file ros_parser.cpp.
|
protected |
Definition at line 144 of file ros_parser.cpp.
|
protected |
Definition at line 131 of file ros_parser.cpp.
|
protected |
Definition at line 212 of file ros_parser.cpp.
|
overridevirtual |
Implements PJ::MessageParser.
Definition at line 41 of file ros_parser.cpp.
|
protected |
Definition at line 283 of file ros_parser.cpp.
|
overridevirtual |
Reimplemented from PJ::MessageParser.
Definition at line 84 of file ros_parser.cpp.
|
protected |
Definition at line 37 of file ros_parser.h.
|
protected |
Definition at line 23 of file ros_parser.h.
|
protected |
Definition at line 24 of file ros_parser.h.
|
protected |
Definition at line 38 of file ros_parser.h.
|
protected |
Definition at line 39 of file ros_parser.h.
|
protected |
Definition at line 40 of file ros_parser.h.
|
protected |
Definition at line 22 of file ros_parser.h.
|
protected |
Definition at line 25 of file ros_parser.h.