Removed 300 foot minimum altitude threshold.
This commit is contained in:
parent
df8837600a
commit
6079f238cd
@ -289,14 +289,12 @@
|
||||
|
||||
(defn circling? [ac config]
|
||||
(and (> (geo/flight-curviness (filter #(not (:gnd? %)) (:history ac)))
|
||||
(:curviness-threshold-degrees config))
|
||||
(> (:alt ac) 300)))
|
||||
(:curviness-threshold-degrees config))))
|
||||
|
||||
|
||||
(defn circling2? [ac config]
|
||||
(let [relevant-history (filter #(not (:gnd? %)) (:history ac))]
|
||||
(and (> (geo/flight-curviness relevant-history) (:curviness-threshold-degrees config))
|
||||
(> (:alt ac) 300))))
|
||||
(and (> (geo/flight-curviness relevant-history) (:curviness-threshold-degrees config)))))
|
||||
|
||||
|
||||
;; Returns a vector of two elements,
|
||||
|
Loading…
Reference in New Issue
Block a user