summaryrefslogtreecommitdiff
path: root/tests/trajectory-planner/circular-arcs/process_runlog.sh
blob: 73b836c29fb6165a52b09fdebf6e1e4b60aa9b1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/bash - 
#===============================================================================
#
#          FILE: process_runlog.sh
# 
#         USAGE: ./process_runlog.sh 
# 
#   DESCRIPTION: Process LCNC test logs for trajectory planner tests
# 
#       OPTIONS: ---
#  REQUIREMENTS: ---
#          BUGS: ---
#         NOTES: ---
#        AUTHOR: Robert W. Ellenberg
#  ORGANIZATION: 
#       CREATED: 11/26/2013 15:22
#      REVISION:  ---
#===============================================================================

set -o nounset                              # Treat unset variables as an error

if [ -a $1 ] 
then
    awk '/total movement/ {print $2,$6,$9}' $1 > movement.log
fi