File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ Please [consult the Wiki on the kraken_docs repo](https://github.com/krakenrf/kr
1010
1111## Raspberry Pi 4/5 and Orange Pi 5B Image QUICKSTART
1212
13- ** Download Latest Images From :** https://mega.nz/folder/8T1jiIzR#_1Ujs4Eoy0wdRib9eHCVSg
13+ ** Download Latest Images From :** https://www.dropbox.com/scl/fo/uf6uosh31syxwt8m32pl4/ANeDj_epfa_PRliPPqCDSoU?rlkey=ovo459p6aiwio785d0h56lj7h&e=1&dl=0
1414
1515** Alternative Download:** https://drive.google.com/drive/folders/14NuCOGM1Fh1QypDNMngXEepKYRBsG--B?usp=sharing
1616
@@ -102,6 +102,7 @@ pip3 install pyargus
102102
103103conda install dash==1.20.0
104104conda install werkzeug==2.0.2
105+ conda install -y plotly==5.23.0
105106```
106107
1071084 . (** OPTIONAL** ) Install GPSD if you want to run a USB GPS on the Pi 4.
Original file line number Diff line number Diff line change @@ -868,7 +868,7 @@ def average_thetas(thetas):
868868 pass
869869
870870 message = ""
871- if doa_result_log :
871+ if doa_result_log . size > 0 :
872872 doa_result_log = doa_result_log + np .abs (np .min (doa_result_log ))
873873 for i in range (len (doa_result_log )):
874874 message += ", " + "{:.2f}" .format (doa_result_log [i ])
Original file line number Diff line number Diff line change 88 KILL_SIGNAL=64
99fi
1010
11+ # Kill the Python web interface process
1112sudo kill -${KILL_SIGNAL} $( ps ax | grep " .*[p]ython3 .*_ui/_web_interface/app.py" | awk ' {print $1}' ) 2> /dev/null
13+ # Kill PHP processes
1214sudo kill -${KILL_SIGNAL} $( ps ax | grep " [p]hp" | awk ' {print $1}' ) 2> /dev/null
15+ # Kill Node.js processes
1316sudo pkill -f node
17+ # Kill KrakenToTAK.py if running
18+ sudo pkill -f " python.*KrakenToTAK.py" 2> /dev/null
Original file line number Diff line number Diff line change @@ -22,10 +22,18 @@ sleep 1
2222cd ../../krakensdr_doa
2323sudo env " PATH=$PATH " ./gui_run.sh
2424
25+ # Start the KrakenToTAK python service if it is installed, and not already running.
2526if [ -d " ../Kraken-to-TAK-Python" ]; then
2627 echo " TAK Server Installed"
2728 cd ../Kraken-to-TAK-Python
28- python KrakenToTAK.py > /dev/null 2> /dev/null &
29+
30+ # Check if the process is already running
31+ if pgrep -f " python KrakenToTAK.py" > /dev/null; then
32+ echo " KrakenToTAK.py is already running."
33+ else
34+ echo " Starting KrakenToTAK.py"
35+ python KrakenToTAK.py > /dev/null 2> /dev/null &
36+ fi
2937else
3038 echo " TAK Server NOT Installed"
3139fi
You can’t perform that action at this time.
0 commit comments