|
WSF
|
#include <WsfRigidBodySixDOF_MoverTestObject.hpp>


Public Member Functions | |
| RigidBodyMoverTestObject (RigidBodyMover *aParentMover) | |
| Constructor. | |
| Mover * | GetParentVehicle () 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< Engine > | GetTestEngineFromThrustProducer (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 Environment * | GetEnvironment () |
Protected Attributes | |
| RigidBodyMover * | mParentMover = nullptr |
| Protected Attributes inherited from wsf::six_dof::MoverTestObject | |
| bool | mTestingNoLag = false |
| bool | mTestingFreezeFuelBurn = false |
|
explicit |
Constructor.
References mParentMover.
|
overrideprotectedvirtual |
Implements wsf::six_dof::MoverTestObject.
References wsf::six_dof::Environment::CalcDynamicPressure_psf(), wsf::six_dof::Environment::CalcFpsFromMach(), wsf::six_dof::CommonController::GetAlphaMaxMach(), wsf::six_dof::MoverTestObject::GetEnvironment(), wsf::six_dof::RigidBodyPilotManager::GetSpecialRigidBodyCommonController(), LimitAlphaByMaxGLoad(), and mParentMover.
|
overrideprotectedvirtual |
Implements wsf::six_dof::MoverTestObject.
References wsf::six_dof::Environment::CalcDynamicPressure_psf(), wsf::six_dof::Environment::CalcMachFromFps(), wsf::six_dof::CommonController::GetAlphaMaxMach(), wsf::six_dof::CommonController::GetCurrentLimitsAndSettings(), wsf::six_dof::MoverTestObject::GetEnvironment(), wsf::six_dof::RigidBodyPilotManager::GetSpecialRigidBodyCommonController(), LimitAlphaByMaxGLoad(), mParentMover, and wsf::six_dof::AutopilotLimitsAndSettings::pitchGLoad_Max.
Referenced by TurnRateAt(), and TurnRateWithConditions().
| void wsf::six_dof::RigidBodyMoverTestObject::Autotune | ( | ) |
References wsf::six_dof::utils::Autotune(), and mParentMover.
|
overrideprotectedvirtual |
Implements wsf::six_dof::MoverTestObject.
References wsf::six_dof::Environment::CalcDynamicPressure_psf(), wsf::six_dof::Environment::CalcFpsFromMach(), wsf::six_dof::CommonController::GetAlphaVsMachCL(), wsf::six_dof::CommonController::GetCLMaxMach(), wsf::six_dof::MoverTestObject::GetEnvironment(), wsf::six_dof::RigidBodyPilotManager::GetSpecialRigidBodyCommonController(), wsf::six_dof::RigidBodyCommonController::GetStickForZeroMomentVsMachAlpha(), and mParentMover.
|
overridevirtual |
Implements wsf::six_dof::MoverTestObject.
References wsf::six_dof::utils::CAN_NOT_FLY, wsf::six_dof::utils::CanFlyAt(), and mParentMover.
|
overridevirtual |
Implements wsf::six_dof::MoverTestObject.
References wsf::six_dof::utils::CreateAutopilotConfigFile(), and mParentMover.
|
overridevirtual |
Implements wsf::six_dof::MoverTestObject.
References wsf::six_dof::utils::CreateAutopilotSupportFile(), and mParentMover.
|
overridevirtual |
Implements wsf::six_dof::MoverTestObject.
References wsf::six_dof::utils::CreateAutopilotSupportFileWithMaxMach(), and mParentMover.
|
overridevirtual |
Implements wsf::six_dof::MoverTestObject.
References mParentMover.
| double wsf::six_dof::RigidBodyMoverTestObject::GetPitchingMoment | ( | double | aAltitude_ft, |
| double | aMach, | ||
| double | aAlpha_deg, | ||
| double | aStickBack ) |
|
overridevirtual |
Implements wsf::six_dof::MoverTestObject.
References mParentMover.
Referenced by AlphaAtDesiredDrag(), and AlphaAtDesiredDrag().
|
overridevirtual |
Implements wsf::six_dof::MoverTestObject.
References mParentMover.
|
overridevirtual |
Implements wsf::six_dof::MoverTestObject.
References wsf::six_dof::Environment::CalcDynamicPressure_psf(), wsf::six_dof::Environment::CalcFpsFromMach(), wsf::six_dof::CommonController::GetAlphaVsMachCL(), wsf::six_dof::CommonController::GetCLMaxMach(), wsf::six_dof::MoverTestObject::GetEnvironment(), wsf::six_dof::MoverTestObject::GetMaxGLoad(), wsf::six_dof::RigidBodyPilotManager::GetSpecialRigidBodyCommonController(), wsf::six_dof::RigidBodyCommonController::GetStickForZeroMomentVsMachAlpha(), mParentMover, and wsf::six_dof::MoverTestObject::RestoreFromTestingMode().
|
overridevirtual |
Implements wsf::six_dof::MoverTestObject.
References mParentMover.
|
overridevirtual |
Implements wsf::six_dof::MoverTestObject.
References AlphaAtDesiredDrag(), wsf::six_dof::Environment::CalcDynamicPressure_psf(), wsf::six_dof::Environment::CalcMachFromFps(), wsf::six_dof::MoverTestObject::GetEnvironment(), wsf::six_dof::PropulsionSystem::GetNumThrustProducers(), wsf::six_dof::PropulsionSystem::GetThrustProducerByIndex(), mParentMover, ok, wsf::six_dof::MoverTestObject::RestoreFromTestingMode(), wsf::six_dof::MoverTestObject::SetupForTestingMode(), and wsf::six_dof::MoverTestObject::ThrustAtThrottleSetting().
|
overridevirtual |
Implements wsf::six_dof::MoverTestObject.
References AlphaAtDesiredDrag(), wsf::six_dof::Environment::CalcDynamicPressure_psf(), wsf::six_dof::Environment::CalcMachFromFps(), wsf::six_dof::MoverTestObject::GetEnvironment(), wsf::six_dof::PropulsionSystem::GetNumThrustProducers(), wsf::six_dof::PropulsionSystem::GetThrustProducerByIndex(), mParentMover, ok, wsf::six_dof::MoverTestObject::RestoreFromTestingMode(), wsf::six_dof::MoverTestObject::SetupForTestingMode(), and wsf::six_dof::MoverTestObject::ThrustAtThrottleSetting().
|
protected |
Referenced by AlphaAtDesiredDrag(), AlphaAtDesiredDrag(), Autotune(), CalcLevelFlightDragAndAlpha(), CanFlyAt(), CreateAutopilotConfigFile(), CreateAutopilotSupportFile(), CreateAutopilotSupportFileWithMaxMach(), GetParentVehicle(), GetPitchingMoment(), LimitAlphaByMaxGLoad(), LimitAlphaByMaxGLoad(), MaxInstantaneousGLoad(), RigidBodyMoverTestObject(), SetVehicleMass(), TurnRateAt(), and TurnRateWithConditions().