block
Vehicles.Cubs2.OuterLoopComponents.RouteGuidanceInterface
Public declarations
Explicit source declarations; dimensions, modifications and defaults are shown as written, without evaluation.
| Role | Name | Type | Dimensions / attributes / default | Description |
|---|---|---|---|---|
| parameter | dt | Real | (unit="s", min=1.0e-9) = 0.02 | |
| parameter | route | RouteParameters | = RouteParameters() | |
| output | currentWaypoint | Integer | (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;