FlightGear next
|
Inherits flightgear::WayptController.
Public Member Functions | |
InterceptCtl (RNAV *aRNAV, const WayptRef &aWpt) | |
bool | init () override |
void | update (double) override |
bool | updateFlyByTurn () |
void | computeTurn () |
double | distanceToWayptM () const override |
Compute distance until the waypoint is done. | |
SGGeod | position () const override |
Position associated with the waypt. | |
double | xtrackErrorNm () const override |
double | courseDeviationDeg () const override |
![]() | |
virtual | ~WayptController () |
virtual double | timeToWaypt () const |
Compute time until the waypoint is done. | |
virtual double | trueBearingDeg () const |
Bearing to the waypoint, if this value is meaningful. | |
virtual double | targetTrackDeg () const |
bool | isDone () const |
Is this controller finished? | |
virtual bool | toFlag () const |
to/from flag - true = to, false = from. | |
virtual std::string | status () const |
Allow waypoints to indicate a status value as a string. | |
virtual std::optional< RNAV::LegData > | legData () const |
WayptRef | waypoint () const |
Additional Inherited Members | |
![]() | |
static WayptController * | createForWaypt (RNAV *rnav, const WayptRef &aWpt) |
Static factory method, given a waypoint, return a controller bound to it, of the appropriate type. | |
![]() | |
WayptController (RNAV *aRNAV, const WayptRef &aWpt) | |
void | setDone () |
void | setSubController (WayptController *sub) |
![]() | |
WayptRef | _waypt |
double | _targetTrack |
RNAV * | _rnav |
std::unique_ptr< WayptController > | _subController |
Definition at line 749 of file rnav_waypt_controller.cxx.
Definition at line 752 of file rnav_waypt_controller.cxx.
|
inline |
Definition at line 844 of file rnav_waypt_controller.cxx.
|
inlineoverridevirtual |
Reimplemented from flightgear::WayptController.
Definition at line 882 of file rnav_waypt_controller.cxx.
|
inlineoverridevirtual |
Compute distance until the waypoint is done.
Implements flightgear::WayptController.
Definition at line 865 of file rnav_waypt_controller.cxx.
|
inlineoverridevirtual |
Reimplemented from flightgear::WayptController.
Definition at line 761 of file rnav_waypt_controller.cxx.
|
inlineoverridevirtual |
Position associated with the waypt.
For static waypoints, this is simply the waypoint position itself; for dynamic points, it's the estimated location at which the controller will be done.
Implements flightgear::WayptController.
Definition at line 870 of file rnav_waypt_controller.cxx.
|
inlineoverridevirtual |
Implements flightgear::WayptController.
Definition at line 772 of file rnav_waypt_controller.cxx.
|
inline |
Definition at line 815 of file rnav_waypt_controller.cxx.
|
inlineoverridevirtual |
Reimplemented from flightgear::WayptController.
Definition at line 875 of file rnav_waypt_controller.cxx.