Page MenuHomeswift

Example: Tracing if aircraft should be on ground
Updated 109 Days AgoPublic

If you see another aircraft floating or below ground, this can have multiple reasons. It might make sense to trace the interpolation to see if swift "thinks" the plane should be on ground.

Upfront:

So checking floating/hovering means to check

  1. the gnd. flag
  2. the offset/CG
  3. the elevation

You can debug. the issue in two ways:

  1. "Live" as described below, using the interpolation log. display
  2. or recorded as described in Tracing interpolation -> "Full HTML log."

Understanding the ground flag

  • if other aircraft send aircraft parts with a ground flag or a gnd. flag we know the aircraft should be on ground
  • in all other cases (no gnd. flag) we are guessing if the aircraft is supposed to be on ground.

Starting the log. display

Use .drv intdisplay to launch the window. See Interpolation log. display window for details.

1) Checking gnd. situation (log. display)

  • select the aircraft you want to check
  • you can check the input situations from the network
  • unter interpolation you can see the interpolated situation for your simulator
    • to refresh press
    • note that the marked text says it is on ground
  • you could also check the loopback situation, which is the last situation we received from the simulator for that aircraft

2) Checking the CG (aka vertical offset)

You can check the CG in two ways:

  1. in the interpolation log. display
  2. or in the "rendered" aircraft model view.

interpolation log. display

In the interpolation tab you can see CG as it is "really" used for the interpolated situation

You can also check if the simulator CG is available, which is available in the "Data flow" tab.

Here you can see the CG (as stored in the DB) and if an aircraft has parts (which means a ground flag is sent on VATSIM).

Rendered aircraft view

null values mean the vertical offset/CG is not available.

  1. do not confuse null and zero "0". null means value is not available, while "0" means the values is available.
  2. some aircraft have 0 (zero) based offsets (so 0 can be a correct value)

3) checking the elevation

IMPORTANT: For performance reasons we do not query elevations all the time
  • you can set coordinates (e.g. for your own aircraft) and test if the requested elevation is available (means the probe works)
  • you can also check the elevation history and see if there are incoming elevation values. Again: please understand we only query elevations for aircraft supposed to be "near ground".

Last Author
kbasan
Last Edited
Feb 16 2020, 4:36 PM

Event Timeline

kbasan created this document.May 2 2019, 2:12 PM
kbasan edited the content of this document. (Show Details)
kbasan added a project: swift pilot client.
kbasan edited the content of this document. (Show Details)May 2 2019, 2:53 PM
kbasan edited the content of this document. (Show Details)Jan 31 2020, 9:08 PM
kbasan edited the content of this document. (Show Details)Feb 1 2020, 7:38 PM
kbasan edited the content of this document. (Show Details)
kbasan edited the content of this document. (Show Details)Feb 1 2020, 7:40 PM
kbasan edited the content of this document. (Show Details)Feb 2 2020, 5:23 PM
kbasan edited the content of this document. (Show Details)Feb 2 2020, 5:45 PM
kbasan edited the content of this document. (Show Details)
kbasan edited the content of this document. (Show Details)Feb 2 2020, 6:28 PM
kbasan edited the content of this document. (Show Details)Feb 2 2020, 6:32 PM
kbasan edited the content of this document. (Show Details)Feb 2 2020, 6:49 PM
kbasan edited the content of this document. (Show Details)
kbasan published a new version of this document.
kbasan edited the content of this document. (Show Details)Feb 2 2020, 6:52 PM
kbasan edited the content of this document. (Show Details)Feb 16 2020, 4:36 PM