From bbfebfb94a89ce0aa9a3c7d5e128328edf948308 Mon Sep 17 00:00:00 2001 From: Carl Date: Thu, 23 Dec 2021 10:29:20 +0000 Subject: cleanup --- _signal_processing/krakenSDR_signal_processor.py | 4 ++-- util/kraken_pr_start.sh | 11 +++++++++++ util/kraken_pr_stop.sh | 5 +++++ 3 files changed, 18 insertions(+), 2 deletions(-) create mode 100755 util/kraken_pr_start.sh create mode 100755 util/kraken_pr_stop.sh 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 -- cgit v1.2.3