WSF
WsfGuidanceComputer::Phase Class Reference

A class that defines the guidance parameters for a phase of flight. More...

#include <WsfGuidanceComputer.hpp>

Public Types

enum  PN_Method { cPN_PHASE_DEFAULT , cPN_PURE , cPN_AUGMENTED }
using ProgramAndPhase = std::pair<WsfStringId, WsfStringId>

Public Member Functions

 Phase ()
void ExecuteOnEntry (double aSimTime, WsfScriptContext &aContext)
void ExecuteOnExit (double aSimTime, WsfScriptContext &aContext)
void ExecuteOnUpdate (double aSimTime, WsfScriptContext &aContext)
bool Initialize (double aSimTime, WsfScriptContext &aContext)
bool ProcessInput (UtInput &aInput, WsfGuidanceComputer &aComputer, WsfScriptContext &aContext)
void ProcessNextPhase (UtInput &aInput, WsfScriptContext &aContext)

Public Attributes

UtScript * mOnUpdateScriptPtr
WsfStringId mPhaseName
double mGuidanceDelay
double mTimeConstant
double mCommandedAlt
double mCommandedAzimuthOffset
double mCommandedFlightPathAngle
double mCommandedSpeed
double mCommandedThrottle
double mAimpointAltitudeOffset
double mAimpointAzimuthOffset
double mAimpointRangeOffset
double mAimpointEvaluationInterval
double mCosLOS_Offset
double mPN_GainValue
double mVP_GainValue
double mGeeBiasValue
double mLateralGeeBiasValue
double mMaxGeeCmd
double mMaxPitchAngle
double mMaxAscentRate
double mMaxDescentRate
double mPitchChangeGain
GuidanceTarget mGuidanceTarget
OffsetDirection mOffsetDirection
PN_Method mPN_Method
bool mCommandedAltIsAGL
bool mAllowRouteFollowing
std::vector< WsfStringIdmPrograms
WsfStringId mEndOfRoutePhaseName
WsfStringId mBoostCompletePhaseName
WsfStringId mStageIgnitionPhaseName
WsfStringId mStageBurnoutPhaseName
WsfStringId mStageSeparationPhaseName
WsfStringId mSensorTrackInitiatedPhaseName
std::vector< ProgramAndPhasemProgramCompletePhaseName
std::vector< PhaseChangemPhaseChangeList

Detailed Description

A class that defines the guidance parameters for a phase of flight.

Member Typedef Documentation

◆ ProgramAndPhase

Member Enumeration Documentation

◆ PN_Method

Enumerator
cPN_PHASE_DEFAULT 
cPN_PURE 
cPN_AUGMENTED 

Constructor & Destructor Documentation

◆ Phase()

Member Function Documentation

◆ ExecuteOnEntry()

void WsfGuidanceComputer::Phase::ExecuteOnEntry ( double aSimTime,
WsfScriptContext & aContext )

◆ ExecuteOnExit()

void WsfGuidanceComputer::Phase::ExecuteOnExit ( double aSimTime,
WsfScriptContext & aContext )

◆ ExecuteOnUpdate()

void WsfGuidanceComputer::Phase::ExecuteOnUpdate ( double aSimTime,
WsfScriptContext & aContext )

◆ Initialize()

bool WsfGuidanceComputer::Phase::Initialize ( double aSimTime,
WsfScriptContext & aContext )

◆ ProcessInput()

◆ ProcessNextPhase()

void WsfGuidanceComputer::Phase::ProcessNextPhase ( UtInput & aInput,
WsfScriptContext & aContext )

