CogniPilot

MODELICA LIBRARY · ENGINEERING REFERENCE

model

Tests.HorizonRefusals.ZeroHorizon

A horizon shorter than one release window

Base classes

Tests.HorizonRefusals.Driver

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.

model ZeroHorizon "A horizon shorter than one release window"
    // horizonWindows rounds to zero here, and at zero windows the first
    // release hands over the ring slot the tick has not written yet: a zero
    // span and a zero quaternion. The consumer divides the rotation increment
    // by that span, so the packet reaches the filter as a not-a-number. This
    // model exists to prove the block refuses rather than publishes it.
    extends Tests.HorizonRefusals.Driver(fusionHorizon_s=0.0);
  end ZeroHorizon;