pub struct COMMAND_ACK_DATA {
pub command: MavCmd,
pub result: MavResult,
pub progress: u8,
pub result_param2: i32,
pub target_system: u8,
pub target_component: u8,
}
storm32
only.Expand description
id: 77 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.
Fields§
§command: MavCmd
Command ID (of acknowledged command).
result: MavResult
Result of command.
progress: u8
The progress percentage when result is MAV_RESULT_IN_PROGRESS. Values: [0-100], or UINT8_MAX if the progress is unknown.
result_param2: i32
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”).
target_system: u8
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.
target_component: u8
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.
Implementations§
Source§impl COMMAND_ACK_DATA
impl COMMAND_ACK_DATA
pub const ENCODED_LEN: usize = 10usize
pub const DEFAULT: Self
Trait Implementations§
Source§impl Clone for COMMAND_ACK_DATA
impl Clone for COMMAND_ACK_DATA
Source§fn clone(&self) -> COMMAND_ACK_DATA
fn clone(&self) -> COMMAND_ACK_DATA
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more