-
Notifications
You must be signed in to change notification settings - Fork 2
/
local_congestion_run
executable file
·23 lines (23 loc) · 2.08 KB
/
local_congestion_run
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash
mkdir logs
timestamp=$(date +%s)
echo "Starting congestion run with 2 fast and 4 slow bots. Logs are available under logs/${timestamp}_bot_{1-6}.log"
echo "Results should be available in about 4 minutes"
echo "Starting bot 1"
./default_run --track=keimola --num_players=6 --bot_algorithm=stepping --bot=NFC-Boss-1 --log_masks=false --disable_visualizer=true --host=prost.helloworldopen.com --password="nfc-congestion3" --continuous_integration --nolog_schedule --log_position --new_attack --safe_switches $@ > logs/${timestamp}_bot_1.log &
sleep 2
echo "Starting bot 2"
./default_run --track=keimola --num_players=6 --bot_algorithm=stepping --bot=NFC-Boss-2 --log_masks=false --disable_visualizer=true --host=prost.helloworldopen.com --password="nfc-congestion3" --continuous_integration --nolog_schedule --log_position --new_attack $@ > logs/${timestamp}_bot_2.log &
sleep 2
echo "Starting bot 3"
./default_run --track=keimola --num_players=6 --bot_algorithm=constant --constant_throttle=0.75 --bot=NFC-0.75 --always_switch=true --host=prost.helloworldopen.com --password="nfc-congestion3" --disable_visualizer=true --continuous_integration $@ > logs/${timestamp}_bot_3.log &
sleep 2
echo "Starting bot 4"
./default_run --track=keimola --num_players=6 --bot_algorithm=constant --constant_throttle=0.65 --bot=NFC-0.65 --always_switch=true --host=prost.helloworldopen.com --password="nfc-congestion3" --disable_visualizer=true --continuous_integration $@ > logs/${timestamp}_bot_4.log &
sleep 2
echo "Starting bot 5"
./default_run --track=keimola --num_players=6 --bot_algorithm=constant --constant_throttle=0.55 --bot=NFC-0.55 --always_switch=true --host=prost.helloworldopen.com --password="nfc-congestion3" --disable_visualizer=true --continuous_integration $@ > logs/${timestamp}_bot_5.log &
sleep 2
echo "Starting bot 6"
./default_run --track=keimola --num_players=6 --bot_algorithm=constant --constant_throttle=0.45 --bot=NFC-0.45 --always_switch=true --host=prost.helloworldopen.com --password="nfc-congestion3" --disable_visualizer=true --continuous_integration $@ > logs/${timestamp}_bot_6.log &
echo "Running..."