pub struct FrameGimbal {
pub mode: Option<GimbalMode>,
pub pitch: f32,
pub roll: f32,
pub yaw: f32,
pub is_pitch_at_limit: bool,
pub is_roll_at_limit: bool,
pub is_yaw_at_limit: bool,
pub is_stuck: bool,
}Fields§
§mode: Option<GimbalMode>Current gimbal mode
pitch: f32Gimbal pitch angle in degrees
roll: f32Gimbal roll angle in degrees
yaw: f32Gimbal yaw angle in degrees
is_pitch_at_limit: boolIndicates if gimbal pitch is at its limit
is_roll_at_limit: boolIndicates if gimbal roll is at its limit
is_yaw_at_limit: boolIndicates if gimbal yaw is at its limit
is_stuck: boolIndicates if the gimbal is stuck
Trait Implementations§
Source§impl Clone for FrameGimbal
impl Clone for FrameGimbal
Source§fn clone(&self) -> FrameGimbal
fn clone(&self) -> FrameGimbal
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FrameGimbal
impl Debug for FrameGimbal
Source§impl Default for FrameGimbal
impl Default for FrameGimbal
Source§fn default() -> FrameGimbal
fn default() -> FrameGimbal
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FrameGimbal
impl RefUnwindSafe for FrameGimbal
impl Send for FrameGimbal
impl Sync for FrameGimbal
impl Unpin for FrameGimbal
impl UnwindSafe for FrameGimbal
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