ark::canbus::EmergencyDataObject

Defined in header “ark/canbus/canopen.hh”.


Defines a packet representing an emergency (EMCY) object.

Methods

  • std::string str()
    Returns the object as a string.

  • std::string short_str()

  • auto operator(const EmergencyDataObject & other)
    Comparison operators.

Variables

  • uint16_t error_code= 0
    A standardized error code (see CiA DS-301 and DS401 for more details).

  • uint8_t error_register= 0
    The error register for the code.

  • std::array< uint8_t, 5 > vendor_specific= {}
    Vendor specific data.