Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 25 lines (19 sloc) 499 Bytes
#!/bin/bash
N=20
# name of configuration, e.g.1:1 2:1 10:1
CONF="10:1"
TASK="task3.txt"
echo "TASK: 0 green sourceA sinkA 1 0.0545 10.0" > ${TASK}
echo "TASK: 0 blue sourceB sinkB 1 0.0055 10.0" >> ${TASK}
#for ((i=1;i<=N;i++))
#do
# LOG="./data/wait_"${CONF}"_"${i}".dat"
# stage -g -c -td=$TASK -lf=$LOG world/fasr_wait.world
# rm fasr.log
#done
for ((i=1;i<=N;i++))
do
LOG="./data/replan_"${CONF}"_"${i}".dat"
stage -g -c -td=$TASK -lf=$LOG world/fasr_replan.world
rm fasr.log
done