WSF
wsf::six_dof::AutopilotAction Class Reference

#include <WsfSixDOF_AutopilotAction.hpp>

Collaboration diagram for wsf::six_dof::AutopilotAction:

Public Member Functions

 AutopilotAction ()=default
 ~AutopilotAction ()=default
AutopilotActionoperator= (const AutopilotAction &)=delete
AutopilotActionClone () const
const WaypointGetPrevWaypoint () const
const WaypointGetCurrWaypoint () const
const WaypointGetNextWaypoint () const
const Route::sRouteSegmentGetCurrSegment () const
const Route::sRouteSegmentGetNextSegment () const
void SetNavWaypoints (const Waypoint *aPrevWpt, const Waypoint *aCurrWpt, const Waypoint *aNextWpt, const Route::sRouteSegment *aCurrSegment, const Route::sRouteSegment *aNextSegment)
void SetLateralChannelMode (Lateral::Mode aMode)
void SetStabilizingChannelMode (Lateral::Mode aMode)
void SetVerticalChannelMode (Vertical::Mode aMode)
void SetSpeedChannelMode (Speed::Mode aMode)
float GetHeading_rad () const
void SetHeading_rad (float aHeading_rad)
float GetHeading_deg () const
void SetHeading_deg (float aHeading_deg)
float GetBank_rad () const
void SetBank_rad (float aBank_rad)
float GetBank_deg () const
void SetBank_deg (float aBank_deg)
float GetRollRate_dps () const
void SetRollRate_dps (float aRollRate_dps)
float GetRollDelta_deg () const
void SetRollDelta_deg (float aRollDelta_deg)
float GetYawGLoad_g () const
void SetYawGLoad_g (float aGLoad_g)
float GetYawRate_dps () const
void SetYawRate_dps (float aYawRate_dps)
float GetBeta_deg () const
void SetBeta_deg (float aBeta_deg)
float GetForwardAcceleration_g () const
void SetForwardAcceleration_g (float aAcceleration_g)
float GetCalibratedAirSpeed_KCAS () const
void SetCalibratedAirSpeed_KCAS (float aCalibratedAirSpeed_KCAS)
float GetTrueAirSpeed_KTAS () const
void SetTrueAirSpeed_KTAS (float aTrueAirSpeed_KTAS)
float GetMach () const
void SetMach (float aMach)
float GetSpeed_fps () const
void SetSpeed_fps (float aSpeed_fps)
float GetThrottle () const
void SetThrottle (float aThrottle)
void SetNoSpeedControl ()
float GetAltitudeMSL_ft () const
float GetAltitudeMSL_m () const
void SetAltitudeMSL_ft (float aAltitudeMSL_ft)
float GetVerticalRate_fpm () const
void SetVerticalRate_fpm (float aVerticalRate_fpm)
float GetPitchGLoad_g () const
void SetPitchGLoad_g (float aGLoad_g)
float GetPitchAngle_deg () const
void SetPitchAngle_deg (float aPitchAngle_deg)
float GetPitchRate_dps () const
void SetPitchRate_dps (float aPitchRate_dps)
float GetFlightPathAngle_deg () const
void SetFlightPathAngle_deg (float aVerticalAngle_deg)
float GetDeltaPitch_deg () const
void SetDeltaPitch_deg (float aDeltaPitch_deg)
float GetAlpha_deg () const
void SetAlpha_deg (float aAlpha_deg)
Lateral::Mode GetLateralChannelMode () const
Lateral::Mode GetStabilizingChannelMode () const
Vertical::Mode GetVerticalChannelMode () const
Speed::Mode GetSpeedChannelMode () const
CommonController::eAutopilotTurnDir GetAPTurnDir () const

Protected Member Functions

 AutopilotAction (const AutopilotAction &aSrc)=default

Protected Attributes

