Base class for the guidance programs (maneuvers) used by WsfGuidanceComputer.
More...
#include <WsfGuidanceProgram.hpp>
|
| void | AltitudeGuidance (State &aState, Phase &aPhase, double &aZ_Accel) |
| | Compute the 'climb/dive-to-altitude and hold' guidance.
|
| void | AngleOffsetGuidance (State &aState, Phase &aPhase, double &aY_Accel, double &aZ_Accel) |
| bool | FlightPathAngleAchieved (const State &aState, double aCommandedFlightPathAngle) const |
| void | FlightPathAngleGuidance (State &aState, Phase &aPhase, double aCommandedFlightPathAngle, double &aY_Accel, double &aZ_Accel) |
| void | ProNavGuidance (State &aState, double aProNavGain, bool aAugmented, double &aY_Accel, double &aZ_Accel) |
| void | PursuitGuidance (State &aState, double aPursuitGain, double &aY_Accel, double &aZ_Accel) |
| | WsfObject (const WsfObject &aSrc) |
| | Copy constructor (for Clone()).
|
Base class for the guidance programs (maneuvers) used by WsfGuidanceComputer.
◆ Commands
◆ Phase
◆ State
◆ Axis
| Enumerator |
|---|
| cX_AXIS | |
| cY_AXIS | |
| cZ_AXIS | |
◆ Status
The return status for the Execute method.
| Enumerator |
|---|
| cCONTINUE | The program should be continued to be called (remains in the active program list).
|
| cCOMPLETE | The program is complete and no longer needs to be called (removed from the active program list).
|
◆ WsfGuidanceProgram() [1/2]
| WsfGuidanceProgram::WsfGuidanceProgram |
( |
| ) |
|
◆ WsfGuidanceProgram() [2/2]
◆ ~WsfGuidanceProgram()
| WsfGuidanceProgram::~WsfGuidanceProgram |
( |
| ) |
|
|
overridedefault |
◆ AltitudeGuidance()
| void WsfGuidanceProgram::AltitudeGuidance |
( |
State & | aState, |
|
|
Phase & | aPhase, |
|
|
double & | aZ_Accel ) |
|
protected |
◆ AngleOffsetGuidance()
| void WsfGuidanceProgram::AngleOffsetGuidance |
( |
State & | aState, |
|
|
Phase & | aPhase, |
|
|
double & | aY_Accel, |
|
|
double & | aZ_Accel ) |
|
protected |
◆ ApplyGravityBias()
| void WsfGuidanceProgram::ApplyGravityBias |
( |
UtEntity & | aEntity, |
|
|
double | aGravityBiasFactor, |
|
|
double & | aY_Accel, |
|
|
double & | aZ_Accel ) |
|
staticprotected |
If requested, add in G bias to fight drop due to gravity.
- Parameters
-
| aEntity | [input] The weapon entity. |
| aGravityBiasFactor | [input] The gravity bias factor. |
| aY_Accel | [updated] The required ECS Y acceleration. |
| aZ_Accel | [updated] The required ECS Z acceleration. |
References ComputeGravitationalAcceleration().
◆ ApplyLateralBias()
| void WsfGuidanceProgram::ApplyLateralBias |
( |
UtEntity & | aEntity, |
|
|
double | aLateralBiasFactor, |
|
|
double & | aY_Accel, |
|
|
double & | aZ_Accel ) |
|
staticprotected |
If requested, add in Lateral bias to fly a curving path to the target (used by radars to spread the clutter in doppler to boost SNR. "Doppler Beam Sharpening")
- Parameters
-
| aEntity | [input] The weapon entity. |
| aLateralBiasFactor | [input] The lateral bias factor. |
| aY_Accel | [updated] The required ECS Y acceleration. |
| aZ_Accel | [updated] The required ECS Z acceleration. |
◆ Clone()
◆ ComputeGravitationalAcceleration()
| void WsfGuidanceProgram::ComputeGravitationalAcceleration |
( |
const double | aLocWCS[3], |
|
|
double | aGravAclWCS[3] ) |
|
staticprotected |
Compute the gravitational acceleration vector at a specified location.
- Parameters
-
| aLocWCS | [input] The WCS position of the location. |
| aGravAclWCS | [output] The gravitational acceleration vector (pointing to the Earth's center). |
Referenced by ApplyGravityBias(), and FlightPathAngleGuidance().
◆ Execute()
Execute the guidance program.
- Parameters
-
| aState | [input] The current state of the weapon and guidance target. |
| aCommands | [input/output] guidance program input/output. |
- Returns
- the status of the program. 'cCONTINUE' means the program is not complete and should continue to be called. 'cCOMPLETE' means the program is complete and no longer needs to be called.
◆ FlightPathAngleAchieved()
| bool WsfGuidanceProgram::FlightPathAngleAchieved |
( |
const State & | aState, |
|
|
double | aCommandedFlightPathAngle ) const |
|
protected |
◆ FlightPathAngleGuidance()
| void WsfGuidanceProgram::FlightPathAngleGuidance |
( |
State & | aState, |
|
|
Phase & | aPhase, |
|
|
double | aCommandedFlightPathAngle, |
|
|
double & | aY_Accel, |
|
|
double & | aZ_Accel ) |
|
protected |
◆ GetComputer()
◆ GetPlatform()
◆ Initialize()
◆ operator=()
◆ ProcessInput()
| bool WsfGuidanceProgram::ProcessInput |
( |
UtInput & | aInput | ) |
|
|
overridevirtual |
Process input for the program.
- Parameters
-
| aInput | The current input stream. |
- Returns
- 'true' if the command was one recognized by the program or 'false' if not.
Reimplemented from WsfObject.
References mDebugEnabled, and WsfObject::ProcessInput().
◆ ProNavGuidance()
| void WsfGuidanceProgram::ProNavGuidance |
( |
State & | aState, |
|
|
double | aProNavGain, |
|
|
bool | aAugmented, |
|
|
double & | aY_Accel, |
|
|
double & | aZ_Accel ) |
|
protected |
◆ PursuitGuidance()
| void WsfGuidanceProgram::PursuitGuidance |
( |
State & | aState, |
|
|
double | aPursuitGain, |
|
|
double & | aY_Accel, |
|
|
double & | aZ_Accel ) |
|
protected |
◆ Start()
| void WsfGuidanceProgram::Start |
( |
double | aSimTime, |
|
|
double | aCurTime ) |
|
virtual |
◆ Terminate()
| void WsfGuidanceProgram::Terminate |
( |
double | aSimTime | ) |
|
|
virtual |
Terminate the program.
Referenced by Clone().
◆ cGC_BURN_TIME_REMAINING
| const char * WsfGuidanceProgram::cGC_BURN_TIME_REMAINING = "GC_BURN_TIME_REMAINING" |
|
static |
◆ cGC_DELTA_V_REMAINING
| const char * WsfGuidanceProgram::cGC_DELTA_V_REMAINING = "GC_DELTA_IV_REMAINING" |
|
static |
◆ cGC_FUEL_REMAINING
| const char * WsfGuidanceProgram::cGC_FUEL_REMAINING = "GC_FUEL_REMAINING" |
|
static |
◆ cGC_ORBIT_DECLARED
| const char * WsfGuidanceProgram::cGC_ORBIT_DECLARED = "GC_ORBIT_DECLARED" |
|
static |
◆ mComputerPtr
◆ mDebugEnabled
| bool WsfGuidanceProgram::mDebugEnabled |
|
protected |
◆ mStartTime
| double WsfGuidanceProgram::mStartTime |
|
protected |
The documentation for this class was generated from the following files: