File size: 4,631 Bytes
c75ed30
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
{
  "scenario_type": "priority_road",
  "predicate_config": {
    "near_dist": 15.0,
    "close_dist": 8.0,
    "very_close_dist": 4.0,
    "jurisdiction": "DE",
    "permits_curb_turn_on_red": false,
    "requires_complete_stop_first": true
  },
  "specs": [
    {
      "name": "priority_road_violation",
      "formula": "\u25c7 (at_intersection(ego, I) \u2227 at_intersection(adv, I) \u2227 approaching(ego, I) \u2227 approaching(adv, I) \u2227 right_of(adv, ego) \u2227 priority_road(ego) \u2227 \u00acstopped(adv) \u2227 \u00acyielding_to(adv, ego))",
      "category": "violation",
      "temporal_op": "eventually",
      "involved_predicates": [
        "at_intersection",
        "approaching",
        "right_of",
        "priority_road",
        "stopped",
        "yielding_to"
      ]
    },
    {
      "name": "ego_respects_red",
      "formula": "\u25a1 (facing(ego, TL) \u2227 light_color(TL, red) \u2227 at_intersection(ego, I) \u2192 stopped(ego))",
      "category": "nominal",
      "temporal_op": "always",
      "involved_predicates": [
        "facing",
        "light_color",
        "at_intersection",
        "stopped"
      ]
    },
    {
      "name": "ego_respects_stop_sign",
      "formula": "\u25a1 (has_stop_sign(ego) \u2192 \u25c7 stopped(ego))",
      "category": "nominal",
      "temporal_op": "always",
      "involved_predicates": [
        "has_stop_sign",
        "stopped"
      ]
    },
    {
      "name": "ego_yields_pedestrian",
      "formula": "\u25a1 (type(P, pedestrian) \u2227 at_crosswalk(P) \u2227 near(ego, P) \u2192 yielding_to(ego, P))",
      "category": "nominal",
      "temporal_op": "always",
      "involved_predicates": [
        "at_crosswalk",
        "near",
        "yielding_to"
      ]
    },
    {
      "name": "ego_stays_in_lane",
      "formula": "\u25a1 (on_road(ego))",
      "category": "nominal",
      "temporal_op": "always",
      "involved_predicates": [
        "on_road"
      ]
    },
    {
      "name": "ego_correct_direction",
      "formula": "\u25a1 (\u00acwrong_way(ego))",
      "category": "nominal",
      "temporal_op": "always",
      "involved_predicates": [
        "wrong_way"
      ]
    },
    {
      "name": "defend_collision_course",
      "formula": "\u25a1 (on_collision_course(ego, A) \u2192 \u25c7 (braking(ego) \u2228 \u00acon_collision_course(ego, A)))",
      "category": "defensive",
      "temporal_op": "always",
      "involved_predicates": [
        "on_collision_course",
        "braking"
      ]
    },
    {
      "name": "ic_light_color_rg",
      "formula": "\u25a1 \u00ac(light_color(TL, red) \u2227 light_color(TL, green))",
      "category": "integrity",
      "temporal_op": "always",
      "involved_predicates": [
        "light_color"
      ]
    },
    {
      "name": "ic_light_color_ry",
      "formula": "\u25a1 \u00ac(light_color(TL, red) \u2227 light_color(TL, yellow))",
      "category": "integrity",
      "temporal_op": "always",
      "involved_predicates": [
        "light_color"
      ]
    },
    {
      "name": "ic_light_color_gy",
      "formula": "\u25a1 \u00ac(light_color(TL, green) \u2227 light_color(TL, yellow))",
      "category": "integrity",
      "temporal_op": "always",
      "involved_predicates": [
        "light_color"
      ]
    },
    {
      "name": "ic_direction_mutex_fb",
      "formula": "\u25a1 \u00ac(behind(A, B) \u2227 in_front_of(A, B))",
      "category": "integrity",
      "temporal_op": "always",
      "involved_predicates": [
        "behind",
        "in_front_of"
      ]
    },
    {
      "name": "ic_direction_mutex_lr",
      "formula": "\u25a1 \u00ac(left_of(A, B) \u2227 right_of(A, B))",
      "category": "integrity",
      "temporal_op": "always",
      "involved_predicates": [
        "left_of",
        "right_of"
      ]
    },
    {
      "name": "ic_kinematic_stop_accel",
      "formula": "\u25a1 \u00ac(stopped(A) \u2227 accelerating(A))",
      "category": "integrity",
      "temporal_op": "always",
      "involved_predicates": [
        "stopped",
        "accelerating"
      ]
    },
    {
      "name": "ic_kinematic_brake_accel",
      "formula": "\u25a1 \u00ac(braking(A) \u2227 accelerating(A))",
      "category": "integrity",
      "temporal_op": "always",
      "involved_predicates": [
        "braking",
        "accelerating"
      ]
    },
    {
      "name": "ic_lane_mutex",
      "formula": "\u25a1 \u00ac(same_lane(A, B) \u2227 adjacent_lane(A, B))",
      "category": "integrity",
      "temporal_op": "always",
      "involved_predicates": [
        "same_lane",
        "adjacent_lane"
      ]
    }
  ]
}