Rise
The Vieneo Province
Loading...
Searching...
No Matches
FMA2.cpp
Go to the documentation of this file.
1#include "../Instrument.h"
2#include "../../Bus.h"
4
5namespace {
6// Presentation follows live control ownership, not the retained plan. ALIGN
7// includes holding the burn attitude: an aligned nose is not a free nose.
8constexpr int DorAlignmentMode = -2;
9const wchar_t* DorThrustPhase(const Orbital::BusState& orbit, double now, bool frozen)
10{
11 const auto& g = orbit.guidance;
12 if (frozen || !g.valid || now < orbit.sourceTime || now - orbit.sourceTime >= .5 || g.ascentWaiting) return L"WAIT";
13 if (g.ascentControl && g.ascentLiftoff) return L"VTOL";
14 if (g.poweredRendezvous && g.thrust) {
15 const double main=Orbital::Dot(g.accelerationCommand,g.pointing);
16 const double quiet=(std::max)(1e-5,orbit.entryForwardAcceleration*.01);
17 return main < -quiet ? L"BRAKE" : main > quiet ? L"BURN" : L"RCS";
18 }
19 const bool translation = g.thrust && ((!g.ascentControl && !g.entryControl) ||
20 Orbital::Norm(g.accelerationCommand) > 1e-8 || std::abs(g.ascentMain) > 1e-4 || std::abs(g.ascentNormal) > 1e-4);
21 if (translation) {
22 if (g.entryControl && (g.entryLimited || Orbital::Dot(g.accelerationCommand, g.pointing) < -1e-8))
23 return L"BRAKE";
24 return L"BURN";
25 }
26 // Include actual attitude stabilization/pilot pulses during free coast.
27 // Telemetry is in program time, not the paused orbital planning clock.
28 const auto& a = orbit.actuation;
29 const bool fresh = a.dor && a.valid && now >= a.programTime && now - a.programTime < .5;
30 if (Orbital::Norm(g.rotationCommand) > .01 || (fresh && Orbital::Norm(a.rotationEffort) > .01))
31 return L"RCS";
32 return g.phase == Orbital::Phase::Wait ? L"WAIT" : L"COAST";
33}
34}
35
36FMA2::FMA2(int prmX, int prmY, float prmXScale, float prmYScale, Bus* prmBus, Logger* prmLogger, DeviceObject* prmDevice, std::vector<Font*> prmFonts) :
37 Instrument(prmX, prmY, prmXScale, prmYScale, prmBus, prmLogger, prmDevice, prmFonts)
38{
39 logger->AddToCallStack("FMA2::ctor");
40 defaultFont = 1;
41
42 speedModeBarCurrent = new Sprite(logger, pDevice, "Textures/Instruments/cas-bar.png", prmX + 2, prmY + 2, 0.93f, 0, 0, 28, 10, 0xFFFFFFFF);
43 autopilotBarCurrent = new Sprite(logger, pDevice, "Textures/Instruments/cas-bar.png", prmX + 51, prmY + 2, 0.93f, 0, 0, 28, 10, 0xFFFFFFFF);
44 thrustModeBarCurrent = new Sprite(logger, pDevice, "Textures/Instruments/cas-bar.png", prmX + 51, prmY + 14, 0.93f, 0, 0, 28, 10, 0xFFFFFFFF);
45 lateralModeBarCurrent = new Sprite(logger, pDevice, "Textures/Instruments/cas-bar.png", prmX + 90, prmY + 14, 0.93f, 0, 0, 28, 10, 0xFFFFFFFF);
46 lateralModeBarStandby = new Sprite(logger, pDevice, "Textures/Instruments/cas-bar.png", prmX + 90, prmY + 2, 0.93f, 0, 0, 28, 10, 0xFFFFFFFF);
47 glideslopeModeBarStandby = new Sprite(logger, pDevice, "Textures/Instruments/cas-bar.png", prmX + 151, prmY + 2, 0.93f, 0, 0, 28, 10, 0xFFFFFFFF);
48 pitchModeBarCurrent = new Sprite(logger, pDevice, "Textures/Instruments/cas-bar.png", prmX + 151, prmY + 14, 0.93f, 0, 0, 28, 10, 0xFFFFFFFF);
49 altitudeModeBarCurrent = new Sprite(logger, pDevice, "Textures/Instruments/cas-bar.png", prmX + 180, prmY + 14, 0.93f, 0, 0, 28, 10, 0xFFFFFFFF);
50 vsiModeBarCurrent = new Sprite(logger, pDevice, "Textures/Instruments/cas-bar.png", prmX + 209, prmY + 14, 0.93f, 0, 0, 28, 10, 0xFFFFFFFF);
51
52 lampTest = 10.0f;
53 speedModeTimer = 3.0f;
54 autopilotTimer = 3.0f;
55 lateralModeTimer = 3.0f;
58 pitchModeTimer = 3.0f;
59 altitudeModeTimer = 3.0f;
60 vsiModeTimer = 3.0f;
61
62}
63
65{
68 {
69 DrawTextW(L"SPD", 5, 1, 0.95f, DT_NOCLIP, speedModeTextColor, 1, "");
70 DrawTextW(L"E", 19, 5, 0.95f, DT_NOCLIP, speedModeTextColor, 3, "");
71 DrawTextW(speedStr, 9, 13, 0.95f, DT_NOCLIP, 0xFFFF00FF, 1, "");
72 }
73
75 if (lampTest)
76 DrawText(L"A/F", 56, 1, 1.0f, DT_NOCLIP, autopilotTextColor, 1, "");
77 else if (dorEngaged)
78 DrawText(L"DOR", 56, 1, 1.0f, DT_NOCLIP, autopilotTextColor, 1, "");
79 else if (autopilotEngaged)
80 DrawText(L"A/F", 56, 1, 1.0f, DT_NOCLIP, autopilotTextColor, 1, "");
81 else if (tvmEngaged)
82 DrawText(L"TVM", 56, 1, 1.0f, DT_NOCLIP, autopilotTextColor, 1, "");
84 if (lampTest)
85 DrawText(L"A/T", 56, 13, 1.0f, DT_NOCLIP, autopilotTextColor, 1, "");
86 else if (dorEngaged) {
87 // FMA2 font 1 is five pixels wide in every installed FMA2 display.
88 const int x = 51 + (28 - 5 * int(wcslen(thrustModeText))) / 2;
89 DrawTextW(thrustModeText, x, 13, 1.0f, DT_NOCLIP, thrustModeTextColor, 1, "");
90 }
92 DrawText(L"A/T", 56, 13, 1.0f, DT_NOCLIP, autopilotTextColor, 1, "");
93
96 DrawTextW(lateralModeText, lateralMode == DorAlignmentMode ? 91 : 96, 13, 1.0f, DT_NOCLIP, lateralModeTextColor, 1, "");
97
100 DrawText(L"LOC", 96, 1, 1.0f, DT_NOCLIP, lateralModeStandbyTextColor, 1, "");
101
103 if (pitchMode || lampTest)
104 DrawTextW(pitchModeText, pitchMode == DorAlignmentMode ? 153 : 158, 13, 1.0f, DT_NOCLIP, pitchModeTextColor, 1, "");
105
107 wchar_t angle[12];
108 swprintf_s(angle, L"%+.1f", RiseMath::ToDegree(pitchMode == Bus::Afcs::FlightPathAngle ?
110 DrawTextW(angle, 151, 25, .95f, DT_NOCLIP, 0xFFFF00FF, 1, "");
111 }
114 DrawText(L"G/S", 158, 1, 1.0f, DT_NOCLIP, glideslopeModeStandbyTextColor, 1, "");
115
117 if (altitudeMode || lampTest)
118 {
119 DrawTextW(L"ALT", 184, 13, 1.0f, DT_NOCLIP, altitudeModeTextColor, 1, "");
120 DrawTextW(altitudeModeText, 198, 17, 0.95f, DT_NOCLIP, altitudeModeTextColor, 3, "");
121 }
122 else if (bus->AFCS.DesiredAltitudeKm != 0 ||
124 {
125 DrawTextW(L"ALT", 184, 1, 0.95f, DT_NOCLIP, 0xFFAAAAAA, 1, "");
126 DrawTextW(L"M", 198, 5, 0.95f, DT_NOCLIP, 0xFFAAAAAA, 3, "");
127 }
130 DrawTextW(altStr, 181, 25, 0.95f, DT_NOCLIP, 0xFFFF00FF, 1, "");
131
134 {
135 DrawText(L"V/S", 215, 13, 1.0f, DT_NOCLIP, vsiModeTextColor, 1, "");
136 DrawTextW(vsiStr, 213, 25, 0.95f, DT_NOCLIP, 0xFFFF00FF, 1, "");
137 }
138}
139
140void FMA2::FrameMove(float fElapsed)
141{
142 if (lampTest)
143 {
144 lampTest -= fElapsed;
145 if (lampTest < 0)
146 lampTest = 0;
147 }
148
150 {
152 speedModeTimer = 0.0f; // reset
153 }
154 speedModeTimer += fElapsed;
155 if (speedModeTimer <= 3.0f)
156 {
157 speedModeTextColor = 0xFF000000; // black
158 speedModeBackColor = 0xFF00FF00; // green
159 }
160 else
161 {
162 speedModeTextColor = 0xFF00FF00;
163 speedModeBackColor = 0xFF000000;
164 }
165
166 // TVM and DOR both use the ordinary lateral Off enum. Track their
167 // engagement changes before updating the cached flags, so labels cannot stick.
168 const bool orbitalModeChanged = tvmEngaged != bus->AFCS.TvmOn || dorEngaged != bus->AFCS.DorOn;
169 if (autopilotEngaged != bus->AFCS.AutopilotEngaged || orbitalModeChanged)
170 {
174 autopilotTimer = 0.0f; // reset
175 }
176 autopilotTimer += fElapsed;
177 if (autopilotTimer <= 3.0f)
178 {
179 autopilotTextColor = 0xFF000000; // black
180 autopilotBackColor = 0xFF00FF00; // green
181 }
182 else
183 {
184 autopilotTextColor = 0xFF00FF00;
185 autopilotBackColor = 0xFF000000;
186 }
187
188 const auto* phaseText = dorEngaged ? DorThrustPhase(bus->orbit, bus->ProgramTime, bus->FlightFreeze) : L"";
189 // Treat a burst of attitude pulses as one indication. This presentation
190 // hold never changes ALIGN, control ownership or the actual RCS commands.
191 if (wcscmp(phaseText,L"RCS")==0) dorRcsUntil=bus->ProgramTime+.75;
192 else if (wcscmp(phaseText,L"COAST")==0 && bus->ProgramTime<dorRcsUntil && bus->ProgramTime>=dorRcsUntil-.75)
193 phaseText=L"RCS";
194 else dorRcsUntil=-1;
195 if (wcscmp(thrustModeText, phaseText) != 0) {
196 wcscpy_s(thrustModeText, phaseText);
197 thrustModeTimer = 0;
198 }
199 thrustModeTimer += fElapsed;
200 thrustModeTextColor = thrustModeTimer <= 3 ? 0xFF000000 : 0xFF00FF00;
201 thrustModeBackColor = thrustModeTimer <= 3 && thrustModeText[0] ? 0xFF00FF00 : 0xFF000000;
202
203 const bool dorControl = dorEngaged && bus->orbit.guidance.valid && !bus->FlightFreeze &&
205 const bool dorAircraft = dorControl && bus->AFCS.DorAircraft;
206 const bool dorAttitude = dorControl && bus->orbit.guidance.attitude;
207 int displayedLateral = bus->AFCS.CurrentLateralMode;
208 if (dorEngaged)
209 displayedLateral = dorAircraft && displayedLateral == Bus::Afcs::Heading ? Bus::Afcs::Heading :
210 dorAircraft || dorAttitude ? DorAlignmentMode : Bus::Afcs::LateralMode_Off;
211 if (lateralMode != displayedLateral ||
212 (displayedLateral == Bus::Afcs::LateralMode_Off && orbitalModeChanged))
213 {
214 lateralMode = displayedLateral;
215 lateralModeTimer = 0.0f; // reset
216 // ReSharper disable once CppDefaultCaseNotHandledInSwitchStatement
217 // ReSharper disable once CppIncompleteSwitchStatement
218 switch (displayedLateral)
219 {
220 case DorAlignmentMode:
221 wcscpy_s(lateralModeText, L"ALIGN");
222 break;
224 {
225 wcscpy_s(lateralModeText, 8, L"T/O");
226 }
227 break;
229 {
230 if (bus->AFCS.TvmOn && !dorEngaged)
231 wcscpy_s(lateralModeText, 8, L"TVM");
232 else
233 lateralModeText[0] = 0;
234 }
235 break;
237 {
238 wcscpy_s(lateralModeText, 8, L"ROL");
239 }
240 break;
242 {
243 wcscpy_s(lateralModeText, 8, L"HDG");
244 }
245 break;
247 {
248 wcscpy_s(lateralModeText, 8, L"NAV");
249 }
250 break;
252 {
253 wcscpy_s(lateralModeText, 8, L"LOC");
254 }
255 break;
256 }
257 }
258 lateralModeTimer += fElapsed;
259 if (lateralModeTimer <= 3.0f)
260 {
261 lateralModeTextColor = 0xFF000000; // black
262 lateralModeBackColor = 0xFF00FF00; // green
263 }
264 else
265 {
266 lateralModeTextColor = 0xFF00FF00;
267 lateralModeBackColor = 0xFF000000;
268 }
269
271 {
273 lateralModeStandbyTimer = 0.0f; // reset
274 }
275 lateralModeStandbyTimer += fElapsed;
276 if (lateralModeStandbyTimer <= 3.0f)
277 {
278 lateralModeStandbyTextColor = 0xFF000000; // black
279 lateralModeStandbyBackColor = 0xFFAAAAAA; // gray
280 }
281 else
282 {
283 lateralModeStandbyTextColor = 0xFFAAAAAA;
284 lateralModeStandbyBackColor = 0xFF000000;
285 }
286
292 newPitchMode = bus->AFCS.CurrentVerticalMode;
293 if (dorEngaged) {
294 const bool aircraftPitch = dorAircraft && (newPitchMode == Bus::Afcs::Pitch || newPitchMode == Bus::Afcs::FlightPathAngle);
295 if (!aircraftPitch) newPitchMode = dorAircraft || dorAttitude ? DorAlignmentMode : Bus::Afcs::VerticalMode_Off;
296 }
297
298 if (pitchMode != newPitchMode)
299 {
300 pitchMode = newPitchMode;
301 pitchModeTimer = 0.0f; // reset
302 if (newPitchMode == DorAlignmentMode)
303 wcscpy_s(pitchModeText, L"ALIGN");
304 else if (newPitchMode == Bus::Afcs::VerticalModes::Glideslope)
305 wcscpy_s(pitchModeText, 8, L"G/S");
306 else if (newPitchMode == Bus::Afcs::FlightPathAngle)
307 wcscpy_s(pitchModeText, 8, L"FPA");
308 else if (newPitchMode == Bus::Afcs::VerticalModes::Pitch)
309 wcscpy_s(pitchModeText, 8, L"PIT");
310 else if (newPitchMode == Bus::Afcs::VerticalModes::VerticalMode_TakeOff)
311 {
312 if (playerships[0].reference == -2)
313 wcscpy_s(pitchModeText, 8, L"T/O");
314 else
315 wcscpy_s(pitchModeText, 8, L"G/A");
316 }
317 else pitchModeText[0] = 0;
318 }
319 pitchModeTimer += fElapsed;
320 if (pitchModeTimer <= 3.0f)
321 {
322 pitchModeTextColor = 0xFF000000; // black
323 pitchModeBackColor = 0xFF00FF00; // green
324 }
325 else
326 {
327 pitchModeTextColor = 0xFF00FF00;
328 pitchModeBackColor = 0xFF000000;
329 }
330
332 {
334 glideslopeModeStandbyTimer = 0.0f; // reset
335 }
336 glideslopeModeStandbyTimer += fElapsed;
337 if (glideslopeModeStandbyTimer <= 3.0f)
338 {
339 glideslopeModeStandbyTextColor = 0xFF000000; // black
340 glideslopeModeStandbyBackColor = 0xFFAAAAAA; // gray
341 }
342 else
343 {
346 }
347
348 int newAltitudeMode = Bus::Afcs::VerticalModes::VerticalMode_Off;
351 newAltitudeMode = bus->AFCS.CurrentVerticalMode;
352
353 if (altitudeMode != newAltitudeMode)
354 {
355 altitudeMode = newAltitudeMode;
356 altitudeModeTimer = 0.0f; // reset
358 wcscpy_s(altitudeModeText, 8, L"M");
360 wcscpy_s(altitudeModeText, 8, L"A");
361 }
362 altitudeModeTimer += fElapsed;
363 if (altitudeModeTimer <= 3.0f)
364 {
365 altitudeModeTextColor = 0xFF000000; // black
366 altitudeModeBackColor = 0xFF00FF00; // green
367 }
368 else
369 {
370 altitudeModeTextColor = 0xFF00FF00;
371 altitudeModeBackColor = 0xFF000000;
372 }
373
375 {
377 vsiModeTimer = 0.0f; // reset
378 }
379 vsiModeTimer += fElapsed;
380 if (vsiModeTimer <= 3.0f)
381 {
382 vsiModeTextColor = 0xFF000000; // black
383 vsiModeBackColor = 0xFF00FF00; // green
384 }
385 else
386 {
387 vsiModeTextColor = 0xFF00FF00;
388 vsiModeBackColor = 0xFF000000;
389 }
390
391 swprintf_s(speedStr, 8, L"%3.0f", bus->AFCS.DesiredIasKms * 1000.0f);
392
394 {
395 WCHAR arrow;
396 if (bus->AFCS.DesiredVsiKms >= 0.0005f)
397 arrow = L'\u2191'; // up arrow
398 else if (bus->AFCS.DesiredVsiKms <= -0.0005f)
399 arrow = L'\u2193'; // down arrow
400 else
401 arrow = L' '; // space
402 swprintf_s(vsiStr, 8, L"%c%3.0f", arrow, fabsf(bus->AFCS.DesiredVsiKms * 1000.0f));
403 }
404
406
407 // A preview is not a command source. After DOR releases control, show
408 // the selected HDG/CRS even while the inactive ascent plan keeps updating.
414 else
416}
SCRIPT_CONTROL SCRIPT_STATE const void int
void Format4Sig(wchar_t *res, const float num)
Definition Bus.h:20
struct Bus::Afcs AFCS
bool FlightFreeze
Definition Bus.h:474
double ProgramTime
Definition Bus.h:473
Orbital::BusState orbit
Definition Bus.h:481
bool dorEngaged
Definition Instrument.h:404
float autopilotTimer
Definition Instrument.h:412
Sprite * glideslopeModeBarStandby
Definition Instrument.h:397
int altitudeMode
Definition Instrument.h:407
bool tvmEngaged
Definition Instrument.h:403
DWORD glideslopeModeStandbyTextColor
Definition Instrument.h:431
DWORD thrustModeBackColor
Definition Instrument.h:426
DWORD vsiModeBackColor
Definition Instrument.h:438
WCHAR lateralModeText[8]
Definition Instrument.h:439
DWORD vsiModeTextColor
Definition Instrument.h:437
DWORD speedModeTextColor
Definition Instrument.h:421
Sprite * pitchModeBarCurrent
Definition Instrument.h:398
DWORD pitchModeTextColor
Definition Instrument.h:433
DWORD pitchModeBackColor
Definition Instrument.h:434
bool localizerArmed
Definition Instrument.h:409
DWORD autopilotBackColor
Definition Instrument.h:424
DWORD lateralModeStandbyBackColor
Definition Instrument.h:430
Sprite * speedModeBarCurrent
Definition Instrument.h:392
Sprite * autopilotBarCurrent
Definition Instrument.h:393
void Render() override
Definition FMA2.cpp:64
WCHAR pitchModeText[8]
Definition Instrument.h:442
float thrustModeTimer
Definition Instrument.h:413
float altitudeModeTimer
Definition Instrument.h:418
int lateralMode
Definition Instrument.h:405
FMA2(int prmX, int prmY, float prmXScale, float prmYScale, Bus *prmBus, Logger *prmLogger, DeviceObject *prmDevice, std::vector< Font * > prmFonts)
Definition FMA2.cpp:36
WCHAR speedStr[8]
Definition Instrument.h:444
bool glideslopeArmed
Definition Instrument.h:410
float pitchModeTimer
Definition Instrument.h:417
DWORD speedModeBackColor
Definition Instrument.h:422
Sprite * thrustModeBarCurrent
Definition Instrument.h:394
DWORD glideslopeModeStandbyBackColor
Definition Instrument.h:432
Sprite * lateralModeBarCurrent
Definition Instrument.h:395
bool autopilotEngaged
Definition Instrument.h:402
int pitchMode
Definition Instrument.h:406
DWORD altitudeModeBackColor
Definition Instrument.h:436
Sprite * lateralModeBarStandby
Definition Instrument.h:396
WCHAR vsiStr[8]
Definition Instrument.h:445
float lateralModeTimer
Definition Instrument.h:414
float speedModeTimer
Definition Instrument.h:411
float glideslopeModeStandbyTimer
Definition Instrument.h:416
DWORD lateralModeTextColor
Definition Instrument.h:427
bool speedPitchMode
Definition Instrument.h:401
float lateralModeStandbyTimer
Definition Instrument.h:415
WCHAR thrustModeText[8]
Definition Instrument.h:440
void FrameMove(float fElapsed) override
Definition FMA2.cpp:140
DWORD thrustModeTextColor
Definition Instrument.h:425
Sprite * altitudeModeBarCurrent
Definition Instrument.h:399
float lampTest
Definition Instrument.h:420
float vsiModeTimer
Definition Instrument.h:419
DWORD autopilotTextColor
Definition Instrument.h:423
DWORD lateralModeStandbyTextColor
Definition Instrument.h:429
DWORD altitudeModeTextColor
Definition Instrument.h:435
DWORD lateralModeBackColor
Definition Instrument.h:428
bool verticalSpeedMode
Definition Instrument.h:408
double dorRcsUntil
Definition Instrument.h:441
WCHAR altStr[16]
Definition Instrument.h:446
Sprite * vsiModeBarCurrent
Definition Instrument.h:400
WCHAR altitudeModeText[8]
Definition Instrument.h:443
Bus * bus
Definition Instrument.h:22
void DrawText(const WCHAR *str, int relativeX, int relativeY, float prmZ, int flags, RiseMath::Color color, int font=-1, std::string elementName="", int width=0, int height=0) const
Definition Instrument.h:49
Instrument(int prmX, int prmY, float prmXScale, float prmYScale, Bus *prmBus, Logger *prmLogger, DeviceObject *prmDevice, std::vector< Font * > prmFonts)
Definition Instrument.h:36
Logger * logger
Definition Instrument.h:23
DeviceObject * pDevice
Definition Instrument.h:21
UINT defaultFont
Definition Instrument.h:24
void AddToCallStack(const char *msg)
Definition Logger.cpp:355
Sprite(Logger *prmLogger, DeviceObject *prmpDevice, std::string prmPathAndFilename, int prmX, int prmY, float prmZ, int prmTop, int prmLeft, int prmWidth, int prmHeight, DWORD prmColor, float scaleX=1.0f, float scaleY=1.0f)
Definition Sprite.cpp:5
void Draw(RiseMath::Color prmColor)
Definition Sprite.cpp:75
s_network_objects playerships[MAX_SCAN]
Definition globals.cpp:112
double Dot(Vec a, Vec b)
Definition OrbitMath.h:16
bool AscentSelected(const BusState &data)
Definition OrbitState.h:353
double Norm(Vec a)
Definition OrbitMath.h:18
auto ToDegree(T value)
Definition ClientMath.h:14
float DesiredPitchRadians
Definition Bus.h:141
float DesiredAltitudeKm
Definition Bus.h:122
@ Navigation
Definition Bus.h:115
@ LateralMode_Off
Definition Bus.h:112
@ Localizer
Definition Bus.h:116
@ Heading
Definition Bus.h:114
@ LateralMode_TakeOff
Definition Bus.h:111
@ Roll
Definition Bus.h:113
float DesiredHeadingRadians
Definition Bus.h:133
float DesiredRadians
Definition Bus.h:138
@ Glideslope
Definition Bus.h:104
@ FlightPathAngle
Definition Bus.h:99
@ SpeedPitch
Definition Bus.h:101
@ Pitch
Definition Bus.h:98
@ VerticalMode_Off
Definition Bus.h:97
@ VerticalMode_TakeOff
Definition Bus.h:96
@ VerticalSpeed
Definition Bus.h:100
@ AltitudeAgl
Definition Bus.h:103
@ AltitudeMsl
Definition Bus.h:102
bool DorOn
Definition Bus.h:148
bool AutothrottleEngaged
Definition Bus.h:88
bool TvmOn
Definition Bus.h:151
enum Bus::Afcs::LateralModes CurrentLateralMode
float DesiredVsiKms
Definition Bus.h:129
float DesiredCourseRadians
Definition Bus.h:136
bool AutopilotEngaged
Definition Bus.h:87
bool DorAircraft
Definition Bus.h:149
float DesiredFpaRadians
Definition Bus.h:130
enum Bus::Afcs::VerticalModes StandbyVerticalMode
enum Bus::Afcs::LateralModes StandbyLateralMode
float DesiredIasKms
Definition Bus.h:126
enum Bus::Afcs::VerticalModes CurrentVerticalMode
double entryForwardAcceleration
Definition OrbitState.h:352
ActuationTelemetry actuation
Definition OrbitState.h:349
double ascentOrbitHeading
Definition OrbitState.h:293
bool ascentOrbitSteering
Definition OrbitState.h:52