-
-
Notifications
You must be signed in to change notification settings - Fork 142
/
index.html
executable file
·1118 lines (1100 loc) · 50.9 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
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html class="no-js isBF">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/bootstrap-theme.min.css">
<link rel="stylesheet" href="css/jquery.nouislider.min.css">
<link rel="stylesheet" href="css/main.css">
<link rel="stylesheet" href="css/header_dialog.css">
<link rel="stylesheet" href="css/keys_dialog.css">
<script src="js/vendor/modernizr-2.6.2-respond-1.1.0.min.js"></script>
</head>
<body>
<nav class="navbar navbar-inverse navbar-static-top" role="navigation">
<div class="container main-pane">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<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="#">Cleanflight Blackbox Explorer</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<div class="navbar-form navbar-right" role="form">
<a class="btn btn-default btn-video-export"> Export video...</a>
<span class="btn btn-primary btn-file"> Open log file/video <input type="file" class="file-open" multiple></span>
</div>
</div>
</div>
</nav>
<div class="welcome-pane">
<div class="container">
<div class="jumbotron">
<h1>Welcome to Blackbox Explorer!</h1>
<p>This tool allows you to view and analyze logs created by Cleanflight's Blackbox feature.</p>
<span class="btn btn-primary btn-lg btn-file"> Open log file/video <input type="file" class="file-open" multiple></span>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-sm-4">
<div class="panel panel-default">
<div class="panel-heading">
Introduction to Blackbox
</div>
<div class="panel-body">
<p>
The Blackbox feature is built in to <a href="https://github.com/cleanflight/cleanflight">Cleanflight</a>,
and is supported on most of CF's flight controllers (Naze32, CC3D, SPRacingF3, etc.).
</p>
<p>
To get started with Blackbox recording, read
<a href="https://github.com/cleanflight/cleanflight/blob/master/docs/Blackbox.md">Cleanflight's
Blackbox feature documentation</a>.
</p>
<p>
Already have a log recorded? View
<a href="https://github.com/cleanflight/blackbox-log-viewer/blob/master/Readme.md">the
documentation for this log viewer</a> for details on how to best use this tool.
</p>
<p>
If you believe you've found a bug in this viewer (e.g. the viewer crashes upon attempting to
open a log file), or you have a suggestion, please add it to
<a href="https://github.com/cleanflight/blackbox-log-viewer/issues">the viewer's GitHub bug tracker</a>.
</p>
</div>
</div>
</div>
<div class="col-sm-4">
<div class="panel panel-default">
<div class="panel-heading">
Tuning your craft
</div>
<div class="panel-body">
<p>
The Blackbox can deliver insights on your flight performance that will allow you to tune
variables such as your PIDs and low-pass filter settings.
</p>
<p>
For help and instructions on how to tune your craft, please read some of these resources:
</p>
<ul>
<li>
<a href="http://www.rcgroups.com/forums/showthread.php?t=2439428">Mini quad PID tuning from start to finish</a> by Joshua Bardwell on RCGroups.com
</li>
<li>
<a href="http://www.rcgroups.com/forums/showthread.php?t=2386267">Blackbox log analyzation/help thread</a> on RCGroups.com
</li>
<li>
<a href="https://github.com/cleanflight/cleanflight/blob/master/docs/PID%20tuning.md">Cleanflight's PID tuning documentation</a>
</li>
<li>
<a href="http://www.rcgroups.com/forums/showthread.php?t=2249574">Cleanflight support topic</a> on RCGroups.com
</li>
<li>
<a href="http://www.rcgroups.com/forums/showthread.php?t=2299805">Blackbox announcement topic</a> on RCGroups.com
</li>
</ul>
</div>
</div>
</div>
<div class="col-sm-4">
<div class="panel panel-default">
<div class="panel-heading">
Other tools
</div>
<div class="panel-body">
<p>
If you want to analyze your logs with your own mathematics package (such as Matlab)
you can use the separate <a href="https://github.com/cleanflight/blackbox-tools">blackbox_decode tool</a>
to convert your log file into a CSV file for analysis.
</p>
<p>
If you want to share your log as a video, you can use the "export video" button at the
top to render a WebM video, or use the commandline
<a href="https://github.com/cleanflight/blackbox-tools">blackbox_render tool</a>
tool to turn your log into a series of PNG files, or use a
screen recording tool to record the playback of this log viewer.
</p>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="container main-pane">
<div class="log-metadata">
<h3 class="log-filename"></h3>
<div class="log-info form-horizontal">
<div class="form-group">
<label class="col-sm-3 control-label">Log</label>
<div class="col-sm-9 log-index">
</div>
</div>
<div class="form-group log-device-uid-header">
<label class="col-sm-3 control-label">Device UID</label>
<div class="col-sm-9">
<p class="log-device-uid form-control-static"></p>
</div>
</div>
</div>
</div>
<ul class="video-top-controls list-unstyled">
<li class="log-view-panel">
<h4>View</h4>
<div>
<div class="btn-group" role="group">
<button type="button" class="btn btn-default open-header-dialog" title="View/hide header">
<span class="glyphicon glyphicon-info-sign"></span>
</button>
<button type="button" class="btn btn-default view-video" title="View/hide video display">
<span class="glyphicon glyphicon-film"></span>
</button>
<button type="button" class="btn btn-default view-craft" title="View/hide craft display">
<span class="glyphicon glyphicon-plane"></span>
</button>
<button type="button" class="btn btn-default view-sticks" title="View/hide stick display">
<span class="glyphicon glyphicon-pawn"></span>
</button>
<button type="button" class="btn btn-default view-table" title="View/hide statistics display">
<span class="glyphicon glyphicon-list-alt"></span>
</button>
<button type="button" class="btn btn-default view-analyser-sticks" style="display:none" title="View/hide stick analyser">
<span class="glyphicon glyphicon-screenshot"></span>
</button>
<button type="button" class="btn btn-default view-analyser" title="View/hide analyser display">
<span class="glyphicon glyphicon-equalizer"></span>
</button>
<button type="button" class="btn btn-default view-analyser-fullscreen" title="Zoom Analyser Window">
<span class="glyphicon glyphicon-resize-full"></span><span class="glyphicon glyphicon-resize-small"></span>
</button>
</div>
</div>
</li>
<li class="log-playback-panel">
<h4>Playback</h4>
<div>
<div class="btn-group" role="group">
<button type="button" class="btn btn-default video-jump-start" title="Jump to start of video">
<span class="glyphicon glyphicon-fast-backward"></span> <span class="glyphicon-text-alike">VID</span>
</button>
<button type="button" class="btn btn-default log-jump-start" title="Jump to start of log">
<span class="glyphicon glyphicon-fast-backward"></span>
</button>
<button type="button" class="btn btn-default log-jump-back">
<span class="glyphicon glyphicon-step-backward"></span>
</button>
<button type="button" class="btn btn-default log-play-pause">
<span class="glyphicon glyphicon-play"></span>
</button>
<button type="button" class="btn btn-default log-jump-forward">
<span class="glyphicon glyphicon-step-forward"></span>
</button>
<button type="button" class="btn btn-default log-jump-end" title="Jump to end of log">
<span class="glyphicon glyphicon-fast-forward"></span>
</button>
<button type="button" class="btn btn-default video-jump-end" title="Jump to end of video">
<span class="glyphicon-text-alike">VID</span> <span class="glyphicon glyphicon-fast-forward"></span>
</button>
</div>
</div>
</li>
<li class="log-playback-rate-panel">
<h4>Playback speed</h4>
<div class="form-inline">
<div class="form-group">
<div class="playback-rate-control btn-group btn-group-vertical"></div>
<input type="text" class="form-control playback-rate" value="1.0" size="5">
</div>
</div>
</li>
<li class="log-chart-zoom-panel">
<h4>Zoom</h4>
<div class="form-inline">
<div class="form-group">
<div class="graph-zoom-control btn-group btn-group-vertical"></div>
<input type="text" class="form-control graph-zoom" value="-" size="6">
</div>
</div>
</li>
<li class="log-chart-time-panel">
<h4>Time</h4>
<div class="form-inline">
<div class="form-group">
<input type="text" class="form-control graph-time" value="1.0" size="8">
</div>
</div>
</li>
<li class="log-sync-panel">
<h4>Log sync</h4>
<div class="form-inline">
<div class="form-group">
<div class="btn-group" role="group">
<button type="button" class="btn btn-default log-sync-back" title="Move log earlier">
<span class="glyphicon glyphicon-step-backward"></span>
</button>
<button type="button" class="btn btn-default log-sync-here">Start log here</button>
<button type="button" class="btn btn-default log-sync-forward" title="Move log later">
<span class="glyphicon glyphicon-step-forward"></span>
</button>
</div>
<input type="text" class="form-control video-offset" value="+0.0" size="7">
</div>
</div>
</li>
</ul>
<div class="craft"></div>
<div class="graph-row">
<div class="log-graph">
<video></video>
<canvas width="200" height="100" id="graphCanvas"></canvas>
<canvas width="0" height="0" id="craftCanvas"></canvas>
<canvas width="0" height="0" id="analyserCanvas"></canvas>
<canvas width="0" height="0" id="analyserStickCanvas"></canvas>
<span class="log-open-legend-dialog glyphicon glyphicon-cog"></span>
</div>
<div class="log-graph-config">
<h2>Legend <span class="log-close-legend-dialog glyphicon glyphicon-remove"></span><span class="open-keys-dialog glyphicon glyphicon-question-sign"></span></h2>
<div class="log-graph-legend">
</div>
<button type="button" class="btn btn-default btn-block open-graph-configuration-dialog">Graph setup</button>
</div>
</div>
<div class="log-seek-bar">
<canvas width="200" height="100"></canvas>
</div>
<div class="log-field-values">
<h4>Field values</h4>
<table class="table table-condensed">
<tr>
<th> </th>
<th>Raw value</th>
<th>Decoded</th>
<th> </th>
<th>Raw value</th>
<th>Decoded</th>
</tr>
</table>
</div>
<div id="status-bar">
<div>
<span class="version">-</span>
</div>
<div>
<span class="log-cells">-</span>
</div>
<div>
<span class="looptime">-</span>
</div>
<div>
<span class="lograte">-</span>
</div>
<div>
<span class="flight-mode">-</span>
</div>
<div>
<span class="marker-offset">00:00.000</span>
</div>
<div class="bookmark-1">
<span>1</span>
</div>
<div class="bookmark-2">
<span>2</span>
</div>
<div class="bookmark-3">
<span>3</span>
</div>
<div class="bookmark-4">
<span>4</span>
</div>
<div class="bookmark-5">
<span>5</span>
</div>
<div class="bookmark-6">
<span>6</span>
</div>
<div class="bookmark-7">
<span>7</span>
</div>
<div class="bookmark-8">
<span>8</span>
</div>
<div class="bookmark-9">
<span>9</span>
</div>
<div class="bookmark-clear">
<span>Clear All</span>
</div>
</div>
</div>
<!-- /container -->
<div class="modal fade" id="dlgGraphConfiguration">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
<h4 class="modal-title">Configure graphs</h4>
</div>
<div class="modal-body">
<div class="btn-group">
<button type="button" class="btn btn-primary dropdown-toggle config-graphs-add" data-toggle="dropdown" aria-expanded="false">
Add graph <span class="caret"></span>
</button>
<ul class="dropdown-menu" role="menu">
</ul>
</div>
<ul class="list-unstyled config-graphs-list">
</ul>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default graph-configuration-dialog-cancel" data-dismiss="modal">Cancel</button>
<button type="button" class="btn btn-primary graph-configuration-dialog-save" data-dismiss="modal">Save changes</button>
</div>
</div>
</div>
</div>
<div class="modal fade header-dialog" id="dlgHeaderDialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
<h4 class="modal-title">Log Header Information</h4>
<h5 class="modal-title-revision"></h5>
<h5 class="modal-title-date"></h5>
</div>
<div class="modal-body">
<form name="header-information" id="pid-tuning">
<div class="cf_column half left">
<div class="gui_box grey PID-settings">
<div class="gui_box_titlebar">
<div class="spacer_box_title">PID Settings</div>
</div>
<div class="spacer_box">
<table class="parameter cf">
<thead>
<tr>
<th>Controller</th>
</tr>
</thead>
<tbody>
<tr>
<td><select name='pidController'><!-- list generated here --></select></td>
</tr>
</tbody>
</table>
<table class="topspacer pid_titlebar">
<tr>
<th class="name">Name</th>
<th class="proportional">Proportional</th>
<th class="integral">Integral</th>
<th class="derivative">Derivative</th>
</tr>
</table>
<table id="pid_main" class="pid_tuning">
<tr>
<th colspan="4">
<div class="pid_mode">Basic/Acro</div>
</th>
</tr>
<tr class="rollPID">
<!-- 0 -->
<td>ROLL</td>
<td><input type="number" name="p" step="0.1" min="0" max="25.5" /></td>
<td><input type="number" name="i" step="0.001" min="0" max="0.255" /></td>
<td><input type="number" name="d" step="1" min="0" max="255" /></td>
</tr>
<tr class="pitchPID">
<!-- 1 -->
<td>PITCH</td>
<td><input type="number" name="p" step="0.1" min="0" max="25.5" /></td>
<td><input type="number" name="i" step="0.001" min="0" max="0.255" /></td>
<td><input type="number" name="d" step="1" min="0" max="255" /></td>
</tr>
<tr class="yawPID">
<!-- 2 -->
<td>YAW</td>
<td><input type="number" name="p" step="0.1" min="0" max="25.5" /></td>
<td><input type="number" name="i" step="0.001" min="0" max="0.255" /></td>
<td><input type="number" name="d" step="1" min="0" max="255" /></td>
</tr>
</table>
<table id="pid_baro" class="pid_tuning">
<tr>
<th colspan="4">
<div class="pid_mode">Barometer & Sonar/Altitude</div>
</th>
</tr>
<tr class="altPID">
<!-- 3 -->
<td>ALT</td>
<td><input type="number" name="p" step="0.1" min="0" max="25.5" /></td>
<td><input type="number" name="i" step="0.001" min="0" max="0.255" /></td>
<td><input type="number" name="d" step="1" min="0" max="255" /></td>
</tr>
<tr class="velPID">
<!-- 9 -->
<td>VEL</td>
<td><input type="number" name="p" step="0.1" min="0" max="25.5" /></td>
<td><input type="number" name="i" step="0.001" min="0" max="0.255" /></td>
<td><input type="number" name="d" step="1" min="0" max="255" /></td>
</tr>
</table>
<table id="pid_mag" class="pid_tuning">
<tr>
<th colspan="4">
<div class="pid_mode">Heading</div>
</th>
</tr>
<tr class="magPID">
<!-- 8 -->
<td>MAG</td>
<td><input type="number" name="p" step="0.1" min="0" max="25.5" /></td>
<td></td>
<td></td>
</tr>
</table>
<table id="pid_gps" class="pid_tuning">
<tr>
<th colspan="4">
<div class="pid_mode">GPS</div>
</th>
</tr>
<tr class="posPID">
<!-- 4 -->
<td>POS</td>
<td><input type="number" name="p" step="0.01" min="0" max="2.55" /></td>
<td><input type="number" name="i" step="0.01" min="0" max="2.55" /></td>
<td></td>
</tr>
<tr class="posrPID">
<!-- 5 -->
<td>POSR</td>
<td><input type="number" name="p" step="0.1" min="0" max="25.5" /></td>
<td><input type="number" name="i" step="0.01" min="0" max="2.55" /></td>
<td><input type="number" name="d" step="0.001" min="0" max="0.255" /></td>
</tr>
<tr class="navrPID">
<!-- 6 -->
<td>NAVR</td>
<td><input type="number" name="p" step="0.1" min="0" max="25.5" /></td>
<td><input type="number" name="i" step="0.01" min="0" max="2.55" /></td>
<td><input type="number" name="d" step="0.001" min="0" max="0.255" /></td>
</tr>
</table>
<table id="pid_accel" class="pid_tuning topspacer">
<tr>
<th colspan="4">
<div class="pid_mode borderleft">
<div class="textleft">
<div class="pidTuningLevel">Angle/Horizon</div>
</div>
<div class="pids">Strength (Angle)</div>
<div class="pids">Strength (Horizon)</div>
<div class="pids">Transition (Horizon)</div>
</div>
</th>
</tr>
<tr class="levelPID">
<!-- 7 -->
<td>LEVEL</td>
<td><input type="number" name="p" step="0.1" min="0" max="25.5" /></td>
<td><input type="number" name="i" step="0.001" min="0" max="0.255" /></td>
<td><input type="number" name="d" step="1" min="0" max="255" /></td>
</tr>
</table>
</div>
</div>
<div class="gui_box grey topspacer PID-extra">
<div class="gui_box_titlebar">
<div class="spacer_box_title">PID Other</div>
</div>
<div class="spacer_box">
<table class="parameter cf">
<thead>
<tr>
<th colspan="2">P-Term</th>
<th class="bf-only" colspan="2">I-Term</th>
</tr>
<tr>
<th>Dynamic P</th>
<th>Yaw Limit</th>
<th class="bf-only">Roll/Pitch Reset</th>
<th class="bf-only">Yaw Reset</th>
</tr>
</thead>
<tbody>
<tr>
<td class="bf-only"><select name='dynamic_pterm' title="dynamic_pterm"><!-- list generated here --></select></td>
<td><input type="number" name="yaw_p_limit" step="1" min="0" max="999" /></td>
<td class="bf-only"><input type="number" name="rollPitchItermResetRate" step="1" min="0" max="999" /></td>
<td class="bf-only"><input type="number" name="yawItermResetRate" step="1" min="0" max="999" /></td>
</tr>
</tbody>
<thead>
<th></th>
<th class="bf-only">Yaw (Hz)</th>
<th class="bf-only">Reset Offset</th>
</thead>
<tbody>
<tr>
<td></td>
<td class="bf-only"><input type="number" name="yaw_lpf_hz" step="0.01" min="0" max="999.00" /></td>
<td class="bf-only"><input type="number" name="iterm_reset_offset" step="1" min="0" max="999" /></td>
</tr>
</tbody>
</table>
<table class="parameter cf">
<thead>
<tr>
<th colspan="5">D-Term</th>
</tr>
<tr>
<th>Filter (Hz)</th>
<th class="bf-only">Average Count</th>
</tr>
</thead>
<tbody>
<tr>
<td><input type="number" name="dterm_lpf_hz" title="dterm_lpf_hz" step="0.01" min="0" max="999.00" /></td>
<td class="bf-only"><input type="number" name="dterm_average_count" title="dterm_average_count" step="1" min="0" max="12" /></td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="gui_box grey topspacer filters">
<div class="gui_box_titlebar">
<div class="spacer_box_title">Filters</div>
</div>
<div class="spacer_box">
<table class="parameter cf">
<thead>
<tr>
<th>Gyro Hardware</th>
<th class="bf-only">Gyro Soft (Hz)</th>
</tr>
</thead>
<tbody>
<tr>
<td><select name='gyro_lpf'><!-- list generated here --></select></td>
<td class="bf-only"><input type="number" name="gyro_lowpass_hz" step="0.01" min="0" max="999.00" /></td>
</tr>
</tbody>
<thead>
<tr>
<th>Acc (Hz)</th>
</tr>
</thead>
<tbody>
<tr>
<td><input type="number" name="acc_lpf_hz" step="0.01" min="0" max="999.00" /></td>
</tr>
</tbody>
</table>
<table class="parameter bf-only" cellpadding="0" cellspacing="0">
<tbody class="static-features noline">
<tr>
<td><input class="feature toggle" name="gyro_cal_on_first_arm" title="gyro_cal_on_first_arm" type="checkbox"/></td>
<td><label>GYRO_CAL_ON_FIRST_ARM</label></td>
<td><span>Calibrate Gyro on first arm</span></td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="gui_box grey topspacer rxMode">
<div class="gui_box_titlebar">
<div class="spacer_box_title">Receiver Mode</div>
</div>
<div class="spacer_box">
<table cellpadding="0" cellspacing="0">
<thead class="rxMode noline">
<tr>
<th class="cbox"></th>
<th class="item"></th>
<th class="description"></th>
</tr>
</thead>
<tbody class="features rxMode noline">
<!-- table generated here -->
</tbody>
</table>
</div>
</div>
<div class="gui_box grey topspacer hardware">
<div class="gui_box_titlebar">
<div class="spacer_box_title">Hardware Options</div>
</div>
<div class="spacer_box">
<table class="parameter cf">
<thead>
<tr>
<th>Looptime</th>
</tr>
</thead>
<tr>
<td><input type="number" name="loopTime" step="25" min="0" max="3000"/></td>
</tr>
<thead class="topspacer">
<tr>
<th>Accelerometer</th>
<th>Magnetometer</th>
<th>Barometer</th>
</tr>
</thead>
<tbody>
<tr>
<td><select name='acc_hardware'><!-- list generated here --></select></td>
<td><select name='mag_hardware'><!-- list generated here --></select></td>
<td><select name='baro_hardware'><!-- list generated here --></select></td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="gui_box grey topspacer unknown">
<div class="gui_box_titlebar">
<div class="spacer_box_title">Unknown Header Fields</div>
</div>
<div class="spacer_box">
<table class="parameter cf">
<tr>
<td>Name</td>
<td>Value</td>
</tr>
</table>
</div>
</div>
</div>
<div class="cf_column half right">
<div class="spacer_left">
<div class="gui_box grey topspacer rates">
<div class="gui_box_titlebar">
<div class="spacer_box_title">Rates and Expo</div>
</div>
<div class="spacer_box">
<table class="parameter cf">
<thead>
<tr>
<th colspan="5">Pitch / Roll</th>
</tr>
<tr>
<th title="RC Rate">Rate</th>
<th title="RC Expo">Expo</th>
<th class="bf-only">SuperExpo</th>
<th>Deadband</th>
</tr>
</thead>
<tr>
<td><input type="number" name="rcRate" step="0.01" min="0" max="1.00"/></td>
<td><input type="number" name="rcExpo" step="0.01" min="0" max="1.00"/></td>
<td class="bf-only"><input type="number" name="superExpoFactor" step="0.01" min="0" max="1.00"/></td>
<td><input type="number" name="deadband" step="1" min="0" max="32"/></td>
</tr>
<thead>
<tr>
<th colspan="2">ROLL Rate</th>
<th colspan="2">PITCH Rate</th>
</tr>
</thead>
<tr>
<td colspan="2"><input type="number" name="rates[0]" step="0.01" min="0" max="1.00" /></td>
<td colspan="2"><input type="number" name="rates[1]" step="0.01" min="0" max="1.00" /></td>
</tr>
</table>
<table class="parameter cf">
<thead>
<tr>
<th colspan="5">Yaw</th>
</tr>
<tr>
<th title="YAW Rate">Rate</th>
<th title="YAW Expo">Expo</th>
<th title="YAW SuperExpo" class="bf-only">SuperExpo</th>
<th title="YAW Deadband">Deadband</th>
</tr>
</thead>
<tr>
<td><input type="number" name="rates[2]" step="0.01" min="0" max="2.55" /></td>
<td><input type="number" name="rcYawExpo" step="0.01" min="0" max="1.00"/></td>
<td class="bf-only"><input type="number" name="superExpoFactorYaw" step="0.01" min="0" max="1.00"/></td>
<td><input type="number" name="yaw_deadband" step="1" min="0" max="100"/></td>
</tr>
<tr>
<td></td>
<td></td>
<td class="bf-only"><select name='superExpoYawMode' title="superExpoYawMode"><!-- list generated here --></select></td>
<td></td>
</tr>
</table>
<table class="parameter noline" cellpadding="0" cellspacing="0">
<tbody class="static-features misc noline">
<tr>
<td><input class="feature toggle" name="rc_smoothing" title="rc_smoothing" type="checkbox"/></td>
<td><label>RC_SMOOTHING</label></td>
<td><span>RC Smoothing Enabled</span></td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="gui_box grey topspacer throttle">
<div class="gui_box_titlebar">
<div class="spacer_box_title">Throttle</div>
</div>
<div class="spacer_box">
<table class="parameter cf">
<thead>
<tr>
<th>Throttle Mid</th>
<th>Throttle Expo</th>
<th>Min Throttle</th>
<th>Max Throttle</th>
</tr>
</thead>
<tr>
<td><input type="number" name="thrMid" step="0.01" min="0" max="1" /></td>
<td><input type="number" name="thrExpo" step="0.01" min="0" max="1" /></td>
<td><input type="number" name="minthrottle" step="10" min="1000" max="2000" /></td>
<td><input type="number" name="maxthrottle" step="10" min="1000" max="2000" /></td>
</tr>
<thead>
<tr>
<th colspan="2">TPA</th>
<th colspan="2">TPA Breakpoint</th>
</tr>
</thead>
<tbody>
<tr>
<td colspan="2"><input type="number" name="dynThrPID" step="0.01" min="0" max="1.00" /></td>
<td colspan="2"><input type="number" name="tpa-breakpoint" step="10" min="1000" max="2000" /></td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="gui_box grey topspacer voltagecurrent">
<div class="gui_box_titlebar">
<div class="spacer_box_title">Voltage and Current</div>
</div>
<div class="spacer_box">
<table class="parameter cf">
<thead>
<tr>
<th>Current Scale</th>
<th>Current Offset</th>
</tr>
</thead>
<tr>
<td><input type="number" name="currentMeterScale" step="1" min="0" max="500" /></td>
<td><input type="number" name="currentMeterOffset" step="1" min="0" max="500" /></td>
</tr>
<thead>
<tr>
<th>VBat Scale</th>
<th>VBat Ref</th>
</tr>
</thead>
<tr>
<td><input type="number" name="vbatscale" step="1" min="0" max="500" /></td>
<td><input type="number" name="vbatref" step="1" min="0" max="500" /></td>
</tr>
<thead>
<tr>
<th>Min Cell Voltage</th>
<th>Max Cell Voltage</th>
<th>Warning Voltage</th>
</tr>
</thead>
<tr>
<td><input type="number" name="vbatmincellvoltage" step="0.01" min="0" max="1.00"/></td>
<td><input type="number" name="vbatmaxcellvoltage" step="0.01" min="0" max="1.00"/></td>
<td><input type="number" name="vbatwarningcellvoltage" step="0.01" min="0" max="2.55" /></td>
</tr>
</table>
<table class="parameter noline bf-only" cellpadding="0" cellspacing="0">
<tbody class="static-features misc noline">
<tr>
<td><input class="feature toggle" name="vbat_pid_compensation" title="vbat_pid_compensation" type="checkbox"/></td>
<td><label>VBAT_PID_COMPENSATION</label></td>
<td><span>Scale PID parameters based upon current battery voltage</span></td>
</tr>
</tbody>
</table>
<table cellpadding="0" cellspacing="0">
<tbody class="features battery noline">
<!-- table generated here -->
</tbody>
</table>
</div>
</div>
<div class="gui_box grey topspacer other">
<div class="gui_box_titlebar">
<div class="spacer_box_title">Other Features</div>
</div>
<div class="spacer_box">
<table cellpadding="0" cellspacing="0">
<thead class="features other noline">
<tr>
<th class="checkbox"></th>
<th class="item"></th>
<th class="description"></th>
</tr>
</thead>
<tbody class="features other noline">
<!-- table generated here -->
</tbody>
</table>
</div>
</div>
</div>
</div>
</form>
<div class="clear-both"></div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default header-dialog-toggle">Cleanflight</button>
<button type="button" class="btn btn-default header-dialog-cancel" data-dismiss="modal">Cancel</button>
<button type="button" class="btn btn-primary header-dialog-save" data-dismiss="modal">Save changes</button>
</div>
</div>
</div>
</div>
<div class="modal fade keys-dialog" id="dlgKeysDialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
<h4 class="modal-title">Shortcut Keys</h4>
</div>
<div class="modal-body">
<div class="clear-both"></div>
<div class="gui_box grey">
<div class="gui_box_titlebar">
<div class="spacer_box_title">Scrolling, Zooming, Play and Pause</div>
</div>
<div class="clear-both"></div>
<div class="spacer_box">
<ul>
<li><span class=keys"><div class="key">Home</div><div class="normal">and</div><div class="key">End</div></span>
<div class="description">Go to the start or end of the current log.</div></li>
<li><span class=keys"><div class="key">←</div><div class="normal">and</div><div class="key">→</div></span>
<div class="description">Moves through log backwards and forwards by exactly 100ms.</div></li>
<li><span class=keys"><div class="key">PgUp</div><div class="normal">and</div><div class="key">PgDn</div></span>
<div class="description">Moves through log backwards and forwards fast.</div></li>
</ul>
<ul>
<li><span class=keys"><div class="key">Shift</div><div class="key">←</div><div class="normal">and</div><div class="key">→</div></span>
<div class="description">Zoom Log Out and In.</div></li>
<li><span class=keys"><div class="key">Alt</div><div class="key">←</div><div class="normal">and</div><div class="key">→</div></span>
<div class="description">Zoom Log Out and In but faster.</div></li>
</ul>
<ul>
<li><span class=keys"><div class="key">Spacebar</div></span><div class="description">Starts / Pauses Log and/or Video</div></li>
</ul>
</div>
</div>
<div class="gui_box grey topspacer">
<div class="gui_box_titlebar">
<div class="spacer_box_title">Marking and Smart Sync</div>
</div>
<div class="clear-both"></div>
<div class="spacer_box">
<ul>
<li><span class=keys"><div class="key">M</div></span>
<div class="description">Toggles a Marker on the log at the current time. As you scroll, time from marker (offset) is displayed on the toolbar. (Useful for measuring times between events.)</div></li>
<li><span class=keys"><div class="key">Alt</div><div class="key">M</div></span>
<div class="description">Smart Sync. With both a log AND a video loaded, Press 'M' to place a marker on the log where an event occurs (such as the exact start of a roll). Then scroll backwards and forwards until your video shows the exaxt same start of event. Now press 'Alt M' to sync the log and video at this point.</div></li>
</ul>
</div>
</div>
<div class="gui_box grey topspacer">
<div class="gui_box_titlebar">
<div class="spacer_box_title">Workspaces / Favourites</div>
</div>
<div class="clear-both"></div>
<div class="spacer_box">
<ul>
<li><span class=keys"><div class="key">Shift</div><div class="key">0</div><div class="normal">to</div><div class="key">9</div></span>
<div class="description">Save the current displayed graph configuration to workspace/favourite key 0 through 9 (this includes all graph smoothing and expo etc.).</div></li>
<li><span class=keys"><div class="key">0</div><div class="normal">to</div><div class="key">9</div></span>
<div class="description">Recall workspace/favourite stored in keys 0 through 9. Very fast graph configuration swapping useful for comparing traces.</div></li>
</ul>
<ul>
<li><span class=keys"><div class="key">Ctrl</div><div class="key">Z</div></span>
<div class="description">Swap back to your last graph configuration. Repeatedly pressing Ctrl-Z will toggle the last two graph configurations.</div></li>
</ul>
<ul>
<li><span class=keys"><div class="key">Alt</div><div class="key">Shift</div><div class="key">1</div><div class="normal">to</div><div class="key">9</div></span>
<div class="description">Save the current time to Bookmark hotkeys 1 through 9</div></li>
<li><span class=keys"><div class="key">Alt</div><div class="key">1</div><div class="normal">to</div><div class="key">9</div></span>
<div class="description">Recall Bookmark 1 though 9 to jump to specific time quickly.</div></li>
<li><span class=keys"><div class="key">Alt</div><div class="key">0</div></span>
<div class="description">Special Case, clear all bookmarks</div></li>
</ul>
</div>
</div>
<div class="clear-both"></div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default keys-dialog-cancel" data-dismiss="modal">Cancel</button>
</div>
</div>
</div>
</div>
<div class="modal fade" id="dlgVideoExport">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title">Export video</h4>
</div>
<div class="modal-body">
<div class="pane-video-settings form-horizontal">
<div class="form-group">
<label class="col-sm-3 control-label">Video duration</label>
<div class="col-sm-9">
<p class="form-control-static video-duration"></p>
<p>You can use the I (In) and O (Out) keys while
viewing the log to mark the start and end points of the video</p>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">Framerate</label>
<div class="col-sm-9">
<select class="form-control video-frame-rate">
<option value="15">15 fps</option>
<option value="30">30 fps</option>
<option value="60">60 fps</option>
<option value="120">120 fps</option>
<option value="240">240 fps</option>
</select>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">Resolution</label>