WSF
P6DofRoute Class Reference

#include <P6DofRoute.hpp>

Classes

struct  sRouteSegment

Public Member Functions

 P6DofRoute ()
P6DofRouteClone () const
 ~P6DofRoute ()
const P6DofWaypointGetFirstElement () const
const P6DofWaypointGetNextWaypoint (const P6DofWaypoint *aWaypoint) const
const P6DofWaypointGetWaypointAtIndex (size_t aIndex) const
size_t GetWaypointIndex (const P6DofWaypoint *aWaypoint) const
void AddWaypointToRouteEnd (P6DofWaypoint *aWaypoint)
void AddWaypointToRouteStart (P6DofWaypoint *aWaypoint)
size_t GetNumberOfWaypoints () const
std::vector< P6DofWaypoint * >::const_iterator Begin () const
std::vector< P6DofWaypoint * >::const_iterator End () const
void ComputeSegmentMap ()
void AddSegment (P6DofWaypoint *aWaypoint, sRouteSegment *aSegment)
sRouteSegmentGetRouteSegment (const P6DofWaypoint *aWaypoint) const

Static Public Member Functions

static void CalcAimHeadingAndBankAngle (const P6DofWaypoint *aPrevWpt, const P6DofWaypoint *aCurrWpt, const P6DofWaypoint *aNextWpt, const sRouteSegment *aCurrSegment, const sRouteSegment *aNextSegment, const UtLLAPos &aCurrentPos_lla, const UtVec2d &aCurrentVel_mps, P6DofCommonController::WaypointNavData &aNavData, double aTurnRollInMultiplier, double aRouteAllowableAngleError_rad, double aHeading_rad, double aSpeed_mps, double aMaxBankAngle_rad, double aMaxBankRate_rad_s, double aMaxG_g, double aDeltaT_sec, bool &aAchievedWaypoint)
static void CalcYawAimHeadingAngle (const P6DofWaypoint *aPrevWpt, const P6DofWaypoint *aCurrWpt, const P6DofWaypoint *aNextWpt, const sRouteSegment *aCurrSegment, const sRouteSegment *aNextSegment, const UtLLAPos &aCurrentPos_lla, const UtVec2d &aCurrentVel_mps, P6DofCommonController::WaypointNavData &aNavData, double aRouteAllowableAngleError_rad, double aHeading_rad, double aSpeed_mps, double aMaxG_g, double aDeltaT_sec, bool &aAchievedWaypoint)
static void CalcTaxiAimHeadingAngle (const P6DofWaypoint *aPrevWpt, const P6DofWaypoint *aCurrWpt, const P6DofWaypoint *aNextWpt, const sRouteSegment *aCurrSegment, const sRouteSegment *aNextSegment, const UtLLAPos &aCurrentPos_lla, const UtVec2d &aCurrentVel_mps, P6DofCommonController::WaypointNavData &aNavData, float aHeading_rad, double aTurnRadius_ft, double aDeltaT_sec, bool &aAchievedWaypoint)
static void CalcVerticalSpeed (P6DofCommonController::WaypointNavData &aNavData)
static double GetInitialHeading_rad (const UtLLAPos &aLLAStart, const UtLLAPos &aLLAEnd)
static double GetTurnRadius_m (double aSpeed_mps, double aBankAngle_rad)
static double GetTurnRadiusFromLateralG_m (double aSpeed_mps, double aLateralG_g)
static double GetTurnLeadDistance_m (double aTurnAngle_rad, double aTurnRadius_m)
static double GetDistanceBetweenWaypoints_m (const UtLLAPos &aStartLLA, const UtLLAPos &aEndLLA, double &aStartHdg_rad, double &aEndHdg_rad)
static sRouteSegmentCalcSegmentGeometry (const P6DofWaypoint *aPrevWpt, const P6DofWaypoint *aCurrWpt)
static bool PassedWaypoint (float aDT, const P6DofCommonController::WaypointNavData &aNavData)
static bool AchievedWaypoint (float aDT, const P6DofCommonController::WaypointNavData &aNavData, const P6DofWaypoint *aWaypoint, const P6DofWaypoint *aNextWaypoint)

