From 6079f238cd55c1aae1a7b7f2871ac6090e22e701 Mon Sep 17 00:00:00 2001 From: John Wiseman Date: Wed, 1 Jul 2020 18:40:53 -0700 Subject: [PATCH] Removed 300 foot minimum altitude threshold. --- src/main/lemondronor/advisorycircular.cljs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/main/lemondronor/advisorycircular.cljs b/src/main/lemondronor/advisorycircular.cljs index 3b98956..2b24430 100644 --- a/src/main/lemondronor/advisorycircular.cljs +++ b/src/main/lemondronor/advisorycircular.cljs @@ -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,