-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsafety2.html
149 lines (123 loc) · 6.36 KB
/
safety2.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
149
<!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="issue2" width="560" height="380" controls muted>
<source src="Hesitate_at_Yellow_Light_corss_at_red_light.mp4" type="video/mp4">
</video>
<!-- <a href="Rush_Yellow_Lights2*Accidents.mp4"><img class="img-responsive" src="http://placehold.it/700x400"></a> -->
<h3><a href="Hesitate_at_Yellow_Light_corss_at_red_light.mp4">Hesitate at Yellow Light and Cross Junction at Red Light-Case1.</a></h3>
<script>
var vid2 = document.getElementById("issue2");
function getCurTime2() {
alert(vid2.currentTime);
}
function setCurTime2(time) {
vid2.currentTime=time;
}
</script>
<p>In this situation, the traffic light turns from green to yellow at <a href="#" onclick="setCurTime2(12)">12S</a> and there is not enough distance for the vehicle to stop. Although the ego vehicle is expected to go straight, it hesitated at the junction (<a href="#" onclick="setCurTime2(14)">14S</a>) and crossed the intersection at the red light (<a href="#" onclick="setCurTime2(20)">20S</a>).
Hence, the ego vehicle violates the yellow light and red light parts of Article38. </p>
</div>
<div class="col-md-6 portfolio-item">
<video id="issue3" width="560" height="380" controls muted>
<source src="hesitate_at_yellow_light2.mp4" type="video/mp4">
</video>
<!-- <a href="Rush_Yellow_Lights2*Accidents.mp4"><img class="img-responsive" src="http://placehold.it/700x400"></a> -->
<h3><a href="hesitate_at_yellow_light2.mp4">Hesitate at Yellow Light and Cross Junction at Red Light-Case2.</a></h3>
<script>
var vid3 = document.getElementById("issue3");
function getCurTime3() {
alert(vid3.currentTime);
}
function setCurTime3(time) {
vid3.currentTime=time;
}
</script>
<p>
In this situation, the traffic light turns from green to yellow at <a href="#" onclick="setCurTime3(9.5)">9S</a> and the ego vehicle has reached the stop line. Although the ego vehicle is expected to go straight, it hesitated at the junction (<a href="#" onclick="setCurTime3(11)">11S</a>) and crossed the intersection at the red light (<a href="#" onclick="setCurTime3(18)">18S</a>).
Hence, the ego vehicle violates the yellow light and red light parts of Article38. </p>
<!-- In this situation, the traffic light turns from green to yellow at <a href="#" onclick="setCurTime3(10)">10S</a> and the ego vehicle speed up to rush the yellow light. However, the ego vehicle stop at the junction at <a href="#" onclick="setCurTime3(14)">14S</a> even when there is no NPC vehicle ahead and cause collision with the NPC vehicle at left <a href="#" onclick="setCurTime3(16)">16S</a>.
Hence, the ego vehicle violates the yellow light parts 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><a href="index.html">1</a></li>
<li class="active"><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="safety3.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>