Class CObservationCANBusJ1939
Defined in File CObservationCANBusJ1939.h
Inheritance Relationships
Base Type
public mrpt::obs::CObservation(Class CObservation)
Class Documentation
-
class CObservationCANBusJ1939 : public mrpt::obs::CObservation
This class stores a message from a CAN BUS with the protocol J1939
See also
Public Functions
-
CObservationCANBusJ1939() = default
Constructor.
-
~CObservationCANBusJ1939() override = default
Destructor
-
inline virtual void setSensorPose(const mrpt::poses::CPose3D&) override
A general method to change the sensor pose on the robot. Note that most sensors will use the full (6D) CPose3D, but see the derived classes for more details or special cases.
See also
-
virtual void getDescriptionAsText(std::ostream &o) const override
Build a detailed, multi-line textual description of the observation contents and dump it to the output stream.
Note
If overried by derived classes, call base CObservation::getDescriptionAsText() first to show common information.
Note
This is the text that appears in RawLogViewer when selecting an object in the dataset
Public Members
-
uint16_t m_pgn = {0}
The Parameter Group Number within this frame
-
uint8_t m_src_address = {0}
The address of the source node within this frame
-
uint8_t m_priority = {0}
The priority
-
uint8_t m_pdu_format = {0}
PDU Format
-
uint8_t m_pdu_spec = {0}
PDU Specific
-
uint8_t m_data_length = {0}
Data length
-
std::vector<uint8_t> m_data
The data within this frame (0-8 bytes)
-
std::vector<char> m_raw_frame
The ASCII frame
-
CObservationCANBusJ1939() = default