|
WSF
|
#include <WsfSixDOF_MoverTestObject.hpp>

Public Member Functions | |
| virtual Mover * | GetParentVehicle () const =0 |
| 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) |
| virtual void | CreateAutopilotConfigFile (const std::string &aFilename)=0 |
| virtual utils::CanFlyAtReturnValue | CanFlyAt (double aAltitude_ft, double aVelocity_fps, double aThrottle, double aFlaps=0.0)=0 |
| virtual double | TurnRateAt (double aSpecificExcessPower_fps, double aTrueSpeed_fps, double aThrottleSetting)=0 |
| virtual double | TurnRateWithConditions (double aSpecificExcessPower_fps, double aCurrentMass_lbs, double aMaxGLoad, double aAltitude_ft, double aAirspeed_fps, double aThrottleSetting)=0 |
| 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 () |
| virtual void | CreateAutopilotSupportFile (const std::string &aFilename)=0 |
| virtual void | CreateAutopilotSupportFileWithMaxMach (const std::string &aFilename, const double &aMaxMach)=0 |
| virtual void | LimitAlphaByMaxGLoad (double aMach, double aMaxGLoad, double aDynPressure_ppsqft, double &aAlpha_rad)=0 |
| virtual void | LimitAlphaByMaxGLoad (double aMach, double aMaxGLoad, double aDynPressure_ppsqft, double aCurrentMass_lbs, double &aAlpha_rad)=0 |
| virtual void | SetVehicleMass (double aMass_lbs)=0 |
| double | GetMaxGLoad () |
| virtual double | MaxInstantaneousGLoad (double aAltitude_ft, double aMach, double aCurrentMass_lbs)=0 |
Protected Member Functions | |
| virtual double | AlphaAtDesiredDrag (double aAlt_ft, double aSpeed_fps, double aDrag_lbs, bool &aOk)=0 |
| virtual bool | AlphaAtDesiredDrag (double aAlt_ft, double aMach, double aDrag_lbs, double aCurrentMass_lbs, double aMaxGLoad, double &aAlpha_rad)=0 |
| void | SetupForTestingMode (bool aFreezeFuelBurn) |
| void | RestoreFromTestingMode () |
| virtual bool | CalcLevelFlightDragAndAlpha (double aAltitude_ft, double aMach, double aGrossWeight_lbs, double &aDrag_lbs, double &aAlpha_deg)=0 |
| 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 | |
| bool | mTestingNoLag = false |
| bool | mTestingFreezeFuelBurn = false |
|
protectedpure virtual |
Implemented in wsf::six_dof::PointMassMoverTestObject, and wsf::six_dof::RigidBodyMoverTestObject.
References RestoreFromTestingMode(), and SetupForTestingMode().
|
protectedpure virtual |
Implemented in wsf::six_dof::PointMassMoverTestObject, and wsf::six_dof::RigidBodyMoverTestObject.
|
protectedpure virtual |
Implemented in wsf::six_dof::PointMassMoverTestObject, and wsf::six_dof::RigidBodyMoverTestObject.
References FuelBurnAtRequiredThrust(), FuelBurnAtThrottleSetting(), GetEnvironment(), ThrottleSettingToProduceThrust(), and ThrustAtThrottleSetting().
Referenced by GetLevelFlightDrag(), GetLevelFlightFuelBurnRate(), and GetLevelFlightHorizontalThrust().
|
pure virtual |
Implemented in wsf::six_dof::PointMassMoverTestObject, and wsf::six_dof::RigidBodyMoverTestObject.
|
pure virtual |
Implemented in wsf::six_dof::PointMassMoverTestObject, and wsf::six_dof::RigidBodyMoverTestObject.
|
pure virtual |
Implemented in wsf::six_dof::PointMassMoverTestObject, and wsf::six_dof::RigidBodyMoverTestObject.
|
pure virtual |
Implemented in wsf::six_dof::PointMassMoverTestObject, and wsf::six_dof::RigidBodyMoverTestObject.
| void wsf::six_dof::MoverTestObject::FlyStraightLevelFullThrottle | ( | ) |
References GetParentVehicle(), wsf::six_dof::PilotObject::SetTestFlapsControllerPosition(), wsf::six_dof::PilotObject::SetTestStickBackControllerPosition(), wsf::six_dof::PilotObject::SetTestThrottleControllerPosition(), and wsf::six_dof::PilotObject::TakeTestControl().
Referenced by TurnRateWithConditions().
|
protected |
References wsf::six_dof::ThrustProducerObject::AfterburnerIsPresent(), wsf::six_dof::Environment::CalcFpsFromMach(), wsf::six_dof::Environment::GetAeroParameters(), GetTestEngineFromThrustProducer(), wsf::six_dof::utils::NextGuessFromFalsePosition(), wsf::six_dof::ThrustProducerObject::SetThrottlePosition(), and wsf::six_dof::utils::UpdateFalsePositionBounds().
Referenced by CalcLevelFlightDragAndAlpha(), and GetLevelFlightFuelBurnRate().
|
protected |
|
protected |
References GetParentVehicle().
Referenced by wsf::six_dof::PointMassMoverTestObject::AlphaAtDesiredDrag(), wsf::six_dof::PointMassMoverTestObject::AlphaAtDesiredDrag(), wsf::six_dof::RigidBodyMoverTestObject::AlphaAtDesiredDrag(), wsf::six_dof::RigidBodyMoverTestObject::AlphaAtDesiredDrag(), CalcLevelFlightDragAndAlpha(), wsf::six_dof::PointMassMoverTestObject::CalcLevelFlightDragAndAlpha(), wsf::six_dof::RigidBodyMoverTestObject::CalcLevelFlightDragAndAlpha(), GetLevelFlightFuelBurnRate(), GetLevelFlightHorizontalThrust(), wsf::six_dof::RigidBodyMoverTestObject::GetPitchingMoment(), wsf::six_dof::PointMassMoverTestObject::MaxInstantaneousGLoad(), wsf::six_dof::RigidBodyMoverTestObject::MaxInstantaneousGLoad(), wsf::six_dof::PointMassMoverTestObject::TurnRateAt(), wsf::six_dof::RigidBodyMoverTestObject::TurnRateAt(), wsf::six_dof::PointMassMoverTestObject::TurnRateWithConditions(), and wsf::six_dof::RigidBodyMoverTestObject::TurnRateWithConditions().
| double wsf::six_dof::MoverTestObject::GetLevelFlightDrag | ( | double | aAltitude_ft, |
| double | aMach, | ||
| double | aGrossWeight_lbs ) |
References CalcLevelFlightDragAndAlpha(), RestoreFromTestingMode(), and SetupForTestingMode().
Referenced by TurnRateWithConditions().
| double wsf::six_dof::MoverTestObject::GetLevelFlightFuelBurnRate | ( | double | aAltitude_ft, |
| double | aMach, | ||
| double | aGrossWeight_lbs ) |
References CalcLevelFlightDragAndAlpha(), FuelBurnAtRequiredThrust(), GetEnvironment(), wsf::six_dof::PropulsionSystem::GetNumThrustProducers(), GetParentVehicle(), wsf::six_dof::PropulsionSystem::GetThrustProducerByIndex(), RestoreFromTestingMode(), and SetupForTestingMode().
Referenced by TurnRateWithConditions().
| double wsf::six_dof::MoverTestObject::GetLevelFlightHorizontalThrust | ( | double | aAltitude_ft, |
| double | aMach, | ||
| double | aThrottle, | ||
| double | aGrossWeight_lbs ) |
References CalcLevelFlightDragAndAlpha(), GetEnvironment(), wsf::six_dof::PropulsionSystem::GetNumThrustProducers(), GetParentVehicle(), wsf::six_dof::PropulsionSystem::GetThrustProducerByIndex(), RestoreFromTestingMode(), SetupForTestingMode(), and ThrustAtThrottleSetting().
Referenced by TurnRateWithConditions().
| double wsf::six_dof::MoverTestObject::GetMaxGLoad | ( | ) |
References wsf::six_dof::PilotManager::GetActivePilot(), wsf::six_dof::PilotObject::GetCommonController(), wsf::six_dof::CommonController::GetCurrentLimitsAndSettings(), GetParentVehicle(), and wsf::six_dof::AutopilotLimitsAndSettings::pitchGLoad_Max.
Referenced by wsf::six_dof::PointMassMoverTestObject::MaxInstantaneousGLoad(), wsf::six_dof::RigidBodyMoverTestObject::MaxInstantaneousGLoad(), and SetVehicleMass().
|
pure virtual |
Implemented in wsf::six_dof::PointMassMoverTestObject, and wsf::six_dof::RigidBodyMoverTestObject.
References GetRangeSinceStart_km(), GetTestEngineFromThrustProducer(), SetMasterFreezeSpeed(), and SetMasterFreezeVerticalSpeed().
Referenced by FlyStraightLevelFullThrottle(), GetEnvironment(), GetLevelFlightFuelBurnRate(), GetLevelFlightHorizontalThrust(), GetMaxGLoad(), GetRangeSinceStart_km(), RestoreFromTestingMode(), SetMasterFreezeAltitude(), SetMasterFreezeFuelBurn(), SetMasterFreezeLocation(), SetMasterFreezePitch(), SetMasterFreezeRoll(), SetMasterFreezeSpeed(), SetMasterFreezeVerticalSpeed(), SetMasterFreezeYaw(), SetMasterNoAlphaTesting(), SetMasterNoLagTesting(), SetupForTestingMode(), and Update().
| double wsf::six_dof::MoverTestObject::GetRangeSinceStart_km | ( | ) | const |
References GetParentVehicle().
Referenced by GetParentVehicle().
| std::unique_ptr< wsf::six_dof::Engine > wsf::six_dof::MoverTestObject::GetTestEngineFromThrustProducer | ( | ThrustProducerObject * | aEngine | ) | const |
References wsf::six_dof::Engine::Clone(), wsf::six_dof::ThrustProducerObject::GetEngine(), wsf::six_dof::Engine::GetFuelTank(), and wsf::six_dof::Object::GetName().
Referenced by FuelBurnAtRequiredThrust(), FuelBurnAtThrottleSetting(), GetParentVehicle(), ThrottleSettingToProduceThrust(), and ThrustAtThrottleSetting().
|
pure virtual |
Implemented in wsf::six_dof::PointMassMoverTestObject, and wsf::six_dof::RigidBodyMoverTestObject.
|
pure virtual |
Implemented in wsf::six_dof::PointMassMoverTestObject, and wsf::six_dof::RigidBodyMoverTestObject.
|
pure virtual |
Implemented in wsf::six_dof::PointMassMoverTestObject, and wsf::six_dof::RigidBodyMoverTestObject.
|
protected |
References GetParentVehicle(), mTestingFreezeFuelBurn, and mTestingNoLag.
Referenced by AlphaAtDesiredDrag(), GetLevelFlightDrag(), GetLevelFlightFuelBurnRate(), GetLevelFlightHorizontalThrust(), wsf::six_dof::RigidBodyMoverTestObject::GetPitchingMoment(), wsf::six_dof::RigidBodyMoverTestObject::MaxInstantaneousGLoad(), wsf::six_dof::PointMassMoverTestObject::TurnRateAt(), wsf::six_dof::RigidBodyMoverTestObject::TurnRateAt(), wsf::six_dof::PointMassMoverTestObject::TurnRateWithConditions(), and wsf::six_dof::RigidBodyMoverTestObject::TurnRateWithConditions().
| void wsf::six_dof::MoverTestObject::SetMasterFreezeAltitude | ( | bool | aEnable | ) |
References GetParentVehicle().
| void wsf::six_dof::MoverTestObject::SetMasterFreezeFuelBurn | ( | bool | aEnable | ) |
References GetParentVehicle().
| void wsf::six_dof::MoverTestObject::SetMasterFreezeLocation | ( | bool | aEnable | ) |
References GetParentVehicle().
| void wsf::six_dof::MoverTestObject::SetMasterFreezePitch | ( | bool | aEnable | ) |
References GetParentVehicle().
| void wsf::six_dof::MoverTestObject::SetMasterFreezeRoll | ( | bool | aEnable | ) |
References GetParentVehicle().
| void wsf::six_dof::MoverTestObject::SetMasterFreezeSpeed | ( | bool | aEnable | ) |
References GetParentVehicle().
Referenced by GetParentVehicle().
| void wsf::six_dof::MoverTestObject::SetMasterFreezeVerticalSpeed | ( | bool | aEnable | ) |
References GetParentVehicle().
Referenced by GetParentVehicle().
| void wsf::six_dof::MoverTestObject::SetMasterFreezeYaw | ( | bool | aEnable | ) |
References GetParentVehicle().
| void wsf::six_dof::MoverTestObject::SetMasterNoAlphaTesting | ( | bool | aEnable | ) |
References GetParentVehicle().
| void wsf::six_dof::MoverTestObject::SetMasterNoLagTesting | ( | bool | aEnable | ) |
References GetParentVehicle().
|
protected |
References GetParentVehicle(), mTestingFreezeFuelBurn, and mTestingNoLag.
Referenced by AlphaAtDesiredDrag(), GetLevelFlightDrag(), GetLevelFlightFuelBurnRate(), GetLevelFlightHorizontalThrust(), wsf::six_dof::RigidBodyMoverTestObject::GetPitchingMoment(), wsf::six_dof::PointMassMoverTestObject::TurnRateAt(), wsf::six_dof::RigidBodyMoverTestObject::TurnRateAt(), wsf::six_dof::PointMassMoverTestObject::TurnRateWithConditions(), and wsf::six_dof::RigidBodyMoverTestObject::TurnRateWithConditions().
|
pure virtual |
Implemented in wsf::six_dof::PointMassMoverTestObject, and wsf::six_dof::RigidBodyMoverTestObject.
References GetMaxGLoad().
|
protected |
References wsf::six_dof::ThrustProducerObject::AfterburnerIsPresent(), wsf::six_dof::Environment::CalcFpsFromMach(), wsf::six_dof::Environment::GetAeroParameters(), GetTestEngineFromThrustProducer(), wsf::six_dof::utils::NextGuessFromFalsePosition(), wsf::six_dof::ThrustProducerObject::SetThrottlePosition(), and wsf::six_dof::utils::UpdateFalsePositionBounds().
Referenced by CalcLevelFlightDragAndAlpha().
|
protected |
References wsf::six_dof::Environment::CalcFpsFromMach(), wsf::six_dof::Environment::GetAeroParameters(), GetTestEngineFromThrustProducer(), and wsf::six_dof::ThrustProducerObject::SetThrottlePosition().
Referenced by CalcLevelFlightDragAndAlpha(), GetLevelFlightHorizontalThrust(), wsf::six_dof::PointMassMoverTestObject::TurnRateAt(), wsf::six_dof::RigidBodyMoverTestObject::TurnRateAt(), wsf::six_dof::PointMassMoverTestObject::TurnRateWithConditions(), and wsf::six_dof::RigidBodyMoverTestObject::TurnRateWithConditions().
|
pure virtual |
Implemented in wsf::six_dof::PointMassMoverTestObject, and wsf::six_dof::RigidBodyMoverTestObject.
|
pure virtual |
| void wsf::six_dof::MoverTestObject::Update | ( | double | aSimTime | ) |
References GetParentVehicle().
|
protected |
Referenced by RestoreFromTestingMode(), and SetupForTestingMode().
|
protected |
Referenced by RestoreFromTestingMode(), and SetupForTestingMode().