-
Notifications
You must be signed in to change notification settings - Fork 2
/
constraint_solver.sh
64 lines (52 loc) · 3.69 KB
/
constraint_solver.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# set -e
source config.sh
DIR=$(dirname $0)
WORKDIR=${DIR}/constraint_solver
OUTPUT_DIR=data/case
cd $WORKDIR
if [ ! -d $OUTPUT_DIR ]; then
mkdir -p $OUTPUT_DIR
fi
# # crosswalk
# $PYTHON_BIN -m av_solver --case crosswalk_1 --scenario crosswalk --action 0
# $PYTHON_BIN -m av_solver --case crosswalk_2 --scenario crosswalk --action 1
# $PYTHON_BIN -m av_solver --case crosswalk_3 --scenario crosswalk --action 0
# $PYTHON_BIN -m av_solver --case crosswalk_4 --scenario crosswalk_intersection --action 0
# $PYTHON_BIN -m av_solver --case crosswalk_5 --scenario crosswalk --action 1
# # intersection
# $PYTHON_BIN -m av_solver --case intersection_1 --scenario traffic_light_unprotected_left_turn --action 1
# $PYTHON_BIN -m av_solver --case intersection_2 --scenario traffic_light_unprotected_left_turn --action 0
# $PYTHON_BIN -m av_solver --case intersection_3 --scenario traffic_light_protected --action 0
# $PYTHON_BIN -m av_solver --case intersection_3.1 --scenario traffic_light_protected --action 0
# $PYTHON_BIN -m av_solver --case intersection_3.2 --scenario traffic_light_protected --action 0
# $PYTHON_BIN -m av_solver --case intersection_6 --scenario traffic_light_protected --action 0
# $PYTHON_BIN -m av_solver --case intersection_6.1 --scenario traffic_light_protected --action 0
# $PYTHON_BIN -m av_solver --case intersection_6.2 --scenario traffic_light_protected --action 0
# $PYTHON_BIN -m av_solver --case intersection_7 --scenario traffic_light_protected --action 0
# $PYTHON_BIN -m av_solver --case intersection_8 --scenario traffic_light_unprotected_right_turn --action 0
# $PYTHON_BIN -m av_solver --case intersection_8.1 --scenario traffic_light_unprotected_right_turn --action 0
# $PYTHON_BIN -m av_solver --case intersection_8.2 --scenario traffic_light_unprotected_right_turn --action 0
# $PYTHON_BIN -m av_solver --case intersection_9 --scenario traffic_light --action 0
# $PYTHON_BIN -m av_solver --case intersection_10 --scenario traffic_light --action 0
# $PYTHON_BIN -m av_solver --case intersection_12 --scenario traffic_light --action 1
# $PYTHON_BIN -m av_solver --case intersection_13 --scenario traffic_light --action 1
# $PYTHON_BIN -m av_solver --case intersection_14 --scenario traffic_light --action 1
# $PYTHON_BIN -m av_solver --case intersection_15 --scenario traffic_light --action 1
# $PYTHON_BIN -m av_solver --case intersection_19 --scenario bare_intersection --action 0
# # traffic light
# $PYTHON_BIN -m av_solver --case traffic_light_1 --scenario traffic_light --action 0
# $PYTHON_BIN -m av_solver --case traffic_light_2 --scenario traffic_light --action 0
# $PYTHON_BIN -m av_solver --case traffic_light_7 --scenario traffic_light --action 0
# $PYTHON_BIN -m av_solver --case traffic_light_8 --scenario traffic_light --action 0
# # stop sign
# $PYTHON_BIN -m av_solver --case stop_sign_5 --scenario stop_sign --action 0
# $PYTHON_BIN -m av_solver --case stop_sign_6 --scenario stop_sign --action 0
# $PYTHON_BIN -m av_solver --case stop_sign_10 --scenario stop_sign --action 1
# $PYTHON_BIN -m av_solver --case crosswalk_case5 --scenario crosswalk --action 1
# $PYTHON_BIN -m av_solver --case stop_sign_case4 --scenario stop_sign --action 0
# $PYTHON_BIN -m av_solver --case intersection_case1 --scenario bare_intersection --action 0
# $PYTHON_BIN -m av_solver --case intersection_case6 --scenario traffic_light_unprotected_right_turn --action 0
# $PYTHON_BIN -m av_solver --case crosswalk_1 --code data/code/code_crosswalk_autoware --scenario crosswalk --action 0
# $PYTHON_BIN -m av_solver --case crosswalk_3 --code data/code/code_crosswalk_autoware --scenario crosswalk --action 0
# $PYTHON_BIN -m av_solver --case crosswalk_4 --code data/code/code_crosswalk_autoware --scenario crosswalk --action 0
cd -