CogniPilot

MODELICA LIBRARY · ENGINEERING REFERENCE

block

Vehicles.Rdd2.LogLinearController

RDD2 parameterization of the log-linear controller

Applies the RDD2 mass, design gravity, trim thrust, and attitude gains to Control.Multirotor.LogLinear.Controller. The reusable geometric control algorithms remain in the Control library.

Base classes

Control.Multirotor.LogLinear.Controller

Follow base classes for inherited declarations; this page lists explicit declarations only.

Modelica declarations and implementation

Show parameters, interfaces and source

Parameters, inputs, outputs, defaults and equations from the source file.

block LogLinearController "RDD2 parameterization of the log-linear controller"
  extends Control.Multirotor.LogLinear.Controller(
    mass = 2.0,
    gravity = 9.8,
    thrustTrim = 19.6,
    attitudeGain = {2.0, 2.0, 1.0});
  annotation(Documentation(info="<html>
    <p>Applies the RDD2 mass, design gravity, trim thrust, and attitude gains
    to <code>Control.Multirotor.LogLinear.Controller</code>. The reusable
    geometric control algorithms remain in the <code>Control</code> library.</p>
  </html>"));
end LogLinearController;