27 lines
698 B
Bash
Executable File
27 lines
698 B
Bash
Executable File
#!/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
|
|
set -e
|
|
|
|
if [ -e "$1" ]
|
|
then
|
|
awk '/total movement/ {print $2,$6,$9}' "$1" > movement.log
|
|
fi
|