Statistics
| Branch: | Tag: | Revision:

hlrc / client / python / tools / plot_relative_gazetargets.sh @ 6229bceb

History | View | Annotate | Download (979 Bytes)

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 (\$4-${offset}):6 t "target rel tilt",\
9
	 "${FILE}" using (\$1-${offset}):7 w l t "target pan",\
10
	 "${FILE}" using (\$1-${offset}):8 w l t "target tilt",\
11
	 "${FILE}" using (\$1-${offset}):9 w l t "lowlevel target neck pan",\
12
	 "${FILE}" using (\$1-${offset}):10 w l t "lowlevel target neck tilt",\
13
         "${FILE}" using (\$1-${offset}):11 w l t "lowlevel target eyes tilt",\
14
         "${FILE}" using (\$1-${offset}):12 w l t "lowlevel target eye l pan",\
15
         "${FILE}" using (\$1-${offset}):13 w l t "lowlevel target eye r pan"
16
	pause -1
17
EOF
18