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)
std::vector< char > m_raw_frame
The ASCII frame.
virtual ~CObservationCANBusJ1939()
Destructor.
uint8_t m_pdu_spec
PDU Specific.
#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...
std::vector< uint8_t > m_data
The data within this frame (0-8 bytes)
uint8_t m_pdu_format
PDU Format.
Declares a class that represents any robot's observation.
uint16_t m_pgn
The Parameter Group Number within this frame.
This class stores a message from a CAN BUS with the protocol J1939.
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_src_address
The address of the source node within this frame.
A class used to store a 3D pose (a 3D translation + a rotation in 3D).
void getSensorPose(CPose3D &) const
Not used.
uint8_t m_priority
The priority.
uint8_t m_data_length
Data length.
void setSensorPose(const CPose3D &)
A general method to change the sensor pose on the robot.
#define DEFINE_SERIALIZABLE_POST_CUSTOM_BASE_LINKAGE(class_name, base_name, _LINKAGE_)