|
WSF
|
#include <WsfSixDOF_Route.hpp>
Classes | |
| struct | sRouteSegment |
Public Member Functions | |
| Route ()=default | |
| Route * | Clone () const |
| ~Route ()=default | |
| const Waypoint * | GetFirstElement () const |
| const Waypoint * | GetNextWaypoint (const Waypoint *aWaypoint) const |
| const Waypoint * | GetWaypointAtIndex (size_t aIndex) const |
| size_t | GetWaypointIndex (const Waypoint *aWaypoint) const |
| void | AddWaypointToRouteEnd (std::unique_ptr< Waypoint > &aWaypoint) |
| void | AddWaypointToRouteStart (std::unique_ptr< Waypoint > &aWaypoint) |
| size_t | GetNumberOfWaypoints () const |
| const std::vector< std::unique_ptr< Waypoint > > & | GetRoute () const |
| void | ComputeSegmentMap () |
| void | AddSegment (Waypoint *aWaypoint, std::unique_ptr< sRouteSegment > &aSegment) |
| sRouteSegment * | GetRouteSegment (const Waypoint *aWaypoint) const |
Static Public Member Functions | |
| static void | CalcAimHeadingAndBankAngle (const Waypoint *aPrevWpt, const Waypoint *aCurrWpt, const Waypoint *aNextWpt, const sRouteSegment *aCurrSegment, const sRouteSegment *aNextSegment, const UtLLAPos &aCurrentPos_lla, const UtVec2d &aCurrentVel_mps, CommonController::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 Waypoint *aPrevWpt, const Waypoint *aCurrWpt, const Waypoint *aNextWpt, const sRouteSegment *aCurrSegment, const sRouteSegment *aNextSegment, const UtLLAPos &aCurrentPos_lla, const UtVec2d &aCurrentVel_mps, CommonController::WaypointNavData &aNavData, double aRouteAllowableAngleError_rad, double aHeading_rad, double aSpeed_mps, double aMaxG_g, double aDeltaT_sec, bool &aAchievedWaypoint) |
| static void | CalcTaxiAimHeadingAngle (const Waypoint *aPrevWpt, const Waypoint *aCurrWpt, const Waypoint *aNextWpt, const sRouteSegment *aCurrSegment, const sRouteSegment *aNextSegment, const UtLLAPos &aCurrentPos_lla, const UtVec2d &aCurrentVel_mps, CommonController::WaypointNavData &aNavData, float aHeading_rad, double aTurnRadius_ft, double aDeltaT_sec, bool &aAchievedWaypoint) |
| static void | CalcVerticalSpeed (CommonController::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 std::unique_ptr< sRouteSegment > | CalcSegmentGeometry (const Waypoint *aPrevWpt, const Waypoint *aCurrWpt) |
| static bool | PassedWaypoint (float aDT, const CommonController::WaypointNavData &aNavData) |
| static bool | AchievedWaypoint (float aDT, const CommonController::WaypointNavData &aNavData, const Waypoint *aWaypoint, const Waypoint *aNextWaypoint) |
|
default |
|
default |
|
static |
References PassedWaypoint(), wsf::six_dof::CommonController::WaypointNavData::rangeRate_mps, wsf::six_dof::CommonController::WaypointNavData::rangeTrack_m, wsf::six_dof::CommonController::WaypointNavData::turnLeadDist_m, and wsf::six_dof::Waypoint::WaypointOnPassing().
Referenced by CalcAimHeadingAndBankAngle(), CalcTaxiAimHeadingAngle(), and CalcYawAimHeadingAngle().
| void wsf::six_dof::Route::AddSegment | ( | Waypoint * | aWaypoint, |
| std::unique_ptr< sRouteSegment > & | aSegment ) |
| void wsf::six_dof::Route::AddWaypointToRouteEnd | ( | std::unique_ptr< Waypoint > & | aWaypoint | ) |
Referenced by wsf::six_dof::Mover::ConvertWsfRouteToSixDOF_Route().
| void wsf::six_dof::Route::AddWaypointToRouteStart | ( | std::unique_ptr< Waypoint > & | aWaypoint | ) |
Referenced by wsf::six_dof::PilotObject::FlyTempWaypoints().
|
static |
References AchievedWaypoint(), wsf::six_dof::CommonController::WaypointNavData::aimHeading_rad, wsf::six_dof::CommonController::WaypointNavData::commandedBank_rad, wsf::six_dof::Route::sRouteSegment::currWptVector, wsf::six_dof::CommonController::WaypointNavData::deltaAlt_m, wsf::six_dof::Route::sRouteSegment::earthNED, wsf::six_dof::CommonController::WaypointNavData::executeTurn, GetDistanceBetweenWaypoints_m(), GetInitialHeading_rad(), wsf::six_dof::Waypoint::GetLLA(), wsf::six_dof::Waypoint::GetMaxTurnG(), GetTurnLeadDistance_m(), GetTurnRadius_m(), wsf::six_dof::Route::sRouteSegment::prevWptVector, wsf::six_dof::CommonController::WaypointNavData::rangeRate_mps, wsf::six_dof::CommonController::WaypointNavData::rangeTrack_m, wsf::six_dof::Route::sRouteSegment::trackDistance_m, wsf::six_dof::Route::sRouteSegment::trackEndHdg_rad, wsf::six_dof::Route::sRouteSegment::trackStartHdg_rad, wsf::six_dof::Route::sRouteSegment::trackVector, wsf::six_dof::Waypoint::TURN_G_TYPE_LATERAL, wsf::six_dof::Waypoint::TURN_G_TYPE_PILOT, wsf::six_dof::CommonController::WaypointNavData::turnLeadDist_m, wsf::six_dof::Waypoint::sTurnG::type, wsf::six_dof::Waypoint::sTurnG::val, and wsf::six_dof::Waypoint::WaypointOnPassing().
Referenced by wsf::six_dof::CommonController::GetAimHeadingForWaypointNav_deg().
|
static |
|
static |
References AchievedWaypoint(), wsf::six_dof::CommonController::WaypointNavData::aimHeading_rad, CA_ROUTE_ALLOWABLE_ANGLE_ERROR_RAD, wsf::six_dof::Route::sRouteSegment::currWptVector, wsf::six_dof::CommonController::WaypointNavData::deltaAlt_m, wsf::six_dof::Route::sRouteSegment::earthNED, wsf::six_dof::CommonController::WaypointNavData::executeTurn, GetDistanceBetweenWaypoints_m(), GetInitialHeading_rad(), wsf::six_dof::Waypoint::GetLLA(), GetTurnLeadDistance_m(), wsf::six_dof::Route::sRouteSegment::prevWptVector, wsf::six_dof::CommonController::WaypointNavData::rangeRate_mps, wsf::six_dof::CommonController::WaypointNavData::rangeTrack_m, wsf::six_dof::Route::sRouteSegment::trackDistance_m, wsf::six_dof::Route::sRouteSegment::trackEndHdg_rad, wsf::six_dof::Route::sRouteSegment::trackStartHdg_rad, wsf::six_dof::Route::sRouteSegment::trackVector, and wsf::six_dof::CommonController::WaypointNavData::turnLeadDist_m.
Referenced by wsf::six_dof::RigidBodyCommonController::GetAimHeadingAndTurnRateForTaxiWaypointNav_deg().
|
static |
References wsf::six_dof::CommonController::WaypointNavData::deltaAlt_m, wsf::six_dof::CommonController::WaypointNavData::rangeRate_mps, wsf::six_dof::CommonController::WaypointNavData::rangeTrack_m, and wsf::six_dof::CommonController::WaypointNavData::vertSpeed_mps.
Referenced by wsf::six_dof::CommonController::ProcessVerticalNavMode_Waypoint().
|
static |
References AchievedWaypoint(), wsf::six_dof::CommonController::WaypointNavData::aimHeading_rad, wsf::six_dof::Route::sRouteSegment::currWptVector, wsf::six_dof::CommonController::WaypointNavData::deltaAlt_m, wsf::six_dof::Route::sRouteSegment::earthNED, wsf::six_dof::CommonController::WaypointNavData::executeTurn, GetDistanceBetweenWaypoints_m(), GetInitialHeading_rad(), wsf::six_dof::Waypoint::GetLLA(), wsf::six_dof::Waypoint::GetMaxTurnG(), GetTurnLeadDistance_m(), GetTurnRadiusFromLateralG_m(), wsf::six_dof::Route::sRouteSegment::prevWptVector, wsf::six_dof::CommonController::WaypointNavData::rangeRate_mps, wsf::six_dof::CommonController::WaypointNavData::rangeTrack_m, wsf::six_dof::Route::sRouteSegment::trackDistance_m, wsf::six_dof::Route::sRouteSegment::trackEndHdg_rad, wsf::six_dof::Route::sRouteSegment::trackStartHdg_rad, wsf::six_dof::Route::sRouteSegment::trackVector, wsf::six_dof::Waypoint::TURN_G_TYPE_LATERAL, wsf::six_dof::CommonController::WaypointNavData::turnLeadDist_m, wsf::six_dof::Waypoint::sTurnG::type, and wsf::six_dof::Waypoint::sTurnG::val.
Referenced by wsf::six_dof::CommonController::GetAimHeadingForWaypointNav_deg().
| wsf::six_dof::Route * wsf::six_dof::Route::Clone | ( | ) | const |
| void wsf::six_dof::Route::ComputeSegmentMap | ( | ) |
References CalcSegmentGeometry(), and GetNextWaypoint().
Referenced by wsf::six_dof::Mover::ConvertWsfRouteToSixDOF_Route(), and wsf::six_dof::PilotObject::FlyTempWaypoints().
|
static |
Referenced by CalcAimHeadingAndBankAngle(), CalcSegmentGeometry(), CalcTaxiAimHeadingAngle(), and CalcYawAimHeadingAngle().
| const wsf::six_dof::Waypoint * wsf::six_dof::Route::GetFirstElement | ( | ) | const |
|
static |
Referenced by CalcAimHeadingAndBankAngle(), CalcTaxiAimHeadingAngle(), CalcYawAimHeadingAngle(), wsf::six_dof::RigidBodyCommonController::GetAimHeadingAndTurnRateForTaxiWaypointNav_deg(), wsf::six_dof::CommonController::GetAimHeadingForPoint_deg(), and wsf::six_dof::CommonController::GetAimHeadingForWaypointNav_deg().
| const wsf::six_dof::Waypoint * wsf::six_dof::Route::GetNextWaypoint | ( | const Waypoint * | aWaypoint | ) | const |
References wsf::six_dof::Waypoint::GetGoTo().
Referenced by ComputeSegmentMap().
| size_t wsf::six_dof::Route::GetNumberOfWaypoints | ( | ) | const |
Referenced by wsf::six_dof::PilotObject::FlyTempWaypoints(), and GetWaypointAtIndex().
|
inline |
| wsf::six_dof::Route::sRouteSegment * wsf::six_dof::Route::GetRouteSegment | ( | const Waypoint * | aWaypoint | ) | const |
|
static |
Referenced by CalcAimHeadingAndBankAngle(), CalcTaxiAimHeadingAngle(), and CalcYawAimHeadingAngle().
|
static |
Referenced by CalcAimHeadingAndBankAngle().
|
static |
Referenced by CalcYawAimHeadingAngle().
| const wsf::six_dof::Waypoint * wsf::six_dof::Route::GetWaypointAtIndex | ( | size_t | aIndex | ) | const |
References GetNumberOfWaypoints().
| size_t wsf::six_dof::Route::GetWaypointIndex | ( | const Waypoint * | aWaypoint | ) | const |
|
static |