Statistics
| Branch: | Tag: | Revision:

hlrc / client / python / tools / plot_relative_gazetargets.sh @ 836f314c

History | View | Annotate | Download (1.034 KB)

1 6a233066 Simon Schulz
FILE=/tmp/l
2 c1e27eb0 Simon Schulz
#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 c7de5860 Sebastian Meyer zu Borgsen
offset=`cat /tmp/l|head -1|cut -d " " -f 1`
4 6a233066 Simon Schulz
gnuplot -persist <<- EOF
5 04cf2b6f Sebastian Meyer zu Borgsen
        plot "${FILE}" using (\$1-${offset}):2 w d t "pan_now" , \
6
	 "${FILE}" using (\$1-${offset}):3 w d t "tilt_now" ,\
7 c7de5860 Sebastian Meyer zu Borgsen
	 "${FILE}" using (\$4-${offset}):5 t "target rel pan",\
8 bd86bb92 Sebastian Meyer zu Borgsen
         "${FILE}" using (\$1-${offset}):5 t "target rel pan [INCOMING TS]",\
9 c7de5860 Sebastian Meyer zu Borgsen
	 "${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 6a233066 Simon Schulz
	pause -1
18
EOF