From 4661e9f4af6c76c24e410243376fd1893466c2cc Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Wed, 11 Aug 2021 15:33:13 -0400 Subject: [PATCH] close gpredict before running again --- groundstation/loc.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/groundstation/loc.sh b/groundstation/loc.sh index 3042a781..265e9f6a 100755 --- a/groundstation/loc.sh +++ b/groundstation/loc.sh @@ -3,4 +3,6 @@ python3 /home/pi/CubeSatSim/groundstation/loc.py +sudo killall -9 gpredict &>/dev/null + /usr/bin/gpredict