#[repr(u8)]pub enum UalbertaAutopilotMode {
ModeManualDirect = 1,
ModeManualScaled = 2,
ModeAutoPidAtt = 3,
ModeAutoPidVel = 4,
ModeAutoPidPos = 5,
}
Expand description
MAVLink enum UALBERTA_AUTOPILOT_MODE
.
Available autopilot modes for ualberta uav
Variants§
ModeManualDirect = 1
MAVLink enum entry MODE_MANUAL_DIRECT
.
Raw input pulse widts sent to output
ModeManualScaled = 2
MAVLink enum entry MODE_MANUAL_SCALED
.
Inputs are normalized using calibration, the converted back to raw pulse widths for output
ModeAutoPidAtt = 3
MAVLink enum entry MODE_AUTO_PID_ATT
.
ModeAutoPidVel = 4
MAVLink enum entry MODE_AUTO_PID_VEL
.
ModeAutoPidPos = 5
MAVLink enum entry MODE_AUTO_PID_POS
.
Trait Implementations§
source§impl Clone for UalbertaAutopilotMode
impl Clone for UalbertaAutopilotMode
source§fn clone(&self) -> UalbertaAutopilotMode
fn clone(&self) -> UalbertaAutopilotMode
Returns a copy 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 UalbertaAutopilotMode
impl Debug for UalbertaAutopilotMode
source§impl Default for UalbertaAutopilotMode
impl Default for UalbertaAutopilotMode
source§fn default() -> UalbertaAutopilotMode
fn default() -> UalbertaAutopilotMode
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for UalbertaAutopilotMode
impl<'de> Deserialize<'de> for UalbertaAutopilotMode
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for UalbertaAutopilotMode
impl Serialize for UalbertaAutopilotMode
source§impl TryFrom<u8> for UalbertaAutopilotMode
impl TryFrom<u8> for UalbertaAutopilotMode
impl Copy for UalbertaAutopilotMode
Auto Trait Implementations§
impl Freeze for UalbertaAutopilotMode
impl RefUnwindSafe for UalbertaAutopilotMode
impl Send for UalbertaAutopilotMode
impl Sync for UalbertaAutopilotMode
impl Unpin for UalbertaAutopilotMode
impl UnwindSafe for UalbertaAutopilotMode
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