CogniPilot

MODELICA LIBRARY · ENGINEERING REFERENCE

package

Vehicles.Interfaces

Reusable avionics boundary conversions

Members

NameKindDescription
centeredPwmToUnitfunctionMap centered PWM microseconds to [-1, 1]
throttlePwmToUnitfunctionMap throttle PWM microseconds to [0, 1]
switchBandPositionfunctionQuantize a switch channel into a band index with edge hysteresis
activeScheduleRowfunctionLocate the last schedule row whose activation time has passed
scheduledChannelsfunctionHold one row of a time-indexed channel schedule
eulerFromQuaternionfunctionReturn roll, pitch, yaw from a scalar-first quaternion

Modelica declarations and implementation

Show parameters, interfaces and source

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

package Interfaces "Reusable avionics boundary conversions"
end Interfaces;