UavcanNodeInfo class

General information describing a particular UAVCAN node. Please refer to the definition of the UAVCAN service "uavcan.protocol.GetNodeInfo" for the background information. This message should be emitted by the system whenever a new node appears online, or an existing node reboots. Additionally, it can be emitted upon request from the other end of the MAVLink channel (see MAV_CMD_UAVCAN_GET_NODE_INFO). It is also not prohibited to emit this message unconditionally at a low frequency. The UAVCAN specification is available at http://uavcan.org.

UAVCAN_NODE_INFO

Implemented types

Constructors

UavcanNodeInfo({required uint64_t timeUsec, required uint32_t uptimeSec, required uint32_t swVcsCommit, required List<char> name, required uint8_t hwVersionMajor, required uint8_t hwVersionMinor, required List<int8_t> hwUniqueId, required uint8_t swVersionMajor, required uint8_t swVersionMinor})
UavcanNodeInfo.parse(ByteData data_)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
hwUniqueId List<int8_t>
Hardware unique 128-bit ID.
final
hwVersionMajor uint8_t
Hardware major version number.
final
hwVersionMinor uint8_t
Hardware minor version number.
final
mavlinkCrcExtra int
no setteroverride
mavlinkMessageId int
no setteroverride
name List<char>
Node name string. For example, "sapog.px4.io".
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
swVcsCommit uint32_t
Version control system (VCS) revision identifier (e.g. git short commit hash). 0 if unknown.
final
swVersionMajor uint8_t
Software major version number.
final
swVersionMinor uint8_t
Software minor version number.
final
timeUsec uint64_t
Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude of the number.
final
uptimeSec uint32_t
Time since the start-up of the node.
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

Constants

mavlinkEncodedLength → const int