const WaypointmPrevWaypointPtr = nullptr
const WaypointmCurrWaypointPtr = nullptr
const WaypointmNextWaypointPtr = nullptr
const Route::sRouteSegmentmCurrSegmentPtr = nullptr
const Route::sRouteSegmentmNextSegmentPtr = nullptr
float mHeading_rad = 0.0f
float mRateOfTurn_dps = 0.0f
float mBank_rad = 0.0f
float mRadiusFt = 0.0f
float mRollRate_dps = 0.0f
float mRollDelta_deg = 0.0f
float mYawGLoad_g = 0.0f
float mYawRate_dps = 0.0f
float mBeta_deg = 0.0f
float mAltitudeMSL_ft = 0.0f
float mVerticalRate_fpm = 0.0f
float mFlightPathAngle_rad = 0.0f
float mPitchAngle_deg = 0.0f
float mPitchRate_dps = 0.0f
float mPitchGLoad_g = 0.0f
float mDeltaPitch_deg = 0.0f
float mAlpha_deg = 0.0f
float mMach = 0.0f
float mTrueAirSpeed_KTAS = 0.0f
float mCalibratedAirSpeed_KCAS = 0.0f
float mForwardAcceleration_g = 0.0f
float mSpeed_fps = 0.0f
float mThrottle = 0.0f
CommonController::eAutopilotTurnDir mTurnDirection = CommonController::TD_DEFAULT
Vertical::Mode mVerticalChannelMode = Vertical::Undefined
Lateral::Mode mLateralChannelMode = Lateral::Undefined
Lateral::Mode mStabilizingChannelMode = Lateral::Undefined
Speed::Mode mSpeedChannelMode = Speed::Undefined

Constructor & Destructor Documentation

◆ AutopilotAction() [1/2]

wsf::six_dof::AutopilotAction::AutopilotAction ( )
default

Referenced by AutopilotAction(), Clone(), and operator=().

◆ ~AutopilotAction()

wsf::six_dof::AutopilotAction::~AutopilotAction ( )
default

◆ AutopilotAction() [2/2]

wsf::six_dof::AutopilotAction::AutopilotAction ( const AutopilotAction & aSrc)
protecteddefault

References AutopilotAction().

Member Function Documentation

◆ Clone()

wsf::six_dof::AutopilotAction * wsf::six_dof::AutopilotAction::Clone ( ) const

References AutopilotAction().

Referenced by operator=().

◆ GetAlpha_deg()

float wsf::six_dof::AutopilotAction::GetAlpha_deg ( ) const
inline

References mAlpha_deg.

◆ GetAltitudeMSL_ft()

float wsf::six_dof::AutopilotAction::GetAltitudeMSL_ft ( ) const
inline

References mAltitudeMSL_ft.

◆ GetAltitudeMSL_m()

float wsf::six_dof::AutopilotAction::GetAltitudeMSL_m ( ) const

References mAltitudeMSL_ft.

◆ GetAPTurnDir()

CommonController::eAutopilotTurnDir wsf::six_dof::AutopilotAction::GetAPTurnDir ( ) const
inline

References mTurnDirection.

◆ GetBank_deg()

float wsf::six_dof::AutopilotAction::GetBank_deg ( ) const

References mBank_rad.

◆ GetBank_rad()

float wsf::six_dof::AutopilotAction::GetBank_rad ( ) const
inline

References mBank_rad.

◆ GetBeta_deg()

float wsf::six_dof::AutopilotAction::GetBeta_deg ( ) const
inline

References mBeta_deg.

◆ GetCalibratedAirSpeed_KCAS()

float wsf::six_dof::AutopilotAction::GetCalibratedAirSpeed_KCAS ( ) const
inline

◆ GetCurrSegment()

const Route::sRouteSegment * wsf::six_dof::AutopilotAction::GetCurrSegment ( ) const
inline

References mCurrSegmentPtr.

◆ GetCurrWaypoint()

const Waypoint * wsf::six_dof::AutopilotAction::GetCurrWaypoint ( ) const
inline

References mCurrWaypointPtr.

◆ GetDeltaPitch_deg()

float wsf::six_dof::AutopilotAction::GetDeltaPitch_deg ( ) const
inline

References mDeltaPitch_deg.

◆ GetFlightPathAngle_deg()

float wsf::six_dof::AutopilotAction::GetFlightPathAngle_deg ( ) const

References mFlightPathAngle_rad.

◆ GetForwardAcceleration_g()

float wsf::six_dof::AutopilotAction::GetForwardAcceleration_g ( ) const
inline

◆ GetHeading_deg()

float wsf::six_dof::AutopilotAction::GetHeading_deg ( ) const

References mHeading_rad.

◆ GetHeading_rad()

float wsf::six_dof::AutopilotAction::GetHeading_rad ( ) const
inline

References mHeading_rad.

◆ GetLateralChannelMode()

Lateral::Mode wsf::six_dof::AutopilotAction::GetLateralChannelMode ( ) const
inline

