WSF
wsf::six_dof::RigidBodyMoverTestObject Class Reference

#include <WsfRigidBodySixDOF_MoverTestObject.hpp>

Inheritance diagram for wsf::six_dof::RigidBodyMoverTestObject:
Collaboration diagram for wsf::six_dof::RigidBodyMoverTestObject:

Public Member Functions

 RigidBodyMoverTestObject (RigidBodyMover *aParentMover)
 Constructor.
MoverGetParentVehicle () const override
void Autotune ()
void CreateAutopilotConfigFile (const std::string &aFilename) override
utils::CanFlyAtReturnValue CanFlyAt (double aAltitude_ft, double aVelocity_fps, double aThrottle, double aFlaps=0.0) override
double TurnRateAt (double aSpecificExcessPower_fps, double aTrueSpeed_fps, double aThrottleSetting) override
double TurnRateWithConditions (double aSpecificExcessPower_fps, double aCurrentMass_lbs, double aMaxGLoad, double aAltitude_ft, double aAirspeed_fps, double aThrottleSetting) override
double GetPitchingMoment (double aAltitude_ft, double aMach, double aAlpha_deg, double aStickBack)
void CreateAutopilotSupportFile (const std::string &aFilename) override
void CreateAutopilotSupportFileWithMaxMach (const std::string &aFilename, const double &aMaxMach) override
void LimitAlphaByMaxGLoad (double aMach, double aMaxGLoad, double aDynPressure_ppsqft, double &aAlpha_rad) override
void LimitAlphaByMaxGLoad (double aMach, double aMaxGLoad, double aDynPressure_ppsqft, double aCurrentMass_lbs, double &aAlpha_rad) override
void SetVehicleMass (double aMass_lbs) override
double MaxInstantaneousGLoad (double aAltitude_ft, double aMach, double aCurrentMass_lbs) override
Public Member Functions inherited from wsf::six_dof::MoverTestObject
std::unique_ptr< EngineGetTestEngineFromThrustProducer (ThrustProducerObject *aEngine) const
void Update (double aSimTime)
double GetRangeSinceStart_km () const
void SetMasterNoLagTesting (bool aEnable)
void SetMasterFreezeLocation (bool aEnable)
void SetMasterFreezeAltitude (bool aEnable)
void SetMasterFreezeVerticalSpeed (bool aEnable)
void SetMasterFreezePitch (bool aEnable)
void SetMasterFreezeRoll (bool aEnable)
void SetMasterFreezeYaw (bool aEnable)
void SetMasterFreezeFuelBurn (bool aEnable)
void SetMasterFreezeSpeed (bool aEnable)
void SetMasterNoAlphaTesting (bool aEnable)
double GetLevelFlightHorizontalThrust (double aAltitude_ft, double aMach, double aThrottle, double aGrossWeight_lbs)
double GetLevelFlightDrag (double aAltitude_ft, double aMach, double aGrossWeight_lbs)
double GetLevelFlightFuelBurnRate (double aAltitude_ft, double aMach, double aGrossWeight_lbs)
void FlyStraightLevelFullThrottle ()
double GetMaxGLoad ()

Protected Member Functions

double AlphaAtDesiredDrag (double aAlt_ft, double aSpeed_fps, double aDrag_lbs, bool &aOk) override
bool AlphaAtDesiredDrag (double aAlt_ft, double aMach, double aDrag_lbs, double aCurrentMass_lbs, double aMaxGLoad, double &aAlpha_rad) override
bool CalcLevelFlightDragAndAlpha (double aAltitude_ft, double aMach, double aGrossWeight_lbs, double &aDrag_lbs, double &aAlpha_deg) override
Protected Member Functions inherited from wsf::six_dof::MoverTestObject
void SetupForTestingMode (bool aFreezeFuelBurn)
void RestoreFromTestingMode ()
double ThrottleSettingToProduceThrust (ThrustProducerObject *aEngine, const Environment *aAtm, double aAltitude_ft, double aMach, double aRequiredThrust_lbs)
double FuelBurnAtRequiredThrust (ThrustProducerObject *aEngine, const Environment *aAtm, double aAltitude_ft, double aMach, double aRequiredThrust_lbs)
double FuelBurnAtThrottleSetting (ThrustProducerObject *aEngine, const Environment *aAtm, double aAltitude_ft, double aMach, double aThrottle)
double ThrustAtThrottleSetting (ThrustProducerObject *aEngine, const Environment *aEnv, double aAltitude_ft, double aMach, double aThrottle)
const EnvironmentGetEnvironment ()

