Commit Graph

8 Commits

Author SHA1 Message Date
Egor
aa57b5236e ui spectrum 2025-01-30 14:15:41 -08:00
Sassa NF
52359cb7ac Configurable scan pages and RSSI method 2024-12-23 12:17:38 +00:00
Sassa NF
7f8c08a777 Add ALL_EVENTS listeners 2024-10-12 14:37:52 +01:00
Sassa NF
b9e2bffb93 drone_sound_alarm as event listener 2024-10-11 23:17:13 +01:00
Sassa NF
bdd00039b2 Events for modular UI and other listeners 2024-10-11 23:17:13 +01:00
Sassa NF
39073dd026 Filtered_results is not needed 2024-10-11 23:17:13 +01:00
Sassa NF
c5ac3896fb Factor out detection + display loop
Refactor code that does not depend on y.

Essentially, the following logic:

Recall that some loops are folds, some are maps.

Maps look at only elements with one index. The important property of maps
is that map(f . g) = map(f) . map(g) - parts of the loop body can be split
into separate loops. Another property of maps is that if map(f) does not
depend on the output of map(g), then map(f) . map(g) = map(g) . map(f) -
the loops can be reordered.
2024-09-23 08:32:29 +01:00
Egor Shitikov
ea319a6cac Refactor RSSI Scan 2024-09-19 16:00:38 -07:00