18#include "UtEntity.hpp"
48 double& aTargetBearing,
49 double aAzimuthError = 0.0,
50 double aElevationError = 0.0);
76 void GetState(
double aSimTime,
double aLocWCS[3],
double aVelWCS[3]);
UtStringId WsfStringId
WsfStringId – the same thing as UtStringId.
Definition WsfStringId.hpp:23
Definition FiresPath.hpp:31
double mInitialBearing
Definition FiresPath.hpp:111
double mElevationAngle
Dependent variable of table lookup for max. ord lookups.
Definition FiresPath.hpp:103
double mPitch
Definition FiresPath.hpp:124
void SetImpactRange(double aRange)
Set the ground impact range at which the munition will impact.
Definition FiresPath.hpp:59
double mSimpleG
Definition FiresPath.hpp:127
void UpdateState(double aSimTime)
Definition FiresPath.cpp:188
double mElevationError
Azimuth error for simulating dispersion of fires.
Definition FiresPath.hpp:113
virtual bool Initialize(double aSimTime)
Definition FiresPath.cpp:151
bool PerformTrajectoryLookup()
Definition FiresPath.cpp:410
double mHeading
Definition FiresPath.hpp:125
double mAccNED[3]
Definition FiresPath.hpp:122
virtual ~FiresPath()=default
bool mHasImpactLocation
Definition FiresPath.hpp:108
bool mConstrainPropagation
Definition FiresPath.hpp:110
double GetImpactTime() const
Definition FiresPath.hpp:74
void SetElevationError(double aElevationError)
Definition FiresPath.hpp:70
PropagationType mSimplePropagationLookupType
Definition FiresPath.hpp:95
double mCosB
Sine of initial bearing.
Definition FiresPath.hpp:116
double mTimeConstant
The initial velocity perpendicular to the ground (vector connecting the initial and impact location).
Definition FiresPath.hpp:130
PropagationType
Definition FiresPath.hpp:34
@ cMAX_ORD_TOF
Definition FiresPath.hpp:36
@ cNUM_TYPES
Definition FiresPath.hpp:41
@ cELEVATION_TOF
Lookup Max ord and tof based on impact range.
Definition FiresPath.hpp:37
@ cUNDEFINED
Definition FiresPath.hpp:35
@ cSIMPLE
Lookup Elevation and tof based on impact range.
Definition FiresPath.hpp:38
double mVelWCS[3]
Definition FiresPath.hpp:120
UtEntity mGeom
Cosine of initial bearing.
Definition FiresPath.hpp:117
double v0x
The reduced value of the gravitational constant, used with simple propagation.
Definition FiresPath.hpp:128
bool mDebug
The sim time the round is fired.
Definition FiresPath.hpp:132
void ComputeTimeConstantFromElevationAngle(double aDeltaAlt)
Definition FiresPath.cpp:500
void SetAzimuthError(double aAzimuthError)
Definition FiresPath.hpp:66
void ComputeTimeConstantFromMaxOrd(double aDeltaAlt)
Definition FiresPath.cpp:432
FiresPath & operator=(const FiresPath &aSrc)=delete
WsfSimulation * mSimulationPtr
Definition FiresPath.hpp:98
double mMaxHeight
This is the independent variable (input) in the table lookup.
Definition FiresPath.hpp:102
PropagationType mPropagationType
Definition FiresPath.hpp:94
WsfStringId mFiresType
Definition FiresPath.hpp:96
void SetInitialBearing(double aBearing)
Set the initial bearing along which the trajectory will move.
Definition FiresPath.hpp:62
double mDeltaAlt
Elevation error for simulating dispersion of fires.
Definition FiresPath.hpp:114
WsfGeoPoint mInitialLocation
Dependent variable of table lookup.
Definition FiresPath.hpp:106
FiresTables * mFiresTablesPtr
Definition FiresPath.hpp:97
double mImpactRange
Definition FiresPath.hpp:100
double mRoll
Definition FiresPath.hpp:123
bool mRemoveOnImpact
Definition FiresPath.hpp:99
double mBearingError
Definition FiresPath.hpp:112
double mLocWCS[3]
Definition FiresPath.hpp:119
void ComputeInitialVelocity(double aDeltaAlt)
Definition FiresPath.cpp:424
WsfGeoPoint mImpactLocation
Definition FiresPath.hpp:107
double mInitialTime
The approximation of the ballistic coefficient (the higher the time constant, the less drag).
Definition FiresPath.hpp:131
void ComputeTargetRangeBearingDeltaAlt()
void GetState(double aSimTime, double aLocWCS[3], double aVelWCS[3])
Definition FiresPath.cpp:179
double mVelNED[3]
Definition FiresPath.hpp:121
FiresPath(WsfSimulation &aSimulation, UtStringId aType, WsfGeoPoint &aInitialLocation, double &aTargetRange, double &aTargetBearing, double aAzimuthError=0.0, double aElevationError=0.0)
Constructor to be used independently of the FiresMover.
Definition FiresPath.cpp:71
double v0z
The initial velocity parallel to the ground (vector connecting the initial and impact location).
Definition FiresPath.hpp:129
double mSinB
Difference between initial altitude and target alt.
Definition FiresPath.hpp:115
double mImpactTime
Dependent variable of table lookup for elevation lookups.
Definition FiresPath.hpp:105
bool ComputeTrajectoryParameters()
Definition FiresPath.cpp:235
Definition FiresTables.hpp:31
Definition WsfGeoPoint.hpp:29
Contains the data required to create a simulation, and acts as the entry point for input file process...
Definition WsfScenario.hpp:111
The main controller for a simulation.
Definition WsfSimulation.hpp:109
Provide a top-level interface for including the fires library's types.
Definition BallisticPath.cpp:34