Protected Attributes

RigidBodyMovermParentMover = nullptr
Protected Attributes inherited from wsf::six_dof::MoverTestObject
bool mTestingNoLag = false
bool mTestingFreezeFuelBurn = false

Constructor & Destructor Documentation

◆ RigidBodyMoverTestObject()

wsf::six_dof::RigidBodyMoverTestObject::RigidBodyMoverTestObject ( RigidBodyMover * aParentMover)
explicit

Constructor.

References mParentMover.

Member Function Documentation

◆ AlphaAtDesiredDrag() [1/2]

bool wsf::six_dof::RigidBodyMoverTestObject::AlphaAtDesiredDrag ( double aAlt_ft,
double aMach,
double aDrag_lbs,
double aCurrentMass_lbs,
double aMaxGLoad,
double & aAlpha_rad )
overrideprotectedvirtual

◆ AlphaAtDesiredDrag() [2/2]

◆ Autotune()

void wsf::six_dof::RigidBodyMoverTestObject::Autotune ( )

◆ CalcLevelFlightDragAndAlpha()

◆ CanFlyAt()

wsf::six_dof::utils::CanFlyAtReturnValue wsf::six_dof::RigidBodyMoverTestObject::CanFlyAt ( double aAltitude_ft,
double aVelocity_fps,
double aThrottle,
double aFlaps = 0.0 )
overridevirtual

◆ CreateAutopilotConfigFile()

void wsf::six_dof::RigidBodyMoverTestObject::CreateAutopilotConfigFile ( const std::string & aFilename)
overridevirtual

◆ CreateAutopilotSupportFile()

void wsf::six_dof::RigidBodyMoverTestObject::CreateAutopilotSupportFile ( const std::string & aFilename)
overridevirtual

◆ CreateAutopilotSupportFileWithMaxMach()

void wsf::six_dof::RigidBodyMoverTestObject::CreateAutopilotSupportFileWithMaxMach ( const std::string & aFilename,
const double & aMaxMach )
overridevirtual

◆ GetParentVehicle()

wsf::six_dof::Mover * wsf::six_dof::RigidBodyMoverTestObject::GetParentVehicle ( ) const
overridevirtual

◆ GetPitchingMoment()

◆ LimitAlphaByMaxGLoad() [1/2]

void wsf::six_dof::RigidBodyMoverTestObject::LimitAlphaByMaxGLoad ( double aMach,
double aMaxGLoad,
double aDynPressure_ppsqft,
double & aAlpha_rad )
overridevirtual

◆ LimitAlphaByMaxGLoad() [2/2]

void wsf::six_dof::RigidBodyMoverTestObject::LimitAlphaByMaxGLoad ( double aMach,
double aMaxGLoad,
double aDynPressure_ppsqft,
double aCurrentMass_lbs,
double & aAlpha_rad )
overridevirtual

◆ MaxInstantaneousGLoad()

◆ SetVehicleMass()

void wsf::six_dof::RigidBodyMoverTestObject::SetVehicleMass ( double aMass_lbs)
overridevirtual

◆ TurnRateAt()

◆ TurnRateWithConditions()

Member Data Documentation

◆ mParentMover


The documentation for this class was generated from the following files:
Copyrights Multiple, All Rights Reserved