ComponentInformation class

Component information message, which may be requested using MAV_CMD_REQUEST_MESSAGE.

COMPONENT_INFORMATION

Implemented types

Constructors

ComponentInformation({required uint32_t timeBootMs, required uint32_t generalMetadataFileCrc, required uint32_t peripheralsMetadataFileCrc, required List<int8_t> generalMetadataUri, required List<int8_t> peripheralsMetadataUri})
ComponentInformation.parse(ByteData data_)
factory

Properties

generalMetadataFileCrc → ActuatorConfiguration
CRC32 of the general metadata file (general_metadata_uri).
final
generalMetadataUri → List<int8_t>
MAVLink FTP URI for the general metadata file (COMP_METADATA_TYPE_GENERAL), which may be compressed with xz. The file contains general component metadata, and may contain URI links for additional metadata (see COMP_METADATA_TYPE). The information is static from boot, and may be generated at compile time. The string needs to be zero terminated.
final
hashCode → ActuatorConfiguration
The hash code for this object.
no setterinherited
mavlinkCrcExtra → ActuatorConfiguration
no setteroverride
mavlinkMessageId → ActuatorConfiguration
no setteroverride
peripheralsMetadataFileCrc → ActuatorConfiguration
CRC32 of peripherals metadata file (peripherals_metadata_uri).
final
peripheralsMetadataUri → List<int8_t>
(Optional) MAVLink FTP URI for the peripherals metadata file (COMP_METADATA_TYPE_PERIPHERALS), which may be compressed with xz. This contains data about "attached components" such as UAVCAN nodes. The peripherals are in a separate file because the information must be generated dynamically at runtime. The string needs to be zero terminated.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
timeBootMs → ActuatorConfiguration
Timestamp (time since system boot).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize() → ByteData
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited