提交 1d345fed 编写于 作者: H HuXiaowei 提交者: Jiangtao Hu

Tools/calibration: Make shell scripts could be called anywhere.

上级 83c6cb73
......@@ -18,9 +18,10 @@
#! /bin/bash
rm result.csv
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
rm $DIR/result.csv
for f in `ls ${1}/*_recorded.csv`
do
echo "Processing $f"
python -W ignore process_data.py $f
python -W ignore $DIR/process_data.py $f
done
......@@ -16,7 +16,8 @@
# limitations under the License.
###############################################################################
python result2pb.py ../../control/conf/lincoln.pb.txt $1
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
python $DIR/result2pb.py $DIR/../../control/conf/lincoln.pb.txt $1
echo "Created control conf file: control_conf_pb.txt"
echo "with updated calibration table"
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册