1
0
Fork 0
flightgear/src/Instrumentation
James Turner 62cdd30810 Fix a GPS bug identified by Jonathan Redpath
When in LEG mode, and within the intercept cone, but further away from
the leg waypoint than the leg origin, we were computing a bogus
abeam point and hence a bogus desired track.

Detect this situation, and invert the computed along-track-distance,
so the computed abeam point is actually near where we are, and not ahead
of us.
2020-12-14 21:04:50 +00:00
..
HUD src/Instrumentation/HUD/HUD.cxx: removed unnecessary newline in SG_LOG() text. 2020-06-20 19:09:12 +01:00
KLN89 src/Instrumentation/: use sizeof in snprintf. 2020-06-17 22:46:42 +01:00
AbstractInstrument.cxx Fix a comment typo 2020-04-27 14:21:47 +01:00
AbstractInstrument.hxx MarkerBeacon uses AbstractInstrument 2019-06-03 14:32:38 +01:00
adf.cxx SGSubsystem classes: Registration of all subsystems. 2019-07-01 14:51:32 +02:00
adf.hxx SGSubsystem classes: Addition of staticSubsystemClassId() to all subsystems. 2019-07-01 14:51:32 +02:00
airspeed_indicator.cxx SGSubsystem classes: Registration of all subsystems. 2019-07-01 14:51:32 +02:00
airspeed_indicator.hxx SGSubsystem classes: Addition of staticSubsystemClassId() to all subsystems. 2019-07-01 14:51:32 +02:00
altimeter.cxx SGSubsystem classes: Registration of all subsystems. 2019-07-01 14:51:32 +02:00
altimeter.hxx SGSubsystem classes: Addition of staticSubsystemClassId() to all subsystems. 2019-07-01 14:51:32 +02:00
attitude_indicator.cxx SGSubsystem classes: Registration of all subsystems. 2019-07-01 14:51:32 +02:00
attitude_indicator.hxx SGSubsystem classes: Addition of staticSubsystemClassId() to all subsystems. 2019-07-01 14:51:32 +02:00
clock.cxx src/Instrumentation/: use sizeof in snprintf. 2020-06-17 22:46:42 +01:00
clock.hxx SGSubsystem classes: Addition of staticSubsystemClassId() to all subsystems. 2019-07-01 14:51:32 +02:00
CMakeLists.txt Add AbstractInstrument base class and convert DME 2019-04-24 18:56:56 +01:00
commradio.cxx src/Instrumentation/commradio.cxx: don't use and/or keywords because breaks on windows. 2020-11-01 14:46:14 +00:00
commradio.hxx SGSubsystem classes: Addition of staticSubsystemClassId() to all subsystems. 2019-07-01 14:51:32 +02:00
dclgps.cxx Removed unreachable code 2020-08-29 11:20:40 -05:00
dclgps.hxx SGSubsystem classes: Subsystem and subsystem group API declaration standardisation. 2019-07-01 14:27:30 +02:00
dme.cxx SGSubsystem classes: Registration of all subsystems. 2019-07-01 14:51:32 +02:00
dme.hxx SGSubsystem classes: Addition of staticSubsystemClassId() to all subsystems. 2019-07-01 14:51:32 +02:00
frequencyformatter.hxx Add 8.33 kHz support to the commradio 2015-05-28 12:04:23 +02:00
gps.cxx Fix a use-after-free found by ASan. 2020-08-17 10:00:42 +01:00
gps.hxx Fix a use-after-free found by ASan. 2020-08-17 10:00:42 +01:00
gsdi.cxx SGSubsystem classes: Registration of all subsystems. 2019-07-01 14:51:32 +02:00
gsdi.hxx SGSubsystem classes: Addition of staticSubsystemClassId() to all subsystems. 2019-07-01 14:51:32 +02:00
gyro.cxx Prepare and implement reinit methods for instruments 2012-09-17 13:45:30 +02:00
gyro.hxx Prepare and implement reinit methods for instruments 2012-09-17 13:45:30 +02:00
heading_indicator.cxx SGSubsystem classes: Registration of all subsystems. 2019-07-01 14:51:32 +02:00
heading_indicator.hxx SGSubsystem classes: Addition of staticSubsystemClassId() to all subsystems. 2019-07-01 14:51:32 +02:00
heading_indicator_dg.cxx SGSubsystem classes: Registration of all subsystems. 2019-07-01 14:51:32 +02:00
heading_indicator_dg.hxx SGSubsystem classes: Addition of staticSubsystemClassId() to all subsystems. 2019-07-01 14:51:32 +02:00
heading_indicator_fg.cxx SGSubsystem classes: Registration of all subsystems. 2019-07-01 14:51:32 +02:00
heading_indicator_fg.hxx SGSubsystem classes: Addition of staticSubsystemClassId() to all subsystems. 2019-07-01 14:51:32 +02:00
inst_vertical_speed_indicator.cxx SGSubsystem classes: Registration of all subsystems. 2019-07-01 14:51:32 +02:00
inst_vertical_speed_indicator.hxx SGSubsystem classes: Addition of staticSubsystemClassId() to all subsystems. 2019-07-01 14:51:32 +02:00
instrument_mgr.cxx Check for missing file in several places 2020-10-25 20:01:57 +00:00
instrument_mgr.hxx SGSubsystem classes: Addition of staticSubsystemClassId() to all subsystems. 2019-07-01 14:51:32 +02:00
kr_87.cxx SGSubsystem classes: Registration of all subsystems. 2019-07-01 14:51:32 +02:00
kr_87.hxx SGSubsystem classes: Addition of staticSubsystemClassId() to all subsystems. 2019-07-01 14:51:32 +02:00
mag_compass.cxx SGSubsystem classes: Registration of all subsystems. 2019-07-01 14:51:32 +02:00
mag_compass.hxx SGSubsystem classes: Addition of staticSubsystemClassId() to all subsystems. 2019-07-01 14:51:32 +02:00
marker_beacon.cxx SGSubsystem classes: Registration of all subsystems. 2019-07-01 14:51:32 +02:00
marker_beacon.hxx SGSubsystem classes: Addition of staticSubsystemClassId() to all subsystems. 2019-07-01 14:51:32 +02:00
mk_viii.cxx Cmake: Remove version.h machinery 2020-08-24 15:04:24 +01:00
mk_viii.hxx SGSubsystem classes: Addition of staticSubsystemClassId() to all subsystems. 2019-07-01 14:51:32 +02:00
mrg.cxx SGSubsystem classes: Registration of all subsystems. 2019-07-01 14:51:32 +02:00
mrg.hxx SGSubsystem classes: Addition of staticSubsystemClassId() to all subsystems. 2019-07-01 14:51:32 +02:00
navradio.cxx SGSubsystem classes: Registration of all subsystems. 2019-07-01 14:51:32 +02:00
navradio.hxx SGSubsystem classes: Addition of staticSubsystemClassId() to all subsystems. 2019-07-01 14:51:32 +02:00
newnavradio.cxx Modernize: std::string_literals 2020-12-05 14:25:59 -06:00
newnavradio.hxx SGSubsystem classes: Addition of staticSubsystemClassId() to all subsystems. 2019-07-01 14:51:32 +02:00
rad_alt.cxx SGSubsystem classes: Registration of all subsystems. 2019-07-01 14:51:32 +02:00
rad_alt.hxx SGSubsystem classes: Addition of staticSubsystemClassId() to all subsystems. 2019-07-01 14:51:32 +02:00
README Added a README for the src/Instrumentation/ directory. 2003-01-29 15:38:52 +00:00
rnav_waypt_controller.cxx Fix a GPS bug identified by Jonathan Redpath 2020-12-14 21:04:50 +00:00
rnav_waypt_controller.hxx GPS fly-by support 2020-05-30 15:59:07 +01:00
slip_skid_ball.cxx SGSubsystem classes: Registration of all subsystems. 2019-07-01 14:51:32 +02:00
slip_skid_ball.hxx SGSubsystem classes: Addition of staticSubsystemClassId() to all subsystems. 2019-07-01 14:51:32 +02:00
tacan.cxx SGSubsystem classes: Registration of all subsystems. 2019-07-01 14:51:32 +02:00
tacan.hxx SGSubsystem classes: Addition of staticSubsystemClassId() to all subsystems. 2019-07-01 14:51:32 +02:00
tcas.cxx Cmake: Remove version.h machinery 2020-08-24 15:04:24 +01:00
tcas.hxx SGSubsystem classes: Addition of staticSubsystemClassId() to all subsystems. 2019-07-01 14:51:32 +02:00
transponder.cxx SGSubsystem classes: Registration of all subsystems. 2019-07-01 14:51:32 +02:00
transponder.hxx SGSubsystem classes: Addition of staticSubsystemClassId() to all subsystems. 2019-07-01 14:51:32 +02:00
turn_indicator.cxx SGSubsystem classes: Registration of all subsystems. 2019-07-01 14:51:32 +02:00
turn_indicator.hxx SGSubsystem classes: Addition of staticSubsystemClassId() to all subsystems. 2019-07-01 14:51:32 +02:00
vertical_speed_indicator.cxx SGSubsystem classes: Registration of all subsystems. 2019-07-01 14:51:32 +02:00
vertical_speed_indicator.hxx SGSubsystem classes: Addition of staticSubsystemClassId() to all subsystems. 2019-07-01 14:51:32 +02:00

src/Instrumentation/ - gauge and avionics support code

This directory contains code to support gauges, avionics, and other
instruments in FlightGear.  The file instrument_mgr.[ch]xx contains a
subsystem group that holds all of the individual instruments.  Every
instrument should extend FGSubsystem, and then should be added to the
group in the FGInstrumentMgr constructor.

Code is gradually moving into here from other areas, especially the
src/Cockpit/ directory.  Eventually, there will be an XML
configuration file to select what instrumentation modules should be
available, so that different aircraft can have appropriate support.