hlrc / client / python / tools / plot_relative_gazetargets.sh @ 93d51ca4
History | View | Annotate | Download (1.032 KB)
1 |
FILE=/tmp/l |
---|---|
2 |
#1449653129.190272 -8.841537 0.023177 1449651904.760381 -19.532999 0.000000 -19.532999 0.000000 0.000000 -0.000000 0.007721 -8.910353 -8.911380 #DUMP |
3 |
offset=`cat /tmp/l|head -1|cut -d " " -f 1` |
4 |
gnuplot -persist <<- EOF |
5 |
plot "${FILE}" using (\$1-${offset}):2 w l t "pan_now", \ |
6 |
"${FILE}" using (\$1-${offset}):3 w l t "tilt_now",\ |
7 |
"${FILE}" using (\$4-${offset}):5 t "target rel pan",\ |
8 |
"${FILE}" using (\$1-${offset}):5 t "target rel pan [INCOMING TS]",\ |
9 |
"${FILE}" using (\$4-${offset}):6 t "target rel tilt",\ |
10 |
"${FILE}" using (\$1-${offset}):7 w l t "target pan",\ |
11 |
"${FILE}" using (\$1-${offset}):8 w l t "target tilt",\ |
12 |
"${FILE}" using (\$1-${offset}):9 w l t "lowlevel target neck pan",\ |
13 |
"${FILE}" using (\$1-${offset}):10 w l t "lowlevel target neck tilt",\ |
14 |
"${FILE}" using (\$1-${offset}):11 w l t "lowlevel target eyes tilt",\ |
15 |
"${FILE}" using (\$1-${offset}):12 w l t "lowlevel target eye l pan",\ |
16 |
"${FILE}" using (\$1-${offset}):13 w l t "lowlevel target eye r pan" |
17 |
pause -1 |
18 |
EOF |
19 |
|