Enum mav_sdk::grpc::telemetry::FlightMode [−][src]
#[repr(i32)]
pub enum FlightMode {
Show 15 variants
Unknown,
Ready,
Takeoff,
Hold,
Mission,
ReturnToLaunch,
Land,
Offboard,
FollowMe,
Manual,
Altctl,
Posctl,
Acro,
Stabilized,
Rattitude,
}
Expand description
Flight modes.
For more information about flight modes, check out https://docs.px4.io/master/en/config/flight_mode.html.
Variants
Mode not known
Armed and ready to take off
Taking off
Holding (hovering in place (or circling for fixed-wing vehicles)
In mission
Returning to launch position (then landing)
Landing
In ‘offboard’ mode
In ‘follow-me’ mode
In ‘Manual’ mode
In ‘Altitude Control’ mode
In ‘Position Control’ mode
In ‘Acro’ mode
In ‘Stabilize’ mode
In ‘Rattitude’ mode
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
Performs the conversion.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for FlightMode
impl Send for FlightMode
impl Sync for FlightMode
impl Unpin for FlightMode
impl UnwindSafe for FlightMode
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Wrap the input message T
in a tonic::Request