pub type HilControls = HilControls;Expand description
Originally defined in common::messages::hil_controls.
Aliased Type§
pub struct HilControls {
pub time_usec: u64,
pub roll_ailerons: f32,
pub pitch_elevator: f32,
pub yaw_rudder: f32,
pub throttle: f32,
pub aux1: f32,
pub aux2: f32,
pub aux3: f32,
pub aux4: f32,
pub mode: MavMode,
pub nav_mode: u8,
}Fields§
§time_usec: u64MAVLink field time_usec.
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.
roll_ailerons: f32MAVLink field roll_ailerons.
Control output -1 .. 1
pitch_elevator: f32MAVLink field pitch_elevator.
Control output -1 .. 1
yaw_rudder: f32MAVLink field yaw_rudder.
Control output -1 .. 1
throttle: f32MAVLink field throttle.
Throttle 0 .. 1
aux1: f32MAVLink field aux1.
Aux 1, -1 .. 1
aux2: f32MAVLink field aux2.
Aux 2, -1 .. 1
aux3: f32MAVLink field aux3.
Aux 3, -1 .. 1
aux4: f32MAVLink field aux4.
Aux 4, -1 .. 1
mode: MavModeMAVLink field mode.
System mode.
MAVLink field nav_mode.
Navigation mode (MAV_NAV_MODE)