42 #ifndef __MFDDATALAUNCHMFD_H
43 #define __MFDDATALAUNCHMFD_H
47 #include "BODYPHYS_ORB.h"
48 #include "TGTPARAM_ORB.h"
49 #include "LaunchMFD.h"
50 #include "FlightDirector.h"
51 #include "PEG/PEGNormal.h"
52 #include "PEG/PEGDirectAscentStd.h"
53 #include "PEG/PEGDirectAscentSynchro.h"
54 #include "PEG/PEGMulti.h"
55 #include "EnergyPitchProgram.hpp"
56 #include "ShipVariables.h"
57 #include "StagingDetector.hpp"
58 #include "GreatCircle.h"
60 #include <multipleVesselsMFD/MFDData.hpp>
61 #include <Systems/Point.hpp>
63 #include "Autopilot/AutopilotType.hpp"
64 #include "OffPlaneCorrector/OffPlaneCorrector.hpp"
65 #include "OffPlaneCorrector/OffPlaneCorrectorStandard.hpp"
66 #include "OffPlaneCorrector/OffPlaneCorrectorDirectAscent.hpp"
67 #include "Autopilot/PIDAP.hpp"
68 #include "Autopilot/PitchProgramReader.h"
70 #include "MovementParams.h"
107 void ReactOnShipStatus();
108 double GetCurrentAlt()
const;
109 double GetAzimuth()
const;
110 double GetAutomaticAlt(OBJHANDLE hRef);
111 void SwitchAutopilot( AutopilotType type );
114 AutopilotType GetAutopilotType()
const;
116 void MainEngineOn(
double level = 1 );
118 void CheckLatitudeVsInclination();
119 void UpdateTgtParam();
120 void CheckPlanetChange();
122 bool IsInAtmosphere()
const;
123 double GetTargetPitch();
124 double GetTimeSinceLaunch()
const;
125 bool IsStopConditionPitch()
const;
126 double GetTMECO()
const;
127 NavMode GetNavMode()
const;
129 char * GetTargetStr()
const;
130 const std::string & GetTargetStdStr()
const;
132 void SetTargetStr(
const std::string & tgt );
133 OBJHANDLE GetTargetBody()
const;
134 VESSEL * GetTargetVessel()
const;
137 void ChangeCompassDisplayMode();
139 void SwitchAzimuth();
140 double GetMi()
const;
145 bool half_ov_reached;
148 bool newAtmosphericModel;
151 double InclinationFactor;
176 LaunchCompass::DisplayMode m_compassDisplayMode;
177 bool m_daSynchroOrbit;
178 bool m_useOffplaneCorrector;
181 double calculate_azimuth();
182 void CalcAzimuthLock();
183 void DetectStaging();
192 AutopilotType autopilotType;
196 const std::string m_tagPitchProgramEnergy;
200 bool m_justReachedOrbit;
203 unsigned m_numStageSaved;
205 double final_vel_module;
208 std::string strTarget;