-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
148 lines (121 loc) · 5.79 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<title>LawBreaker2022 Issues</title>
<!-- Bootstrap core CSS -->
<link href="css/bootstrap.css" rel="stylesheet">
<!-- Custom CSS for the '3 Col Portfolio' Template -->
<link href="css/3-col-portfolio.css" rel="stylesheet">
</head>
<body>
<nav class="navbar navbar-fixed-top navbar-inverse" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<!-- <a class="navbar-brand" href="http://startbootstrap.com">Start Bootstrap</a> -->
<a class="navbar-brand" href="http://lawbreaker2022.github.io">LawBreaker2022</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse navbar-ex1-collapse">
<ul class="nav navbar-nav">
<li><a href="index.html">Safety Issues</a></li>
<li><a href="efficiency.html">Efficiency Issues</a></li>
<li><a href="translation.html">Traffic Laws Translation</a></li>
<li><a href="code.html">Traffic Laws Translation-actual code</a></li>
<li><a href="sourcecode.html">Source Code & Supplementary Materials</a></li>
<!-- <li><a href="#about">About</a></li>
<li><a href="#services">Services</a></li>
<li><a href="#contact">Contact</a></li> -->
</ul>
</div><!-- /.navbar-collapse -->
</div><!-- /.container -->
</nav>
<div class="container">
<div class="row">
<div class="col-lg-12">
<h1 class="page-header">LawBreaker <small>Safety Issues</small></h1>
</div>
</div>
<div class="row">
<div class="col-md-6 portfolio-item">
<video id="issue1-1" width="560" height="380" controls muted>
<source src="Rush_Yellow_Lights2_Accidents.mp4" type="video/mp4">
</object>
</video>
<h3><a href="Rush_Yellow_Lights2_Accidents.mp4">Rush Yellow Light and Cause Accidents-Case1.</a></h3>
<script>
var vid1_1 = document.getElementById("issue1-1");
function getCurTime1_1() {
alert(vid1_1.currentTime);
}
function setCurTime1_1(time) {
vid1_1.currentTime=time;
}
</script>
<p>In this situation, the traffic light turns from green to yellow at <a href="#" onclick="setCurTime1_1(10.3)">10S</a> and there is enough distance for the vehicle to stop. However, the ego vehicle fails to stop before the stop line and decide to rush the yellow light and cause collision with the NPC vehicle ahead at <a href="#" onclick="setCurTime1_1(13.5)">13S</a>.
The behavior of rush yellow light causes accidents since there is a speed up when the vehicle is close to the stop line and the ego vehicle violates the yellow light related part of Article38.</p>
</div>
<div class="col-md-6 portfolio-item">
<video id="issue1-2" width="560" height="380" controls muted>
<source src="Rush_Yellow_Lights15_Accidents.mp4" type="video/mp4">
</object>
</video>
<h3><a href="Rush_Yellow_Lights15_Accidents.mp4">Rush Yellow Light and Cause Accidents-Case2.</a></h3>
<script>
var vid1_2 = document.getElementById("issue1-2");
function getCurTime1_2() {
alert(vid1_2.currentTime);
}
function setCurTime1_2(time) {
vid1_2.currentTime=time;
}
</script>
<p>
In this situation, the traffic light turns from green to yellow at <a href="#" onclick="setCurTime1_2(9.75)">10S</a> and there is enough distance for the vehicle to stop. However, the ego vehicle fails to stop before the stop line and decide to rush the yellow light and cause accident with the truning NPC vehicle at <a href="#" onclick="setCurTime1_2(14)">14S</a>.
The behavior of rush yellow light causes accidents since there is a speed up when the vehicle is close to the stop line and the ego vehicle violates the yellow light related part of Article38.
</p>
</div>
</div>
<hr>
<div class="row text-center">
<div class="col-lg-12">
<ul class="pagination">
<li><a href="index.html">«</a></li>
<li class="active"><a href="index.html">1</a></li>
<li><a href="safety2.html">2</a></li>
<li><a href="safety3.html">3</a></li>
<li><a href="safety4.html">4</a></li>
<li><a href="safety5.html">5</a></li>
<li><a href="safety2.html">»</a></li>
</ul>
</div>
</div>
</div><!-- /.container -->
<!-- <div class="container">
<hr>
<footer>
<div class="row">
<div class="col-lg-12">
<p>Copyright © Company <span id="getCurrentDate"></span></p>
</div>
</div>
</footer>
</div> --> <!-- /.container -->
<!-- JavaScript -->
<script src="js/jquery-1.10.2.js"></script>
<script src="js/bootstrap.js"></script>
<script type="text/javascript">
var dt = new Date();
document.getElementById('getCurrentDate').innerHTML = dt.getFullYear();
</script>
</body>
</html>