References WsfGuidanceComputer::PhaseChange::cALTITUDE, WsfGuidanceComputer::PhaseChange::cCLOSING_SPEED, WsfGuidanceComputer::PhaseChange::cDYNAMIC_PRESSURE, WsfGuidanceComputer::PhaseChange::cFLIGHT_PATH_ANGLE, WsfGuidanceComputer::PhaseChange::cFLIGHT_TIME, WsfGuidanceComputer::PhaseChange::cGREATER, WsfGuidanceComputer::PhaseChange::cGREATER_OR_EQUAL, WsfGuidanceComputer::PhaseChange::cLOS_TARGET_ANGLE, WsfGuidanceComputer::PhaseChange::cLOS_TARGET_AZIMUTH, WsfGuidanceComputer::PhaseChange::cLOS_TARGET_ELEVATION, WsfGuidanceComputer::PhaseChange::cON_COMMANDED_FLIGHT_PATH_ANGLE, WsfGuidanceComputer::PhaseChange::cPHASE_TIME, WsfGuidanceComputer::PhaseChange::cRANGE_TO_INTERCEPT, WsfGuidanceComputer::PhaseChange::cSPEED, WsfGuidanceComputer::PhaseChange::cTARGET_ALTITUDE, WsfGuidanceComputer::PhaseChange::cTARGET_AZIMUTH, WsfGuidanceComputer::PhaseChange::cTARGET_ELEVATION, WsfGuidanceComputer::PhaseChange::cTARGET_FLIGHT_PATH_ANGLE, WsfGuidanceComputer::PhaseChange::cTARGET_GROUND_RANGE, WsfGuidanceComputer::PhaseChange::cTARGET_SLANT_RANGE, WsfGuidanceComputer::PhaseChange::cTARGET_SPEED, WsfGuidanceComputer::PhaseChange::cTIME_TO_INTERCEPT, WsfGuidanceComputer::PhaseChange::cVERTICAL_SPEED, mBoostCompletePhaseName, WsfGuidanceComputer::PhaseChange::mCondition, mEndOfRoutePhaseName, WsfGuidanceComputer::PhaseChange::mName, mPhaseChangeList, mProgramCompletePhaseName, mSensorTrackInitiatedPhaseName, mStageBurnoutPhaseName, mStageIgnitionPhaseName, mStageSeparationPhaseName, WsfGuidanceComputer::PhaseChange::mValue, WsfGuidanceComputer::PhaseChange::ReadCondition(), WsfGuidanceComputer::Variable::ReadValueOfType(), WsfGuidanceComputer::Variable::ValueGreater(), WsfGuidanceComputer::Variable::ValueGreaterOrEqual(), and WsfGuidanceComputer::Variable::ValueLess().

Referenced by ProcessInput().

Member Data Documentation

◆ mAimpointAltitudeOffset

◆ mAimpointAzimuthOffset

◆ mAimpointEvaluationInterval

◆ mAimpointRangeOffset

◆ mAllowRouteFollowing

◆ mBoostCompletePhaseName

WsfStringId WsfGuidanceComputer::Phase::mBoostCompletePhaseName

◆ mCommandedAlt

◆ mCommandedAltIsAGL

◆ mCommandedAzimuthOffset

double WsfGuidanceComputer::Phase::mCommandedAzimuthOffset

◆ mCommandedFlightPathAngle

◆ mCommandedSpeed

◆ mCommandedThrottle

double WsfGuidanceComputer::Phase::mCommandedThrottle

◆ mCosLOS_Offset

double WsfGuidanceComputer::Phase::mCosLOS_Offset

Referenced by Phase(), and ProcessInput().

◆ mEndOfRoutePhaseName

◆ mGeeBiasValue

double WsfGuidanceComputer::Phase::mGeeBiasValue

Referenced by Phase(), and ProcessInput().

◆ mGuidanceDelay

◆ mGuidanceTarget

◆ mLateralGeeBiasValue

double WsfGuidanceComputer::Phase::mLateralGeeBiasValue

Referenced by Phase(), and ProcessInput().

◆ mMaxAscentRate

double WsfGuidanceComputer::Phase::mMaxAscentRate

◆ mMaxDescentRate

double WsfGuidanceComputer::Phase::mMaxDescentRate

◆ mMaxGeeCmd

◆ mMaxPitchAngle

double WsfGuidanceComputer::Phase::mMaxPitchAngle

◆ mOffsetDirection

◆ mOnUpdateScriptPtr

UtScript* WsfGuidanceComputer::Phase::mOnUpdateScriptPtr

Referenced by ExecuteOnUpdate(), Initialize(), and Phase().

◆ mPhaseChangeList

◆ mPhaseName

◆ mPitchChangeGain

double WsfGuidanceComputer::Phase::mPitchChangeGain

Referenced by Phase(), and ProcessInput().

◆ mPN_GainValue

double WsfGuidanceComputer::Phase::mPN_GainValue

Referenced by Phase(), and ProcessInput().

◆ mPN_Method

PN_Method WsfGuidanceComputer::Phase::mPN_Method

Referenced by Phase(), and ProcessInput().

◆ mProgramCompletePhaseName

◆ mPrograms

◆ mSensorTrackInitiatedPhaseName

◆ mStageBurnoutPhaseName

◆ mStageIgnitionPhaseName

◆ mStageSeparationPhaseName

◆ mTimeConstant

double WsfGuidanceComputer::Phase::mTimeConstant

◆ mVP_GainValue

double WsfGuidanceComputer::Phase::mVP_GainValue

Referenced by Phase(), and ProcessInput().


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