Go to the documentation of this file.
9 #ifndef CObservationCANBusJ1939_H
10 #define CObservationCANBusJ1939_H
35 m_pgn(0), m_src_address(0), m_priority(0), m_pdu_format(0), m_pdu_spec(0), m_data_length(0)
71 void getDescriptionAsText(std::ostream &o)
const MRPT_OVERRIDE;
std::vector< uint8_t > m_data
The data within this frame (0-8 bytes)
uint8_t m_priority
The priority.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
CObservationCANBusJ1939()
Constructor.
A class used to store a 3D pose (a 3D translation + a rotation in 3D).
#define DEFINE_SERIALIZABLE_POST_CUSTOM_BASE_LINKAGE(class_name, base_name, _LINKAGE_)
uint8_t m_data_length
Data length
This class stores a message from a CAN BUS with the protocol J1939.
#define DEFINE_SERIALIZABLE_PRE_CUSTOM_BASE_LINKAGE(class_name, base_name, _LINKAGE_)
This declaration must be inserted in all CSerializable classes definition, before the class declarati...
uint8_t m_src_address
The address of the source node within this frame.
std::vector< char > m_raw_frame
The ASCII frame.
#define DEFINE_SERIALIZABLE(class_name)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
void getSensorPose(mrpt::poses::CPose3D &) const MRPT_OVERRIDE
Not used.
Declares a class that represents any robot's observation.
virtual ~CObservationCANBusJ1939()
Destructor.
uint16_t m_pgn
The Parameter Group Number within this frame.
uint8_t m_pdu_spec
PDU Specific.
#define MRPT_OVERRIDE
C++11 "override" for virtuals:
uint8_t m_pdu_format
PDU Format.
void setSensorPose(const mrpt::poses::CPose3D &) MRPT_OVERRIDE
A general method to change the sensor pose on the robot.
Page generated by Doxygen 1.8.16 for MRPT 1.4.0 SVN: at Mon Oct 14 23:08:25 UTC 2019 | | |