CogniPilot

MODELICA LIBRARY · ENGINEERING REFERENCE

package

Vehicles.Cubs2

CUBS2 vehicle configuration and flight-control models

OuterLoop is the deployable controller. Closed-loop tests use OnboardStabilizerSurrogate for the proprietary onboard stabilizer. They qualify the outer loop under that simulation assumption, not the unavailable stabilizer implementation.

Members

NameKindDescription
PlantmodelCUBS2 Sport Cub parameterization
InterfacespackageTyped tensor and message boundaries for CUBS2
OnboardStabilizerSurrogateblockBehavioral surrogate for the proprietary onboard stabilizer
OuterLoopComponentspackageReusable records and sampled controller blocks for the Sport Cub S2 outer loop
OuterLoopblock
AvionicsSystemblockCUBS2 outer-loop runtime composed with a simulation-only stabilizer
ClosedLoopVehiclemodelClosed-loop CUBS2 plant using the onboard-stabilizer surrogate
AvionicsPlantmodelCUBS2 PWM and odometry boundary around the physical plant
TestpackageCUBS2 model-level test missions

Modelica declarations and implementation

Show parameters, interfaces and source

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

package Cubs2 "CUBS2 vehicle configuration and flight-control models"
  annotation(Documentation(info = "<html>
    <p><a href=\"modelica://Vehicles.Cubs2.OuterLoop\">OuterLoop</a> is the
    deployable controller. Closed-loop tests use
    <a href=\"modelica://Vehicles.Cubs2.OnboardStabilizerSurrogate\">OnboardStabilizerSurrogate</a>
    for the proprietary onboard stabilizer. They qualify the outer loop under
    that simulation assumption, not the unavailable stabilizer implementation.</p>
    </html>"));
end Cubs2;