Skip to main content

Module control

Module control 

Source
Expand description

Flight control laws ranging from PID loops to LQR and Sliding Mode Control.

§Control Systems

This module implements the “Action” phase of the GNC (Guidance, Navigation, and Control) loop. It consumes the navigation solution and outputs motor-level actuation commands.

§Architecture

  • PID: The fundamental control algorithm for error correction.
  • Axis: Encapsulates a single degree of freedom (Perception + Control).
  • Stabilizer: Orchestrates multiple axes into a coherent flight state.
  • Mixer: Maps abstract demands (Roll, Pitch, Yaw) to physical motor signals.

Modules§

axis
Axis Processing
failsafe
Failsafe System
mixer
Motor Mixing
pid
PID Control Logic
stabilizer
Flight Stabilization Orchestrator

Structs§

AttitudeController
A container for the three primary rotational control axes.
AxisProcessor
A generic controller for a single physical axis.
FailsafeMonitor
PidConfig
Configuration parameters for a PID controller.
PidController
A stateful PID controller.
QuadMotorSignals
A collection of normalized pulse-width modulation (PWM) signals for a quadcopter’s Electronic Speed Controllers (ESCs).
QuadXMixer
A stateless utility for calculating motor power distribution.
Stabilizer
The top-level interface for the flight control system.

Enums§

ArmingState
Defines the operational safety state of the vehicle.
FailsafeLevel

Traits§

Mixer
Common interface for different airframe geometries.