CommandInt

Type Alias CommandInt 

Source
pub type CommandInt = CommandInt;
Expand description

Originally defined in common::messages::command_int.

Aliased Type§

pub struct CommandInt {
Show 13 fields pub target_system: u8, pub target_component: u8, pub frame: MavFrame, pub command: MavCmd, pub current: u8, pub autocontinue: u8, pub param1: f32, pub param2: f32, pub param3: f32, pub param4: f32, pub x: i32, pub y: i32, pub z: f32,
}

Fields§

§target_system: u8

MAVLink field target_system.

System ID

§target_component: u8

MAVLink field target_component.

Component ID

§frame: MavFrame

MAVLink field frame.

The coordinate system of the COMMAND.

§command: MavCmd

MAVLink field command.

The scheduled action for the mission item.

§current: u8

MAVLink field current.

Not used.

§autocontinue: u8

MAVLink field autocontinue.

Not used (set 0).

§param1: f32

MAVLink field param1.

PARAM1, see MAV_CMD enum

§param2: f32

MAVLink field param2.

PARAM2, see MAV_CMD enum

§param3: f32

MAVLink field param3.

PARAM3, see MAV_CMD enum

§param4: f32

MAVLink field param4.

PARAM4, see MAV_CMD enum

§x: i32

MAVLink field x.

PARAM5 / local: x position in meters * 1e4, global: latitude in degrees * 10^7

§y: i32

MAVLink field y.

PARAM6 / local: y position in meters * 1e4, global: longitude in degrees * 10^7

§z: f32

MAVLink field z.

PARAM7 / z position: global: altitude in meters (relative or absolute, depending on frame).