◆ GetMach()

float wsf::six_dof::AutopilotAction::GetMach ( ) const
inline

References mMach.

◆ GetNextSegment()

const Route::sRouteSegment * wsf::six_dof::AutopilotAction::GetNextSegment ( ) const
inline

References mNextSegmentPtr.

◆ GetNextWaypoint()

const Waypoint * wsf::six_dof::AutopilotAction::GetNextWaypoint ( ) const
inline

References mNextWaypointPtr.

◆ GetPitchAngle_deg()

float wsf::six_dof::AutopilotAction::GetPitchAngle_deg ( ) const
inline

References mPitchAngle_deg.

◆ GetPitchGLoad_g()

float wsf::six_dof::AutopilotAction::GetPitchGLoad_g ( ) const
inline

References mPitchGLoad_g.

◆ GetPitchRate_dps()

float wsf::six_dof::AutopilotAction::GetPitchRate_dps ( ) const
inline

References mPitchRate_dps.

◆ GetPrevWaypoint()

const Waypoint * wsf::six_dof::AutopilotAction::GetPrevWaypoint ( ) const
inline

References mPrevWaypointPtr.

◆ GetRollDelta_deg()

float wsf::six_dof::AutopilotAction::GetRollDelta_deg ( ) const
inline

References mRollDelta_deg.

◆ GetRollRate_dps()

float wsf::six_dof::AutopilotAction::GetRollRate_dps ( ) const
inline

References mRollRate_dps.

◆ GetSpeed_fps()

float wsf::six_dof::AutopilotAction::GetSpeed_fps ( ) const
inline

References mSpeed_fps.

◆ GetSpeedChannelMode()

Speed::Mode wsf::six_dof::AutopilotAction::GetSpeedChannelMode ( ) const
inline

◆ GetStabilizingChannelMode()

Lateral::Mode wsf::six_dof::AutopilotAction::GetStabilizingChannelMode ( ) const
inline

◆ GetThrottle()

float wsf::six_dof::AutopilotAction::GetThrottle ( ) const
inline

References mThrottle.

◆ GetTrueAirSpeed_KTAS()

float wsf::six_dof::AutopilotAction::GetTrueAirSpeed_KTAS ( ) const
inline

References mTrueAirSpeed_KTAS.

◆ GetVerticalChannelMode()

Vertical::Mode wsf::six_dof::AutopilotAction::GetVerticalChannelMode ( ) const
inline

◆ GetVerticalRate_fpm()

float wsf::six_dof::AutopilotAction::GetVerticalRate_fpm ( ) const
inline

References mVerticalRate_fpm.

◆ GetYawGLoad_g()

float wsf::six_dof::AutopilotAction::GetYawGLoad_g ( ) const
inline

References mYawGLoad_g.

◆ GetYawRate_dps()

float wsf::six_dof::AutopilotAction::GetYawRate_dps ( ) const
inline

References mYawRate_dps.

◆ operator=()

AutopilotAction & wsf::six_dof::AutopilotAction::operator= ( const AutopilotAction & )
delete

References AutopilotAction(), and Clone().

◆ SetAlpha_deg()

void wsf::six_dof::AutopilotAction::SetAlpha_deg ( float aAlpha_deg)

References mAlpha_deg.

◆ SetAltitudeMSL_ft()

void wsf::six_dof::AutopilotAction::SetAltitudeMSL_ft ( float aAltitudeMSL_ft)

References mAltitudeMSL_ft.

Referenced by wsf::six_dof::Mover::Update().

◆ SetBank_deg()

void wsf::six_dof::AutopilotAction::SetBank_deg ( float aBank_deg)

◆ SetBank_rad()

void wsf::six_dof::AutopilotAction::SetBank_rad ( float aBank_rad)

References mBank_rad.

◆ SetBeta_deg()

void wsf::six_dof::AutopilotAction::SetBeta_deg ( float aBeta_deg)

References mBeta_deg.

◆ SetCalibratedAirSpeed_KCAS()

void wsf::six_dof::AutopilotAction::SetCalibratedAirSpeed_KCAS ( float aCalibratedAirSpeed_KCAS)

◆ SetDeltaPitch_deg()

void wsf::six_dof::AutopilotAction::SetDeltaPitch_deg ( float aDeltaPitch_deg)

References mDeltaPitch_deg.

◆ SetFlightPathAngle_deg()

