#!/bin/bash
#export EXP_DIR=flash/ekaterina_fusion_alpha22_r01_r02__20161026T201116/
if [ $# -lt 1 ]; then
    echo "Please provide the experiment string and the log_prefix as agruments"
    exit -1
fi
#use export DATA_DIR='/data' or:
export DATA_DIR='/mnt/flashblade/ekaterina/data'
export EXP_DIR=$1'/'
export LOGFILE_PREFIX=$2


export CAM_PREFIX=0001
export BAG_PREFIX=zim
export CAMERA=north

export CAMERA_LEFT_SERIAL='16062230'
export CAMERA_RIGHT_SERIAL='16062180'

source export_commands.sh

#not ready for these yet:
#$TRANSFER_AI_TO_FUSION_LEFT
#$TRANSFER_AI_TO_FUSION_RIGHT
$COMPILE_OFFLINE_FUSION
$GENERATE_TRACKS



exit


bazel run -c opt --config=cuda -- //vehicle/perception/perception_dev:visualizer --params-ros --logs ${DATA_DIR}/*.bag ${DATA_DIR}/*.h264


## visualize an lmdb:
bazel run -- //vision/data/tools:visualize_data --type=ai --logtostderr --input=${DATA_DIR}/north_wide_left_ai.lmdb --output=${DATA_DIR}/north_wide_left_ai.html --count=2
