Commit c06f2996 authored by Pierre Bürki's avatar Pierre Bürki
Browse files

Update calibrator script to kill tracker beforehand

parent a2531ad7
Loading
Loading
Loading
Loading

scripts/Calibration tool

100755 → 100644
+11 −1
Original line number Diff line number Diff line
#!/bin/bash

~/Desktop/thehole/the-hole-calibrator
DIR=`dirname "$0"`

# Kill tracker (have to kill the script and its children)
pkill -P $(cat "$DIR/pid")

# Run calibrator
$DIR/../the-hole-calibrator

# Relaunch tracker
sleep 1
$DIR/startup.sh &