FlightGear next
flightgear::RNAV Class Referenceabstract

Abstract RNAV interface, for devices which implement an RNAV system - INS / GPS / FMS. More...

#include <rnav_waypt_controller.hxx>

Inherited by GPS.

Classes

struct  LegData
 

Public Member Functions

virtual SGGeod position ()=0
 
virtual double trackDeg ()=0
 True track in degrees.
 
virtual double groundSpeedKts ()=0
 Ground speed (along the track) in knots.
 
virtual double vspeedFPM ()=0
 Vertical speed in ft/minute.
 
virtual double magvarDeg ()=0
 Magnetic variation at current position.
 
virtual double selectedMagCourse ()=0
 device selected course (eg, from autopilot / MCP / OBS) in degrees
 
virtual bool canFlyBy () const
 
virtual double maxFlyByTurnAngleDeg () const
 maximum angle in degrees where flyBy is permitted.
 
virtual double overflightDistanceM ()=0
 minimum distance to switch next waypoint.
 
virtual double overflightArmDistanceM ()=0
 minimum distance to a waypoint for overflight sequencing.
 
virtual double overflightArmAngleDeg ()=0
 angle for overflight sequencing.
 
virtual std::optional< LegDatapreviousLegData ()
 device leg previous waypoint position(eg, from route manager)
 
virtual std::optional< double > nextLegTrack ()
 
double turnRadiusNm ()
 compute turn radius based on current ground-speed
 
virtual double turnRadiusNm (const double groundSpeedKnots)=0
 compute the turn radius (based on standard rate turn) for a given ground speed in knots.
 

Detailed Description

Abstract RNAV interface, for devices which implement an RNAV system - INS / GPS / FMS.

Definition at line 38 of file rnav_waypt_controller.hxx.

Member Function Documentation

◆ canFlyBy()

virtual bool flightgear::RNAV::canFlyBy ( ) const
inlinevirtual

Reimplemented in GPS.

Definition at line 68 of file rnav_waypt_controller.hxx.

◆ groundSpeedKts()

virtual double flightgear::RNAV::groundSpeedKts ( )
pure virtual

Ground speed (along the track) in knots.

Implemented in GPS.

◆ magvarDeg()

virtual double flightgear::RNAV::magvarDeg ( )
pure virtual

Magnetic variation at current position.

Implemented in GPS.

◆ maxFlyByTurnAngleDeg()

virtual double flightgear::RNAV::maxFlyByTurnAngleDeg ( ) const
inlinevirtual

maximum angle in degrees where flyBy is permitted.

Turns larger than this value will always be executed as fly-over to avoid a very large cut.

Reimplemented in GPS.

Definition at line 78 of file rnav_waypt_controller.hxx.

◆ nextLegTrack()

virtual std::optional< double > flightgear::RNAV::nextLegTrack ( )
inlinevirtual

Reimplemented in GPS.

Definition at line 112 of file rnav_waypt_controller.hxx.

◆ overflightArmAngleDeg()

virtual double flightgear::RNAV::overflightArmAngleDeg ( )
pure virtual

angle for overflight sequencing.

Implemented in GPS.

◆ overflightArmDistanceM()

virtual double flightgear::RNAV::overflightArmDistanceM ( )
pure virtual

minimum distance to a waypoint for overflight sequencing.

Implemented in GPS.

◆ overflightDistanceM()

virtual double flightgear::RNAV::overflightDistanceM ( )
pure virtual

minimum distance to switch next waypoint.

Implemented in GPS.

◆ position()

virtual SGGeod flightgear::RNAV::position ( )
pure virtual

Implemented in GPS.

◆ previousLegData()

virtual std::optional< LegData > flightgear::RNAV::previousLegData ( )
inlinevirtual

device leg previous waypoint position(eg, from route manager)

Reimplemented in GPS.

Definition at line 107 of file rnav_waypt_controller.hxx.

◆ selectedMagCourse()

virtual double flightgear::RNAV::selectedMagCourse ( )
pure virtual

device selected course (eg, from autopilot / MCP / OBS) in degrees

Implemented in GPS.

◆ trackDeg()

virtual double flightgear::RNAV::trackDeg ( )
pure virtual

True track in degrees.

Implemented in GPS.

◆ turnRadiusNm() [1/2]

double flightgear::RNAV::turnRadiusNm ( )
inline

compute turn radius based on current ground-speed

Definition at line 121 of file rnav_waypt_controller.hxx.

◆ turnRadiusNm() [2/2]

virtual double flightgear::RNAV::turnRadiusNm ( const double groundSpeedKnots)
pure virtual

compute the turn radius (based on standard rate turn) for a given ground speed in knots.

Implemented in GPS.

◆ vspeedFPM()

virtual double flightgear::RNAV::vspeedFPM ( )
pure virtual

Vertical speed in ft/minute.

Implemented in GPS.


The documentation for this class was generated from the following file: