WSF
WsfGuidedMover::State Class Reference

#include <WsfGuidedMover.hpp>

Collaboration diagram for WsfGuidedMover::State:

Public Member Functions

 State ()
 State (const State &aOther)=default
void Print (ut::log::MessageStream &aMsgStream, double aFMM_Time)
State Advance (double aDeltaT, const KinematicState &aKinematicState) const
void UpdateOrientationData (double aSimTime, double aDeltaTime)
void UpdateOtherStateData (double aSimTime)
void TakeEulerStep (double aDeltaTime, const KinematicState &aDerivatives, const State &aInitialState, bool aIntegrateMass=false)
void ComputeDerivatives (const double aAppliedForcesECS[3])
UtVec3d ComputeDerivatives (const double aAppliedForcesECS[3]) const
void ComputeGravitationalForce (double aGravitationalForceWCS[3]) const
KinematicState GetDerivatives () const
KinematicState GetUnpoweredDerivatives () const

Public Attributes

const WsfGuidedMovermMoverPtr {nullptr}
double mTime
double mWorld_ToECS_Transform [3][3]
double mLocation [3]
double mVelocity [3]
double mAcceleration [3]
double mAppliedForcesECS [3]
double mLastThrustForcesECS [3]
double mLastAeroForcesECS [3]
double mPsi
double mTheta
double mPhi
double mAltitude
double mSpeed
double mMach
double mMass
double mCurrentThrust
double mCurrentFuelFlowRate
double mThrustDurationExtension
 The amount of time the thrust duration is extended due to commanded throttle.
double mDivertFuelMass
double mCurrentFuelMass
CoordinateFrame mCoordinateFrame {CoordinateFrame::cCF_WCS}
double mECI_SwitchTime {-1.0E-30}
 The time when the WCS->ECI frame switch occurred.
bool mLaunchToOrbit {false}
bool mMaintainInclination {false}
 For launch-to-orbit, maintain the inclination as defined by the launch conditions (latitude and launch heading).

Detailed Description

Entity state data. The data is in WCS (ECEF) when the coordinate frame is WCS, and ECI when the coordinate frame is ECI. This is currently in spherical coordinates.

Constructor & Destructor Documentation

◆ State() [1/2]

◆ State() [2/2]

Member Function Documentation

◆ Advance()

WsfGuidedMover::State WsfGuidedMover::State::Advance ( double aDeltaT,
const KinematicState & aKinematicState ) const

◆ ComputeDerivatives() [1/2]

void WsfGuidedMover::State::ComputeDerivatives ( const double aAppliedForcesECS[3])

◆ ComputeDerivatives() [2/2]

UtVec3d WsfGuidedMover::State::ComputeDerivatives ( const double aAppliedForcesECS[3]) const

◆ ComputeGravitationalForce()

void WsfGuidedMover::State::ComputeGravitationalForce ( double aGravitationalForceWCS[3]) const

References mLocation.

Referenced by ComputeDerivatives(), ComputeDerivatives(), and State().

◆ GetDerivatives()

WsfGuidedMover::KinematicState WsfGuidedMover::State::GetDerivatives ( ) const

◆ GetUnpoweredDerivatives()

WsfGuidedMover::KinematicState WsfGuidedMover::State::GetUnpoweredDerivatives ( ) const

◆ Print()

void WsfGuidedMover::State::Print ( ut::log::MessageStream & aMsgStream,
double aFMM_Time )

◆ TakeEulerStep()

void WsfGuidedMover::State::TakeEulerStep ( double aDeltaTime,
const KinematicState & aDerivatives,
const State & aInitialState,
bool aIntegrateMass = false )

◆ UpdateOrientationData()

void WsfGuidedMover::State::UpdateOrientationData ( double aSimTime,
double aDeltaTime )

◆ UpdateOtherStateData()

Member Data Documentation

◆ mAcceleration

◆ mAltitude

◆ mAppliedForcesECS

double WsfGuidedMover::State::mAppliedForcesECS[3]

◆ mCoordinateFrame

◆ mCurrentFuelFlowRate

◆ mCurrentFuelMass

double WsfGuidedMover::State::mCurrentFuelMass

Referenced by Advance(), State(), and TakeEulerStep().

◆ mCurrentThrust

double WsfGuidedMover::State::mCurrentThrust

◆ mDivertFuelMass

double WsfGuidedMover::State::mDivertFuelMass

◆ mECI_SwitchTime

double WsfGuidedMover::State::mECI_SwitchTime {-1.0E-30}

The time when the WCS->ECI frame switch occurred.

Referenced by WsfGuidedMover::UpdateExternalState(), and UpdateOrientationData().

◆ mLastAeroForcesECS

double WsfGuidedMover::State::mLastAeroForcesECS[3]

◆ mLastThrustForcesECS

double WsfGuidedMover::State::mLastThrustForcesECS[3]

◆ mLaunchToOrbit

bool WsfGuidedMover::State::mLaunchToOrbit {false}

'true' if the mission is launch-to-orbit

Referenced by WsfGuidedMover::SwitchCoordinateFrame(), and UpdateOrientationData().

◆ mLocation

◆ mMach

double WsfGuidedMover::State::mMach

◆ mMaintainInclination

bool WsfGuidedMover::State::mMaintainInclination {false}

For launch-to-orbit, maintain the inclination as defined by the launch conditions (latitude and launch heading).

Referenced by WsfGuidedMover::SwitchCoordinateFrame(), and UpdateOrientationData().

◆ mMass

double WsfGuidedMover::State::mMass

◆ mMoverPtr

◆ mPhi

double WsfGuidedMover::State::mPhi

◆ mPsi

double WsfGuidedMover::State::mPsi

◆ mSpeed

double WsfGuidedMover::State::mSpeed

◆ mTheta

double WsfGuidedMover::State::mTheta

◆ mThrustDurationExtension

double WsfGuidedMover::State::mThrustDurationExtension

The amount of time the thrust duration is extended due to commanded throttle.

Referenced by WsfGuidedMover::GetHorizontalThrust(), and State().

◆ mTime

◆ mVelocity

◆ mWorld_ToECS_Transform


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