mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 00:02:25 +00:00
fix(flights): an aircraft with no track or true heading faces the way it moved, not north
Some feed rows carry neither a ground track nor a true heading for an aircraft on the ground. Its course then fell back to 0, and an aircraft taxiing south was drawn facing north, moving backwards or sideways. With neither reported, the course is now read from its last fix to this one when they are at least 30 m apart; nearer fixes are position noise and keep the last course.
This commit is contained in:
1 parent
967477ee0f
commit
537a5d6e0f
4 files changed
+98
-2
No files matched your search
@@ -1,5 +1,11 @@
|
||||
# God's Eye View Current State
|
||||
|
||||
An aircraft faces its reported ground track, else its true heading (readsb
|
||||
`true_heading`). With neither, it faces the way it moved since its last fix
|
||||
when that is at least 30 m (`courseFromFixes`, `src/layers/flights/records.js`);
|
||||
nearer fixes are position noise and keep its last course, and an aircraft with
|
||||
no course at all faces north.
|
||||
|
||||
Docker Compose mounts the checkout with the shared SELinux `:z` label so
|
||||
containers can read it on enforcing SELinux hosts. The separate image-owned
|
||||
`node_modules` volume and loopback-only port publishing remain unchanged.
|
||||
|
||||
Reference in new issue
Block a user