pub enum BrakingMode {
Normal,
Precise,
}Expand description
When FlightMode is Braking, the agent can use different braking modes to control the amount of overshoot and oscillation.
Variants§
Normal
Oscillation around the target position is acceptable, with slow damping. This mode is useful for when the entity is not expected to fully stop at the target position, and arrival near the target position is more important than precision.
Precise
Prefer faster damping of position error, reducing overshoot and oscillation around the target position. This mode is useful for when the entity is expected to fully stop at the target and precision is most important.
Trait Implementations§
Source§impl Clone for BrakingMode
impl Clone for BrakingMode
Source§fn clone(&self) -> BrakingMode
fn clone(&self) -> BrakingMode
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 BrakingMode
Source§impl Debug for BrakingMode
impl Debug for BrakingMode
Source§impl Default for BrakingMode
impl Default for BrakingMode
Source§fn default() -> BrakingMode
fn default() -> BrakingMode
Returns the “default value” for a type. Read more
Source§impl PartialEq for BrakingMode
impl PartialEq for BrakingMode
Source§fn eq(&self, other: &BrakingMode) -> bool
fn eq(&self, other: &BrakingMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BrakingMode
Auto Trait Implementations§
impl Freeze for BrakingMode
impl RefUnwindSafe for BrakingMode
impl Send for BrakingMode
impl Sync for BrakingMode
impl Unpin for BrakingMode
impl UnsafeUnpin for BrakingMode
impl UnwindSafe for BrakingMode
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> Event for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
impl<T> Resource for T
impl<T> Storable for T
Source§impl<Context> SubContext<Context> for Context
impl<Context> SubContext<Context> for Context
fn sub_context(self) -> Context
§impl<T> TryDefault for Twhere
T: Default,
impl<T> TryDefault for Twhere
T: Default,
§fn try_default() -> Result<T, String>
fn try_default() -> Result<T, String>
Tries to create the default.
§fn unwrap_default() -> Self
fn unwrap_default() -> Self
Calls
try_default and panics on an error case.