void wsf::six_dof::AutopilotAction::SetFlightPathAngle_deg ( float aVerticalAngle_deg)

◆ SetForwardAcceleration_g()

void wsf::six_dof::AutopilotAction::SetForwardAcceleration_g ( float aAcceleration_g)

◆ SetHeading_deg()

void wsf::six_dof::AutopilotAction::SetHeading_deg ( float aHeading_deg)

◆ SetHeading_rad()

void wsf::six_dof::AutopilotAction::SetHeading_rad ( float aHeading_rad)

◆ SetLateralChannelMode()

◆ SetMach()

void wsf::six_dof::AutopilotAction::SetMach ( float aMach)

References mMach.

Referenced by wsf::six_dof::Mover::CommandLevelTurn().

◆ SetNavWaypoints()

void wsf::six_dof::AutopilotAction::SetNavWaypoints ( const Waypoint * aPrevWpt,
const Waypoint * aCurrWpt,
const Waypoint * aNextWpt,
const Route::sRouteSegment * aCurrSegment,
const Route::sRouteSegment * aNextSegment )

◆ SetNoSpeedControl()

void wsf::six_dof::AutopilotAction::SetNoSpeedControl ( )

◆ SetPitchAngle_deg()

void wsf::six_dof::AutopilotAction::SetPitchAngle_deg ( float aPitchAngle_deg)

References mPitchAngle_deg.

◆ SetPitchGLoad_g()

◆ SetPitchRate_dps()

void wsf::six_dof::AutopilotAction::SetPitchRate_dps ( float aPitchRate_dps)

References mPitchRate_dps.

◆ SetRollDelta_deg()

void wsf::six_dof::AutopilotAction::SetRollDelta_deg ( float aRollDelta_deg)

◆ SetRollRate_dps()

void wsf::six_dof::AutopilotAction::SetRollRate_dps ( float aRollRate_dps)

References mRollRate_dps.

◆ SetSpeed_fps()

void wsf::six_dof::AutopilotAction::SetSpeed_fps ( float aSpeed_fps)

References mSpeed_fps.

Referenced by wsf::six_dof::Mover::Update().

◆ SetSpeedChannelMode()

◆ SetStabilizingChannelMode()

void wsf::six_dof::AutopilotAction::SetStabilizingChannelMode ( Lateral::Mode aMode)

◆ SetThrottle()

void wsf::six_dof::AutopilotAction::SetThrottle ( float aThrottle)

◆ SetTrueAirSpeed_KTAS()

void wsf::six_dof::AutopilotAction::SetTrueAirSpeed_KTAS ( float aTrueAirSpeed_KTAS)

◆ SetVerticalChannelMode()

◆ SetVerticalRate_fpm()

void wsf::six_dof::AutopilotAction::SetVerticalRate_fpm ( float aVerticalRate_fpm)

References mVerticalRate_fpm.

◆ SetYawGLoad_g()

void wsf::six_dof::AutopilotAction::SetYawGLoad_g ( float aGLoad_g)

References mYawGLoad_g.

Referenced by wsf::six_dof::Mover::Update().

◆ SetYawRate_dps()

void wsf::six_dof::AutopilotAction::SetYawRate_dps ( float aYawRate_dps)

References mYawRate_dps.

Member Data Documentation

◆ mAlpha_deg

float wsf::six_dof::AutopilotAction::mAlpha_deg = 0.0f
protected

Referenced by GetAlpha_deg(), and SetAlpha_deg().

◆ mAltitudeMSL_ft

float wsf::six_dof::AutopilotAction::mAltitudeMSL_ft = 0.0f
protected

◆ mBank_rad

float wsf::six_dof::AutopilotAction::mBank_rad = 0.0f
protected

◆ mBeta_deg

float wsf::six_dof::AutopilotAction::mBeta_deg = 0.0f
protected

Referenced by GetBeta_deg(), and SetBeta_deg().

◆ mCalibratedAirSpeed_KCAS

float wsf::six_dof::AutopilotAction::mCalibratedAirSpeed_KCAS = 0.0f
protected

◆ mCurrSegmentPtr

const Route::sRouteSegment* wsf::six_dof::AutopilotAction::mCurrSegmentPtr = nullptr
protected

Referenced by GetCurrSegment(), and SetNavWaypoints().

◆ mCurrWaypointPtr

