Skip to content
Snippets Groups Projects
Commit 899d424f authored by Tamas Gal's avatar Tamas Gal :speech_balloon:
Browse files

Add trigger page

parent 100f2695
No related branches found
No related tags found
Loading
......@@ -9,6 +9,7 @@ PLOTS = [['dom_activity', 'dom_rates'], ['pmt_rates', 'pmt_hrv'],
['trigger_rates'], ['ztplot', 'triggermap']]
AHRS_PLOTS = [['yaw_calib'], ['pitch_calib'], ['roll_calib']]
TRIGGER_PLOTS = [['trigger_rates'], ['trigger_rates_lin']]
@app.after_request
......@@ -34,6 +35,11 @@ def ahrs():
return render_template('plots.html', plots=AHRS_PLOTS)
@app.route('/trigger.html')
def trigger():
return render_template('plots.html', plots=TRIGGER_PLOTS)
@app.route('/plots/<path:filename>')
def custom_static(filename):
print(filename)
......
......@@ -35,6 +35,9 @@
<!-- <ul class="nav navbar&#45;nav"> -->
<!-- <li class="active"><a href="#">K40 Rate Dist</a></li> -->
<!-- </ul> -->
<ul class="nav navbar-nav">
<li class="active"><a href="trigger.html">Trigger</a></li>
</ul>
<ul class="nav navbar-nav">
<li class="active"><a href="ahrs.html">AHRS</a></li>
</ul>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment