|
|
|
|
@ -130,7 +130,7 @@ confidence=$(awk '{print $2}' /home/pi/CubeSatSim/groundstation/auto-tune.txt)
|
|
|
|
|
echo "Auto tune confidence: "
|
|
|
|
|
echo $confidence
|
|
|
|
|
|
|
|
|
|
if [ "$confidence" -lt "$threshold" ]; then
|
|
|
|
|
if [ "$confidence" -le "$threshold" ]; then
|
|
|
|
|
sleep 10
|
|
|
|
|
python3 /home/pi/CubeSatSim/groundstation/auto-tune.py 434900000 n 2> null > /home/pi/CubeSatSim/groundstation/auto-tune.txt
|
|
|
|
|
# echo "auto-tune.txt"
|
|
|
|
|
@ -139,7 +139,7 @@ if [ "$confidence" -lt "$threshold" ]; then
|
|
|
|
|
echo "Auto tune confidence: "
|
|
|
|
|
echo $confidence
|
|
|
|
|
|
|
|
|
|
if [ "$confidence" -lt "$threshold" ]; then
|
|
|
|
|
if [ "$confidence" -le "$threshold" ]; then
|
|
|
|
|
sleep 10
|
|
|
|
|
python3 /home/pi/CubeSatSim/groundstation/auto-tune.py 434900000 n 2> null > /home/pi/CubeSatSim/groundstation/auto-tune.txt
|
|
|
|
|
# echo "auto-tune.txt"
|
|
|
|
|
|