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;
unsigned __int16 uint16_t
void setSensorPose(const mrpt::poses::CPose3D &) MRPT_OVERRIDE
A general method to change the sensor pose on the robot.
#define MRPT_OVERRIDE
C++11 "override" for virtuals:
This class stores a message from a CAN BUS with the protocol J1939.
CObservationCANBusJ1939()
Constructor.
uint8_t m_priority
The priority.
#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_pdu_spec
PDU Specific.
void getSensorPose(mrpt::poses::CPose3D &) const MRPT_OVERRIDE
Not used.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
#define DEFINE_SERIALIZABLE(class_name)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
uint8_t m_pdu_format
PDU Format.
A class used to store a 3D pose (a 3D translation + a rotation in 3D).
Declares a class that represents any robot's observation.
std::vector< char > m_raw_frame
The ASCII frame.
uint16_t m_pgn
The Parameter Group Number within this frame.
uint8_t m_src_address
The address of the source node within this frame.
#define DEFINE_SERIALIZABLE_POST_CUSTOM_BASE_LINKAGE(class_name, base_name, _LINKAGE_)
std::vector< uint8_t > m_data
The data within this frame (0-8 bytes)
uint8_t m_data_length
Data length.
virtual ~CObservationCANBusJ1939()
Destructor.