summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarl <Kraken.rf.inc@gmail.com>2021-12-23 11:29:20 +0100
committerCarl <Kraken.rf.inc@gmail.com>2021-12-23 11:29:20 +0100
commitbbfebfb94a89ce0aa9a3c7d5e128328edf948308 (patch)
tree16723023fa73cf4ca72130b91d0a0fd9f8495ded
parentcleanup (diff)
downloadkrakensdr_pr-bbfebfb94a89ce0aa9a3c7d5e128328edf948308.tar
krakensdr_pr-bbfebfb94a89ce0aa9a3c7d5e128328edf948308.tar.gz
krakensdr_pr-bbfebfb94a89ce0aa9a3c7d5e128328edf948308.tar.bz2
krakensdr_pr-bbfebfb94a89ce0aa9a3c7d5e128328edf948308.tar.lz
krakensdr_pr-bbfebfb94a89ce0aa9a3c7d5e128328edf948308.tar.xz
krakensdr_pr-bbfebfb94a89ce0aa9a3c7d5e128328edf948308.tar.zst
krakensdr_pr-bbfebfb94a89ce0aa9a3c7d5e128328edf948308.zip
-rwxr-xr-x_signal_processing/krakenSDR_signal_processor.py4
-rwxr-xr-xutil/kraken_pr_start.sh11
-rwxr-xr-xutil/kraken_pr_stop.sh5
3 files changed, 18 insertions, 2 deletions
diff --git a/_signal_processing/krakenSDR_signal_processor.py b/_signal_processing/krakenSDR_signal_processor.py
index 31f1836..1282438 100755
--- a/_signal_processing/krakenSDR_signal_processor.py
+++ b/_signal_processing/krakenSDR_signal_processor.py
@@ -78,8 +78,8 @@ class SignalProcessor(threading.Thread):
self.logger.setLevel(logging_level)
root_path = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
- doa_res_file_path = os.path.join(os.path.join(root_path,"_android_web","DOA_value.html"))
- self.DOA_res_fd = open(doa_res_file_path,"w+")
+ #doa_res_file_path = os.path.join(os.path.join(root_path,"_android_web","DOA_value.html"))
+ #self.DOA_res_fd = open(doa_res_file_path,"w+")
self.module_receiver = module_receiver
self.data_que = data_que
diff --git a/util/kraken_pr_start.sh b/util/kraken_pr_start.sh
new file mode 100755
index 0000000..16bb6f9
--- /dev/null
+++ b/util/kraken_pr_start.sh
@@ -0,0 +1,11 @@
+eval "$(conda shell.bash hook)"
+conda activate kraken
+
+./kraken_pr_stop.sh
+
+cd heimdall_daq_fw/Firmware
+#sudo ./daq_synthetic_start.sh
+sudo env "PATH=$PATH" ./daq_start_sm.sh
+sleep 2
+cd ../../krakensdr_pr
+sudo env "PATH=$PATH" ./gui_run.sh
diff --git a/util/kraken_pr_stop.sh b/util/kraken_pr_stop.sh
new file mode 100755
index 0000000..76843ed
--- /dev/null
+++ b/util/kraken_pr_stop.sh
@@ -0,0 +1,5 @@
+cd heimdall_daq_fw/Firmware
+./daq_stop.sh
+
+cd ../../krakensdr_pr
+./kill.sh