Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
df-aggregator
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Oleksandr Barabash
df-aggregator
Commits
bdc6420a
Commit
bdc6420a
authored
Jan 02, 2021
by
Corey Koval
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated LOB Colors
parent
de7f5c5d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
6 deletions
+14
-6
README.md
README.md
+8
-4
df-aggregator.py
df-aggregator.py
+5
-1
receiver_configurator.js
static/receiver_configurator.js
+1
-1
No files found.
README.md
View file @
bdc6420a
# DF Aggregator
## Christmas Update:
## Recent Changes:
-
The LOB for each receiver on the map is now red for low confidence LOBs and green
for high confidence LOBs.
-
Receivers on map update every 2.5 Seocnds.
-
To customize this change
`refreshrate`
at the top of
`static/receiver_configurator.js`
.
## Previous Changes
-
Your old database files will not work directly with this latest commit. Several changes have been made
to the database structure to accomodate new features.
-
Now introducing Single Receiver Mode! This will give you functionality similar to, but better than
...
...
@@ -9,8 +15,6 @@
-
The access token is now optional.
-
Be on the lookout for documention and tutorials between Christmas and New Years.
-
Behind the scenes, there have been several optimizations.
## Previous Changes:
-
Added option to invert (uninvert?) the DOA bearing. If you're using a KerberosSDR,
keep this option checked.
-
LOBs are drawn for each receiver. The orange lines extending from each receiver
...
...
@@ -31,7 +35,7 @@ Click the power button to enable/disable.
-
Black is enabled, red is disabled.
-
If you lose connectivity to a receiver, that particular receiver will be disabled.
Click the power button to try to reconnect.
-
Map refreshes every ~~5~~ 10 seconds. Change
`refreshrate`
at the top of
`static/receiver_configurator.js`
to change the refresh rate.
-
~~Map refreshes every 5 seconds. Change
`refreshrate`
at the top of
`static/receiver_configurator.js`
to change the refresh rate.~~
## Dependencies:
-
Python >= 3.6
...
...
df-aggregator.py
View file @
bdc6420a
...
...
@@ -529,6 +529,9 @@ def write_czml(best_point, all_the_points, ellipsedata):
def
write_rx_czml
():
response
.
set_header
(
'Cache-Control'
,
'no-cache, no-store, must-revalidate, max-age=0'
)
height
=
50
min_conf
=
ms
.
min_conf
green
=
[
0
,
255
,
0
,
255
]
red
=
[
255
,
0
,
0
,
255
]
receiver_point_packets
=
[]
lob_packets
=
[]
top
=
Preamble
(
name
=
"Receivers"
)
...
...
@@ -543,6 +546,7 @@ def write_rx_czml():
for
index
,
x
in
enumerate
(
receivers
):
if
x
.
isActive
and
ms
.
receiving
:
lob_color
=
green
if
x
.
confidence
>
min_conf
else
red
lob_start_lat
=
x
.
latitude
lob_start_lon
=
x
.
longitude
lob_stop_lat
,
lob_stop_lon
=
v
.
direct
(
lob_start_lat
,
lob_start_lon
,
x
.
doa
,
d
)
...
...
@@ -550,7 +554,7 @@ def write_rx_czml():
polyline
=
Polyline
(
material
=
Material
(
polylineOutline
=
PolylineOutlineMaterial
(
color
=
Color
(
rgba
=
[
255
,
140
,
0
,
255
]
),
color
=
Color
(
rgba
=
lob_color
),
outlineColor
=
Color
(
rgba
=
[
0
,
0
,
0
,
255
]),
outlineWidth
=
2
)),
...
...
static/receiver_configurator.js
View file @
bdc6420a
...
...
@@ -15,7 +15,7 @@
// along with this program. If not, see <https://www.gnu.org/licenses/>.
// Update Map every n milliseconds
var
refreshrate
=
50
00
;
var
refreshrate
=
25
00
;
var
autoRefresh
=
setInterval
(
function
()
{
reloadRX
();
},
refreshrate
);
// *************************************************
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment