#!/bin/bash
# Generate a map of the full "golden" netmetrics results
# If the result looks good, update zoox web using the command:
#   aws s3 cp <output file path> s3://zoox-web/netmetrics/index.html
# Usage: ./teleop/metrics/network/generate_full_map.sh <output file path>

if [ -z "${1}" ]
  then
    echo "No output file path supplied"
    exit 1
fi

output_file="${1}"

bazel run //teleop/metrics/network:netmetrics_process_cli -- --output_file "${output_file}" --run_ids \
20180202T155324-kitt_04 \
20180202T162943-kitt_04 \
20180202T165047-kitt_04 \
20180202T171330-kitt_04 \
20180202T173903-kitt_04 \
20180202T181914-kitt_04 \
20180309T151024-kitt_03 \
20180604T165353-kitt_04 \
20180608T201627-kitt_01 \
20181221T214840-kitt_04
