#!/bin/bash
# This script is to be run to increase follow distances in SLAC mode.
echo "Current directory:"
pwd

# Cherry pick the change to increase the follow time gap (2s) and distance buffer
# to cars (3.5m) in SLAC mode only.
git cherry-pick --no-commit 7c3a3f66f816ee7cfe2f6211e377254c3a3d7a58
echo "Updated following distance configs. It is staged, but not committed."

# Distribute the planner config update.
./vehicle/planner/script/distribute_configs.sh
