202 lines
10 KiB
HTML
202 lines
10 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<!-- Write your comments here -->
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='index.css') }}">
|
|
<link rel="shortcut icon" href="{{ url_for('static', filename='pic/favicon.ico') }}">
|
|
|
|
<label class="swmu">
|
|
<pre>environment: {{ environment }}</pre>
|
|
</label>
|
|
|
|
<div style="text-align: center;">
|
|
<label class="logo">SWMU</label>
|
|
</div>
|
|
<head>
|
|
|
|
<style>
|
|
body {
|
|
background-color: WhiteSmoke;
|
|
}
|
|
table, th, td {
|
|
border:1px solid black;
|
|
}
|
|
</style>
|
|
|
|
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"> </script>
|
|
<!--<script type=text/javascript> $(function() { $("#call_remove_butt").click(function (event) { $.getJSON('/call_remove', { },
|
|
function(data) { }); return false; }); }); </script>-->
|
|
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.2.0/css/fork-awesome.min.css" integrity="sha256-XoaMnoYC5TH6/+ihMEnospgm0J1PM/nioxbOUdnM8HY=" crossorigin="anonymous">
|
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Audiowide">
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/dropzone/5.7.1/min/dropzone.min.css">
|
|
|
|
<title>SWMU</title>
|
|
</head>
|
|
<body>
|
|
<div style="text-align: center;" >
|
|
<pre>supports only <b>.log</b> format with max file size <b>{{ max_size }}</b>mb</pre>
|
|
</div>
|
|
<div style="text-align: auto;">
|
|
<form action="{{ environment_road }}" method = "POST" enctype = "multipart/form-data">
|
|
<div class="clearfix">
|
|
<input type = "file" name = "file" class="text-left"/>
|
|
<!--<input type = "submit"/>-->
|
|
<button type="submit" class="file_butt"> load file </button>
|
|
|
|
|
|
<select id="ign1a" style="float:right" name="ign1a">
|
|
<option value="False">False</option>
|
|
<option value="True">True</option>
|
|
</select>
|
|
<label for="ign1a" class="ign1a_info" style="float:right"> ignore x1a positions</label>
|
|
|
|
</div>
|
|
<div class="clearfix">
|
|
{% if files %}
|
|
{% for file in files %}
|
|
<!--<br>name: {{file}}
|
|
<br> test: {{mulog}}-->
|
|
<div class="info_argument" style="text-align: left;" >
|
|
<a href="uploads/{{file}}" class="button">Download log</a>
|
|
<a href="uploads/{{file}}_pos_file.csv" class="button">Download position file</a>
|
|
|
|
<br>name: {{files}}
|
|
<table class="mode_text" style="width:100%">
|
|
<tr>
|
|
<td>x01_log_book_record: {{mulog[0]}}
|
|
<a href="https://wiki.princip.cz/mediawiki/index.php/Doc-v2/log/0x01" class="info_argument" target="_blank">info</a>
|
|
</td>
|
|
<td>x04_driver_login: {{mulog[1]}}
|
|
<a href="https://wiki.princip.cz/mediawiki/index.php/Doc-v2/log/0x04" class="info_argument" target="_blank">info</a>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>x05_driver_logout: {{mulog[2]}}
|
|
<a href="https://wiki.princip.cz/mediawiki/index.php/Doc-v2/log/0x05" class="info_argument" target="_blank">info</a>
|
|
</td>
|
|
<td>x08x09_log_record: {{mulog[3]}}
|
|
<a href="https://wiki.princip.cz/mediawiki/index.php/Doc-v2/log/0x08/01/10" class="info_argument" target="_blank">info</a>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>x08x09_log_record: {{mulog[4]}}
|
|
<a href="https://wiki.princip.cz/mediawiki/index.php/Doc-v2/log/0x08/190" class="info_argument" target="_blank">info</a>
|
|
</td>
|
|
<td>x13_driving_style: {{mulog[5]}}
|
|
<a href="https://wiki.princip.cz/mediawiki/index.php/Doc-v2/log/0x13" class="info_argument" target="_blank">info</a>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>x1400_accelerometer_event: {{mulog[6]}}
|
|
<a href="https://wiki.princip.cz/mediawiki/index.php/Doc-v2/log/0x1400" class="info_argument" target="_blank">info</a>
|
|
</td>
|
|
<td>x25_perfect_drive: {{mulog[7]}}
|
|
<a href="https://wiki.princip.cz/mediawiki/index.php/Doc-v2/log/0x25" class="info_argument" target="_blank">info</a>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>x26_long_mext: {{mulog[8]}}
|
|
<a href="https://wiki.princip.cz/mediawiki/index.php/Doc-v2/log/0x26" class="info_argument" target="_blank">info</a>
|
|
</td>
|
|
<td>x0b_log_record: {{mulog[9]}}
|
|
<a href="https://wiki.princip.cz/mediawiki/index.php/Doc-v2/log/0x0b81" class="info_argument" target="_blank">info</a>
|
|
<a href="https://wiki.princip.cz/mediawiki/index.php/Doc-v2/log/0x0b85" class="info_argument" target="_blank">info</a>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>x0d_log_record: {{mulog[10]}}
|
|
<a href="https://wiki.princip.cz/mediawiki/index.php/Doc-v2/log/0x0d#0x0014" class="info_argument" target="_blank">info</a>
|
|
</td>
|
|
<td>x1a_fastlog: {{mulog[11]}}
|
|
<a href="https://wiki.princip.cz/mediawiki/index.php/Doc-v2/log/0x1a" class="info_argument" target="_blank">info</a>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>x1c_log_record: {{mulog[12]}}
|
|
<a href="https://wiki.princip.cz/mediawiki/index.php/Doc-v2/log/0x1c" class="info_argument" target="_blank">info</a>
|
|
</td>
|
|
<td>x1d_domain_vehicle_parameters: {{mulog[13]}}
|
|
<a href="https://wiki.princip.cz/mediawiki/index.php/Doc-v2/log/0x1d" class="info_argument" target="_blank">info</a>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>0x0e_record: {{mulog[15]}}
|
|
<a href="https://wiki.princip.cz/mediawiki/index.php/Doc-v2/log/0x0e" class="info_argument" target="_blank">info</a>
|
|
</td>
|
|
<td>other_type: {{mulog[16]}}</td>
|
|
</tr>
|
|
<tr>
|
|
<td>0x10_record: {{mulog[14]}}
|
|
<a href="https://wiki.princip.cz/mediawiki/index.php/Doc-v2/log/0x10" class="info_argument" target="_blank">info</a>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table class="mode_text" style="width:100%">
|
|
<tr>
|
|
<td>number of timestamps: {{ts_c}}</td>
|
|
<td>number of positions: {{pos_c}}</td>
|
|
</tr>
|
|
</table>
|
|
|
|
{% if pos_c > max_pos %}
|
|
<table class="mode_text_alert" style="width:100%">
|
|
<tr align="center">
|
|
<td>recommended amount position for rendering is <b>{{max_pos}}</b>, otherwise, it may cause delay or instability </td>
|
|
</tr>
|
|
</table>
|
|
{% endif %}
|
|
|
|
{% if warn %}
|
|
<div class="info_argument" style="text-align: left;" >
|
|
timestamp in mulog is suspicious ([row in mulog], [message], [timestamp]): {list_ts_warning} {{warn}}
|
|
</div>
|
|
{% endif %}
|
|
{% if text %}
|
|
{{text}}
|
|
{% endif %}
|
|
</div>
|
|
{% endfor %}
|
|
{% endif %}
|
|
</div>
|
|
|
|
</form>
|
|
<div class="text-center">
|
|
<!--<input type = "button" id = "call_remove_butt" value = "Click Here" />
|
|
<input type="submit" name="submit_button" value="Clear" class="clear_butt">-->
|
|
{% if files %}
|
|
{% if text %}
|
|
{% else %}
|
|
<form action="/call_render" method="get" target="_blank">
|
|
<button name="subject" type="submit" class="run_butt" value="">Render map</button>
|
|
</form>
|
|
{% endif %}
|
|
{% endif %}
|
|
<form action="/call_remove" method="get">
|
|
<button name="subject" type="submit" class="clear_butt" value="">Clear</button>
|
|
</form>
|
|
</div>
|
|
<div> </div>
|
|
<div> </div>
|
|
<div> </div>
|
|
</div>
|
|
|
|
<form action="/" method="get">
|
|
<div class="navbar">
|
|
<a href="/home" >Home</a>
|
|
<a href="/info" >info</a>
|
|
<a href="/helpswmu" >helpswmu</a>
|
|
<a href="/mulog_read" class="active" >mulog read</a>
|
|
|
|
<!--<a href="#examples">examples -->
|
|
<!--<a href="#about">about</a> -->
|
|
<a class="navbar-brand pull-sm-right m-r-0" style="float:right" href="https://gitlab.princip.cz/lab/sw/uhura/swmu" target="_blank">
|
|
<i class="fa fa-gitlab" aria-hidden="true"><span> </span>Gitlab</i>
|
|
</a>
|
|
<a href="https://muid.princip.cz/" style="float:right" target="_blank">muidconv</a>
|
|
<a href="https://xxxlog.cml.princip.cz/" style="float:right" target="_blank">xxlog</a>
|
|
</div>
|
|
</form>
|
|
|
|
</body>
|
|
</html> |