OnboardComputerStatus class

Hardware status sent by an onboard computer.

ONBOARD_COMPUTER_STATUS

Implemented types

Constructors

OnboardComputerStatus({required uint64_t timeUsec, required uint32_t uptime, required uint32_t ramUsage, required uint32_t ramTotal, required List<int32_t> storageType, required List<int32_t> storageUsage, required List<int32_t> storageTotal, required List<int32_t> linkType, required List<int32_t> linkTxRate, required List<int32_t> linkRxRate, required List<int32_t> linkTxMax, required List<int32_t> linkRxMax, required List<int16_t> fanSpeed, required uint8_t type, required List<int8_t> cpuCores, required List<int8_t> cpuCombined, required List<int8_t> gpuCores, required List<int8_t> gpuCombined, required int8_t temperatureBoard, required List<int8_t> temperatureCore})
OnboardComputerStatus.parse(ByteData data_)
factory

Properties

cpuCombined List<int8_t>
Combined CPU usage as the last 10 slices of 100 MS (a histogram). This allows to identify spikes in load that max out the system, but only for a short amount of time. A value of UINT8_MAX implies the field is unused.
final
cpuCores List<int8_t>
CPU usage on the component in percent (100 - idle). A value of UINT8_MAX implies the field is unused.
final
fanSpeed List<int16_t>
Fan speeds. A value of INT16_MAX implies the field is unused.
final
gpuCombined List<int8_t>
Combined GPU usage as the last 10 slices of 100 MS (a histogram). This allows to identify spikes in load that max out the system, but only for a short amount of time. A value of UINT8_MAX implies the field is unused.
final
gpuCores List<int8_t>
GPU usage on the component in percent (100 - idle). A value of UINT8_MAX implies the field is unused.
final
hashCode int
The hash code for this object.
no setterinherited
linkRxMax List<int32_t>
Network capacity to the component system. A value of UINT32_MAX implies the field is unused.
final
linkRxRate List<int32_t>
Network traffic to the component system. A value of UINT32_MAX implies the field is unused.
final
linkTxMax List<int32_t>
Network capacity from the component system. A value of UINT32_MAX implies the field is unused.
final
linkTxRate List<int32_t>
Network traffic from the component system. A value of UINT32_MAX implies the field is unused.
final
linkType List<int32_t>
Link type: 0-9: UART, 10-19: Wired network, 20-29: Wifi, 30-39: Point-to-point proprietary, 40-49: Mesh proprietary
final
mavlinkCrcExtra int
no setteroverride
mavlinkMessageId int
no setteroverride
ramTotal uint32_t
Total amount of RAM on the component system. A value of UINT32_MAX implies the field is unused.
final
ramUsage uint32_t
Amount of used RAM on the component system. A value of UINT32_MAX implies the field is unused.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
storageTotal List<int32_t>
Total amount of storage space on the component system. A value of UINT32_MAX implies the field is unused.
final
storageType List<int32_t>
Storage type: 0: HDD, 1: SSD, 2: EMMC, 3: SD card (non-removable), 4: SD card (removable). A value of UINT32_MAX implies the field is unused.
final
storageUsage List<int32_t>
Amount of used storage space on the component system. A value of UINT32_MAX implies the field is unused.
final
temperatureBoard int8_t
Temperature of the board. A value of INT8_MAX implies the field is unused.
final
temperatureCore List<int8_t>
Temperature of the CPU core. A value of INT8_MAX implies the field is unused.
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
type uint8_t
Type of the onboard computer: 0: Mission computer primary, 1: Mission computer backup 1, 2: Mission computer backup 2, 3: Compute node, 4-5: Compute spares, 6-9: Payload computers.
final
uptime uint32_t
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

Constants

mavlinkEncodedLength → const int