summaryrefslogtreecommitdiff
path: root/tests/trajectory-planner/circular-arcs/test-optimization.sh
blob: ecd313572b3ddb1c465f4b89fe30fe128acd8e2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash

function say_done {
    espeak "done" 2> /dev/null
}
set -o monitorA

./build-debug.sh
cp position.blank position.txt
linuxcnc -r circular_arcs.ini > test.log &
python machine_setup.py $1 && say_done
fg
./save_activate.sh test.log
exit $1