CommandAck class

Report status of a command. Includes feedback whether the command was executed. The command microservice is documented at https://mavlink.io/en/services/command.html

COMMAND_ACK

Implemented types

Constructors

CommandAck({required MavCmd command, required MavResult result, required uint8_t progress, required int32_t resultParam2, required uint8_t targetSystem, required uint8_t targetComponent})
CommandAck.parse(ByteData data_)
factory

Properties

command MavCmd
Command ID (of acknowledged command).
final
hashCode int
The hash code for this object.
no setterinherited
mavlinkCrcExtra int
no setteroverride
mavlinkMessageId int
no setteroverride
progress uint8_t
The progress percentage when result is MAV_RESULT_IN_PROGRESS. Values: 0-100, or UINT8_MAX if the progress is unknown.
final
result MavResult
Result of command.
final
resultParam2 int32_t
Additional result information. Can be set with a command-specific enum containing command-specific error reasons for why the command might be denied. If used, the associated enum must be documented in the corresponding MAV_CMD (this enum should have a 0 value to indicate "unused" or "unknown").
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
targetComponent uint8_t
Component ID of the target recipient. This is the ID of the system that sent the command for which this COMMAND_ACK is an acknowledgement.
final
targetSystem uint8_t
System ID of the target recipient. This is the ID of the system that sent the command for which this COMMAND_ACK is an acknowledgement.
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