Constructor & Destructor Documentation

◆ P6DofRoute()

P6DofRoute::P6DofRoute ( )

Referenced by Clone().

◆ ~P6DofRoute()

P6DofRoute::~P6DofRoute ( )

Member Function Documentation

◆ AchievedWaypoint()

◆ AddSegment()

void P6DofRoute::AddSegment ( P6DofWaypoint * aWaypoint,
sRouteSegment * aSegment )

◆ AddWaypointToRouteEnd()

void P6DofRoute::AddWaypointToRouteEnd ( P6DofWaypoint * aWaypoint)

◆ AddWaypointToRouteStart()

void P6DofRoute::AddWaypointToRouteStart ( P6DofWaypoint * aWaypoint)

◆ Begin()

std::vector< P6DofWaypoint * >::const_iterator P6DofRoute::Begin ( ) const

◆ CalcAimHeadingAndBankAngle()

void P6DofRoute::CalcAimHeadingAndBankAngle ( const P6DofWaypoint * aPrevWpt,
const P6DofWaypoint * aCurrWpt,
const P6DofWaypoint * aNextWpt,
const sRouteSegment * aCurrSegment,
const sRouteSegment * aNextSegment,
const UtLLAPos & aCurrentPos_lla,
const UtVec2d & aCurrentVel_mps,
P6DofCommonController::WaypointNavData & aNavData,
double aTurnRollInMultiplier,
double aRouteAllowableAngleError_rad,
double aHeading_rad,
double aSpeed_mps,
double aMaxBankAngle_rad,
double aMaxBankRate_rad_s,
double aMaxG_g,
double aDeltaT_sec,
bool & aAchievedWaypoint )
static

◆ CalcSegmentGeometry()

◆ CalcTaxiAimHeadingAngle()

◆ CalcVerticalSpeed()

◆ CalcYawAimHeadingAngle()

◆ Clone()

P6DofRoute * P6DofRoute::Clone ( ) const

◆ ComputeSegmentMap()

◆ End()

std::vector< P6DofWaypoint * >::const_iterator P6DofRoute::End ( ) const

◆ GetDistanceBetweenWaypoints_m()

double P6DofRoute::GetDistanceBetweenWaypoints_m ( const UtLLAPos & aStartLLA,
const UtLLAPos & aEndLLA,
double & aStartHdg_rad,
double & aEndHdg_rad )
static

◆ GetFirstElement()

const P6DofWaypoint * P6DofRoute::GetFirstElement ( ) const

◆ GetInitialHeading_rad()

◆ GetNextWaypoint()

const P6DofWaypoint * P6DofRoute::GetNextWaypoint ( const P6DofWaypoint * aWaypoint) const

References P6DofWaypoint::GetGoTo().

Referenced by ComputeSegmentMap().

◆ GetNumberOfWaypoints()

size_t P6DofRoute::GetNumberOfWaypoints ( ) const

◆ GetRouteSegment()

P6DofRoute::sRouteSegment * P6DofRoute::GetRouteSegment ( const P6DofWaypoint * aWaypoint) const

◆ GetTurnLeadDistance_m()

double P6DofRoute::GetTurnLeadDistance_m ( double aTurnAngle_rad,
double aTurnRadius_m )
static

◆ GetTurnRadius_m()

double P6DofRoute::GetTurnRadius_m ( double aSpeed_mps,
double aBankAngle_rad )
static

◆ GetTurnRadiusFromLateralG_m()

double P6DofRoute::GetTurnRadiusFromLateralG_m ( double aSpeed_mps,
double aLateralG_g )
static

Referenced by CalcYawAimHeadingAngle().

◆ GetWaypointAtIndex()

const P6DofWaypoint * P6DofRoute::GetWaypointAtIndex ( size_t aIndex) const

◆ GetWaypointIndex()

size_t P6DofRoute::GetWaypointIndex ( const P6DofWaypoint * aWaypoint) const

◆ PassedWaypoint()

bool P6DofRoute::PassedWaypoint ( float aDT,
const P6DofCommonController::WaypointNavData & aNavData )
static

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