9 #ifndef CObservationCANBusJ1939_H 10 #define CObservationCANBusJ1939_H
unsigned __int16 uint16_t
This class stores a message from a CAN BUS with the protocol J1939.
CObservationCANBusJ1939()
Constructor.
uint8_t m_priority
The priority.
uint8_t m_pdu_spec
PDU Specific.
This namespace contains representation of robot actions and observations.
void getSensorPose(mrpt::poses::CPose3D &) const override
Not used.
void setSensorPose(const mrpt::poses::CPose3D &) override
A general method to change the sensor pose on the robot.
#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.
void getDescriptionAsText(std::ostream &o) const override
Build a detailed, multi-line textual description of the observation contents and dump it to the outpu...
std::vector< uint8_t > m_data
The data within this frame (0-8 bytes)
uint8_t m_data_length
Data length.
virtual ~CObservationCANBusJ1939()
Destructor.