const Waypoint* wsf::six_dof::AutopilotAction::mCurrWaypointPtr = nullptr
protected

Referenced by GetCurrWaypoint(), and SetNavWaypoints().

◆ mDeltaPitch_deg

float wsf::six_dof::AutopilotAction::mDeltaPitch_deg = 0.0f
protected

◆ mFlightPathAngle_rad

float wsf::six_dof::AutopilotAction::mFlightPathAngle_rad = 0.0f
protected

◆ mForwardAcceleration_g

float wsf::six_dof::AutopilotAction::mForwardAcceleration_g = 0.0f
protected

◆ mHeading_rad

float wsf::six_dof::AutopilotAction::mHeading_rad = 0.0f
protected

◆ mLateralChannelMode

Lateral::Mode wsf::six_dof::AutopilotAction::mLateralChannelMode = Lateral::Undefined
protected

◆ mMach

float wsf::six_dof::AutopilotAction::mMach = 0.0f
protected

Referenced by GetMach(), and SetMach().

◆ mNextSegmentPtr

const Route::sRouteSegment* wsf::six_dof::AutopilotAction::mNextSegmentPtr = nullptr
protected

Referenced by GetNextSegment(), and SetNavWaypoints().

◆ mNextWaypointPtr

const Waypoint* wsf::six_dof::AutopilotAction::mNextWaypointPtr = nullptr
protected

Referenced by GetNextWaypoint(), and SetNavWaypoints().

◆ mPitchAngle_deg

float wsf::six_dof::AutopilotAction::mPitchAngle_deg = 0.0f
protected

◆ mPitchGLoad_g

float wsf::six_dof::AutopilotAction::mPitchGLoad_g = 0.0f
protected

Referenced by GetPitchGLoad_g(), and SetPitchGLoad_g().

◆ mPitchRate_dps

float wsf::six_dof::AutopilotAction::mPitchRate_dps = 0.0f
protected

◆ mPrevWaypointPtr

const Waypoint* wsf::six_dof::AutopilotAction::mPrevWaypointPtr = nullptr
protected

Referenced by GetPrevWaypoint(), and SetNavWaypoints().

◆ mRadiusFt

float wsf::six_dof::AutopilotAction::mRadiusFt = 0.0f
protected

◆ mRateOfTurn_dps

float wsf::six_dof::AutopilotAction::mRateOfTurn_dps = 0.0f
protected

◆ mRollDelta_deg

float wsf::six_dof::AutopilotAction::mRollDelta_deg = 0.0f
protected

◆ mRollRate_dps

float wsf::six_dof::AutopilotAction::mRollRate_dps = 0.0f
protected

Referenced by GetRollRate_dps(), and SetRollRate_dps().

◆ mSpeed_fps

float wsf::six_dof::AutopilotAction::mSpeed_fps = 0.0f
protected

Referenced by GetSpeed_fps(), and SetSpeed_fps().

◆ mSpeedChannelMode

Speed::Mode wsf::six_dof::AutopilotAction::mSpeedChannelMode = Speed::Undefined
protected

◆ mStabilizingChannelMode

Lateral::Mode wsf::six_dof::AutopilotAction::mStabilizingChannelMode = Lateral::Undefined
protected

◆ mThrottle

float wsf::six_dof::AutopilotAction::mThrottle = 0.0f
protected

Referenced by GetThrottle(), and SetThrottle().

◆ mTrueAirSpeed_KTAS

float wsf::six_dof::AutopilotAction::mTrueAirSpeed_KTAS = 0.0f
protected

◆ mTurnDirection

CommonController::eAutopilotTurnDir wsf::six_dof::AutopilotAction::mTurnDirection = CommonController::TD_DEFAULT
protected

Referenced by GetAPTurnDir().

◆ mVerticalChannelMode

Vertical::Mode wsf::six_dof::AutopilotAction::mVerticalChannelMode = Vertical::Undefined
protected

◆ mVerticalRate_fpm

float wsf::six_dof::AutopilotAction::mVerticalRate_fpm = 0.0f
protected

◆ mYawGLoad_g

float wsf::six_dof::AutopilotAction::mYawGLoad_g = 0.0f
protected

Referenced by GetYawGLoad_g(), and SetYawGLoad_g().

◆ mYawRate_dps

float wsf::six_dof::AutopilotAction::mYawRate_dps = 0.0f
protected

Referenced by GetYawRate_dps(), and SetYawRate_dps().


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