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