pub enum VirtualStickYawControlMode {
Angle,
Velocity,
Unknown(u8),
}Variants§
Angle
Sets the yaw values to be an angle relative to the north. Positive and negative yaw angle is for the aircraft rotating clockwise and counterclockwise, respectively. Maximum yaw angle is defined as 180 degrees. Minimum yaw angle is defined as -180 degrees.
Velocity
Sets the yaw values to be an angular velocity. Positive and negative angular velocity is for the aircraft rotating clockwise and counterclockwise, respectively. Maximum yaw angular velocity is defined as 100 degrees/s. Minimum yaw angular velocity is defined as -100 degrees/s.
Unknown(u8)
Trait Implementations§
Source§impl Debug for VirtualStickYawControlMode
impl Debug for VirtualStickYawControlMode
Source§impl From<u8> for VirtualStickYawControlMode
impl From<u8> for VirtualStickYawControlMode
Auto Trait Implementations§
impl Freeze for VirtualStickYawControlMode
impl RefUnwindSafe for VirtualStickYawControlMode
impl Send for VirtualStickYawControlMode
impl Sync for VirtualStickYawControlMode
impl Unpin for VirtualStickYawControlMode
impl UnwindSafe for VirtualStickYawControlMode
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