CogniPilot

MODELICA LIBRARY · ENGINEERING REFERENCE

block

Vehicles.Cubs2.OuterLoopComponents.RouteGuidanceInterface

Public declarations

Explicit source declarations; dimensions, modifications and defaults are shown as written, without evaluation.

RoleNameTypeDimensions / attributes / defaultDescription
parameterdtReal(unit="s", min=1.0e-9) = 0.02
parameterrouteRouteParameters= RouteParameters()
outputcurrentWaypointInteger(min=1, max=6, start=1)

Modelica declarations and implementation

Show parameters, interfaces and source

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

block RouteGuidanceInterface
  parameter Real dt(unit="s", min=1.0e-9) = 0.02;
  parameter RouteParameters route = RouteParameters();

  FlightStateInput estimate;

  discrete output Integer currentWaypoint(min=1, max=6, start=1);
  GuidanceSetpointsOutput setpoints;
end RouteGuidanceInterface;