pub struct Angle2Stabilizer<T: Number> { /* private fields */ }Expand description
Struct representing the Angle2 PID Flight Stabilization Controller. This is a cascade PID controller that combines angle and rate.
Implementations§
Source§impl<T: Number> Angle2Stabilizer<T>
impl<T: Number> Angle2Stabilizer<T>
Sourcepub fn with_config(
angle_config: FlightStabilizerConfig<T>,
rate_config: FlightStabilizerConfig<T>,
blending_config: CascadeBlendingConfig<T, 2>,
) -> Self
pub fn with_config( angle_config: FlightStabilizerConfig<T>, rate_config: FlightStabilizerConfig<T>, blending_config: CascadeBlendingConfig<T, 2>, ) -> Self
Creates a new controller using the provided configuration
Trait Implementations§
Source§impl<T: Number> Default for Angle2Stabilizer<T>
impl<T: Number> Default for Angle2Stabilizer<T>
Source§impl<T: Number> FlightStabilizer<T> for Angle2Stabilizer<T>
impl<T: Number> FlightStabilizer<T> for Angle2Stabilizer<T>
Auto Trait Implementations§
impl<T> Freeze for Angle2Stabilizer<T>where
T: Freeze,
impl<T> RefUnwindSafe for Angle2Stabilizer<T>where
T: RefUnwindSafe,
impl<T> Send for Angle2Stabilizer<T>where
T: Send,
impl<T> Sync for Angle2Stabilizer<T>where
T: Sync,
impl<T> Unpin for Angle2Stabilizer<T>where
T: Unpin,
impl<T> UnwindSafe for Angle2Stabilizer<T>where
T: UnwindSafe,
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