pub struct ServoOutputRaw {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,
}Expand description
SERVO_OUTPUT_RAW: the raw PWM values driving the first eight servo outputs.
Fields§
§time_usec: u32§servo1_raw: u16§servo2_raw: u16§servo3_raw: u16§servo4_raw: u16§servo5_raw: u16§servo6_raw: u16§servo7_raw: u16§servo8_raw: u16§port: u8§servo9_raw: u16§servo10_raw: u16§servo11_raw: u16§servo12_raw: u16§servo13_raw: u16§servo14_raw: u16§servo15_raw: u16§servo16_raw: u16Implementations§
Trait Implementations§
Source§impl Clone for ServoOutputRaw
impl Clone for ServoOutputRaw
Source§fn clone(&self) -> ServoOutputRaw
fn clone(&self) -> ServoOutputRaw
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ServoOutputRaw
Source§impl Debug for ServoOutputRaw
impl Debug for ServoOutputRaw
Source§impl Default for ServoOutputRaw
impl Default for ServoOutputRaw
Source§impl Message for ServoOutputRaw
impl Message for ServoOutputRaw
Source§const NAME: &'static str = "SERVO_OUTPUT_RAW"
const NAME: &'static str = "SERVO_OUTPUT_RAW"
The message name, such as
"HEARTBEAT", as used to derive CRC_EXTRA.Source§const CRC_EXTRA: u8 = 222
const CRC_EXTRA: u8 = 222
The
CRC_EXTRA seed folded into the checksum of a frame carrying this message.Source§const BASE_FIELDS: &'static [(&'static str, &'static str, u8)]
const BASE_FIELDS: &'static [(&'static str, &'static str, u8)]
The base fields in wire order as
(type, name, array_len), the input from which
CRC_EXTRA is derived and against which it is verified.Source§const DESCRIPTOR: &'static MessageDescriptor<'static>
const DESCRIPTOR: &'static MessageDescriptor<'static>
The message’s shape as data: the runtime counterpart of this type’s fields, for a
caller reading and writing by name rather than through the struct.
Source§impl PartialEq for ServoOutputRaw
impl PartialEq for ServoOutputRaw
impl StructuralPartialEq for ServoOutputRaw
Auto Trait Implementations§
impl Freeze for ServoOutputRaw
impl RefUnwindSafe for ServoOutputRaw
impl Send for ServoOutputRaw
impl Sync for ServoOutputRaw
impl Unpin for ServoOutputRaw
impl UnsafeUnpin for ServoOutputRaw
impl UnwindSafe for ServoOutputRaw
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more