Loading scripts/calibration.sh +11 −7 Original line number Diff line number Diff line #!/bin/bash # Find the process of the tracker using the camera function kill_tracker { PID=`pgrep the-hole` if [ ! -z $PID ] Loading @@ -8,7 +8,11 @@ then # Kill tracker (15 = SIGTERM) sudo kill -15 $PID fi } # Run calibrator kill_tracker /home/encor/thehole/the-hole-calibrator # Sometimes, the tracker starts again, but doesn't work (although the process itself doesn't) kill_tracker Loading
scripts/calibration.sh +11 −7 Original line number Diff line number Diff line #!/bin/bash # Find the process of the tracker using the camera function kill_tracker { PID=`pgrep the-hole` if [ ! -z $PID ] Loading @@ -8,7 +8,11 @@ then # Kill tracker (15 = SIGTERM) sudo kill -15 $PID fi } # Run calibrator kill_tracker /home/encor/thehole/the-hole-calibrator # Sometimes, the tracker starts again, but doesn't work (although the process itself doesn't) kill_tracker