pub struct SERVO_OUTPUT_RAW_DATA {Show 18 fields
pub time_usec: u32,
pub servo1_raw: u16,
pub servo2_raw: u16,
pub servo3_raw: u16,
pub servo4_raw: u16,
pub servo5_raw: u16,
pub servo6_raw: u16,
pub servo7_raw: u16,
pub servo8_raw: u16,
pub port: u8,
pub servo9_raw: u16,
pub servo10_raw: u16,
pub servo11_raw: u16,
pub servo12_raw: u16,
pub servo13_raw: u16,
pub servo14_raw: u16,
pub servo15_raw: u16,
pub servo16_raw: u16,
}
uavionix
only.Expand description
id: 36 Superseded by ACTUATOR_OUTPUT_STATUS. The RAW values of the servo outputs (for RC input from the remote, use the RC_CHANNELS messages). The standard PPM modulation is as follows: 1000 microseconds: 0%, 2000 microseconds: 100%..
Fields§
§time_usec: u32
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..
servo1_raw: u16
Servo output 1 value.
servo2_raw: u16
Servo output 2 value.
servo3_raw: u16
Servo output 3 value.
servo4_raw: u16
Servo output 4 value.
servo5_raw: u16
Servo output 5 value.
servo6_raw: u16
Servo output 6 value.
servo7_raw: u16
Servo output 7 value.
servo8_raw: u16
Servo output 8 value.
port: u8
Servo output port (set of 8 outputs = 1 port). Flight stacks running on Pixhawk should use: 0 = MAIN, 1 = AUX..
servo9_raw: u16
Servo output 9 value.
servo10_raw: u16
Servo output 10 value.
servo11_raw: u16
Servo output 11 value.
servo12_raw: u16
Servo output 12 value.
servo13_raw: u16
Servo output 13 value.
servo14_raw: u16
Servo output 14 value.
servo15_raw: u16
Servo output 15 value.
servo16_raw: u16
Servo output 16 value.
Implementations§
Source§impl SERVO_OUTPUT_RAW_DATA
impl SERVO_OUTPUT_RAW_DATA
pub const ENCODED_LEN: usize = 37usize
pub const DEFAULT: Self
Trait Implementations§
Source§impl Clone for SERVO_OUTPUT_RAW_DATA
impl Clone for SERVO_OUTPUT_RAW_DATA
Source§fn clone(&self) -> SERVO_OUTPUT_RAW_DATA
fn clone(&self) -> SERVO_OUTPUT_RAW_DATA
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more