model
Vehicles.Cubs2.Test.Scenarios.Takeoff
Base classes
Vehicles.Cubs2.ClosedLoopVehicle
Follow base classes for inherited declarations; this page lists explicit declarations only.
Public declarations
Explicit source declarations; dimensions, modifications and defaults are shown as written, without evaluation.
| Role | Name | Type | Dimensions / attributes / default | Description |
|---|---|---|---|---|
| parameter | takeoffRoute | Components.RouteParameters | = Components.RouteParameters(
cruiseSpeed = 4.5,
waypoints = [
0.0, 0.0, 0.0;
30.0, 0.0, 3.0;
60.0, 0.0, 3.0;
90.0, 0.0, 3.0;
120.0, 0.0, 3.0;
150.0, 0.0, 3.0;
180.0, 0.0, 3.0]) |
Modelica declarations and implementation
Show parameters, interfaces and source
Parameters, inputs, outputs, defaults and equations from the source file.
model Takeoff
parameter Components.RouteParameters takeoffRoute = Components.RouteParameters(
cruiseSpeed = 4.5,
waypoints = [
0.0, 0.0, 0.0;
30.0, 0.0, 3.0;
60.0, 0.0, 3.0;
90.0, 0.0, 3.0;
120.0, 0.0, 3.0;
150.0, 0.0, 3.0;
180.0, 0.0, 3.0]);
extends Vehicles.Cubs2.ClosedLoopVehicle(
route = takeoffRoute,
engaged = true,
armed = true,
stickOverrideActive = not airborne,
stickOverride = {0.0, 0.0, 0.0, 1.0});
end Takeoff;