-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
1369 lines (1145 loc) · 54.6 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>
<head>
<meta charset="utf-8">
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>misB KIT 3.0.0</title>
<link rel="stylesheet" href="css/jquery-ui.css">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/toggle.css">
<link rel="author" href="humans.txt">
<!-- For Script panel -->
<link rel="stylesheet" href="js/codemiror/lib/codemirror.css">
<link rel="stylesheet" href="js/codemiror/addon/fold/foldgutter.css">
<link rel="stylesheet" href="js/codemiror/addon/dialog/dialog.css">
<link rel="stylesheet" href="js/codemiror/theme/monokai.css">
<script src="js/codemiror/lib/codemirror.js"></script>
<script src="js/codemiror/addon/search/searchcursor.js"></script>
<script src="js/codemiror/addon/search/search.js"></script>
<script src="js/codemiror/addon/dialog/dialog.js"></script>
<script src="js/codemiror/addon/edit/matchbrackets.js"></script>
<script src="js/codemiror/addon/edit/closebrackets.js"></script>
<script src="js/codemiror/addon/comment/comment.js"></script>
<script src="js/codemiror/addon/wrap/hardwrap.js"></script>
<script src="js/codemiror/addon/fold/foldcode.js"></script>
<script src="js/codemiror/addon/fold/brace-fold.js"></script>
<script src="js/codemiror/mode/javascript/javascript.js"></script>
<script src="js/codemiror/keymap/sublime.js"></script>
<!-- End For Script panel -->
</head>
<body>
<button class="btn-connexions">Connexions</button>
<div class="wapper">
<div class="connexions">
<h2>Connexions</h2>
<!-- <div class="plug" >
didier: just bcoz CM9 is hidden by Motors menu
</div> -->
<div class="plug cm9Plug">
<!--button class="gear"><img src="assets/settings.png"></button-->
<p>
CM9
<!--span class="status" id="cm9Text"></span-->
<!-- TODO cf MisGUI $('#btcm9').on('click'... ON OFF ERROR -->
<input id="btcm9" type="checkbox" class="small onoff" name ="enable" title="enable/disable">
</p>
<div id="cm9Content" class="content">
<!--button class="gear" data-id="pasglop"><img src="assets/settings.png"></button-->
<br>CM9 :
<input id="numCm9" type="number" class="small cmd" name="" placeholder="CM9 number">
<span class="status" id="cm9Text">...</span>
<!-- input type="checkbox" name ="glou">SINGLE<br>
<br>
<input class="styled-checkbox" type="checkbox" >CM9_1<br>
<input class="styled-checkbox" type="checkbox" >CM9_2<br>
<input class="styled-checkbox" type="checkbox" >CM9_3<br>
<input class="styled-checkbox" type="checkbox" >CM9_4<br>
<input class="styled-checkbox" type="checkbox" >CM9_5<br>
<input class="styled-checkbox" type="checkbox" >CM9_6<br -->
</div>
</div>
<div class="plug midiPlug">
<p>
MIDI <span class="status" id="midiText"></span>
<input id="btmidi" type="checkbox" class="small cmdTog" name ="enable"title="enable/disable">
</p>
<div class="content">
<br>Midi :<br>
<hr>
<!-- <button class="disconnected" id="btMidi">scan</button>
<br> -->
<div class="midi-available" id="midi-available">
<input class="styled-checkbox" type="checkbox" id="midi1">midi<br>
<input class="styled-checkbox" type="checkbox" id="midi2" >midi<br>
<input class="styled-checkbox" type="checkbox" id="midi3" >midi<br>
<input class="styled-checkbox" type="checkbox" id="midi4" >midi<br>
<input class="styled-checkbox" type="checkbox" id="midi5" >midi<br>
<input class="styled-checkbox" type="checkbox" id="midi6" >midi<br>
</div>
</div>
</div>
<div id="divOSC" class="plug oscManager">
<p>
OSC <span class="status"></span>
<input type="checkbox" func="onOff" eltID="OSC0" class="small warning cmdOnOff" name ="enable" title="enable/disable">
</p>
<div class="content advanced">
<br>OSC :<br>
<hr>
<font color='gray'>
<div class="infoIP">Local IP: localhost</div>
</font>
input Port:
<input type="number" func="setParam" param="localPort" eltID="OSC0" class="small set-value cmdInt" name="oscLocalPort" align="right" placeholder="6666">
<hr>
IP:<input type="text" func="setParam" param="clientIP" eltID="OSC0" class="name cmdString" name="oscRemoteIP" placeholder="255.255.255.255" size="18" title="address IP">
<!--input type="number" class="OSC-setting" placeholder="port" name=""-->
output Port:
<input type="number" func="setParam" param="clientPort" eltID="OSC0" class="small set-value cmdInt" name="oscRemotePort" align="right" placeholder="7777">
<!--ul></ul-->
<hr>
<button id="addConnexionOSC">Add OSC CONNEXION</button>
<br>
</div>
</div>
<!--div id="divMobilizing" class="plug">
<p>
M.js
<input id="mbzOnOff" data-func="oscMobilizing.onOff" type="checkbox" class="small stopAll" name ="enable" title="enable/disable">
</p>
<div class="content">
<br>MOBILIZING :
<br>
<hr>
<font color='gray'>
Server:
<div class="mbzIP">
ws://localhost:8080<br>ws://localhost:8080</div>
</font>
</div>
</div-->
<div id="robusPlug" class="plug robusManager">
<p>
LUOS <span func="spanText" class="status"></span>
<input func="freeze" id="robusOnOff" type="checkbox" class="small onoff" title="enable/disable">
</p>
<div class="content">
<br>Robots :
<!--button func="addLuosBot" class="float-right"> Add Luos Bot</button>
<br-->
<div class="robusbot" style="display:none;">
<hr>
<input func="enable" id="robusOnOff" type="checkbox" class="power onoff" title="enable/disable">
<label class="toggle-small">
<input type="checkbox" func="serialWifi" checked="false">
<div class="slider serial round" css=""></div>
</label>
<select func="selectPort" class= "small tiny" style="width:250px; display:none;"></select>
<input func="setWifiName" type="text" style="width:250px;" placeholder="websoket">
<!--button func="killme" class="close"><img src="assets/close.png" alt=""></button-->
<br>Info:<br>
<font color='lightblue' size="3">
<textarea func="luosInfo" rows=6 cols=15></textarea>
</font>
</div>
</div>
</div>
<div id="arduino" class="plug arduinoManager">
<p>
ARDUINO <span func="spanText" class="status"></span>
<input func="freeze" id="arduinoOnOff" type="checkbox" class="small onoff" title="enable/disable">
</p>
</div>
<div class="plug pythonManager">
<!--button class="gear"><img src="assets/settings.png"></button-->
<p>
PYTHON
<input func="onOff" type="checkbox" class="small onoff" name ="enable" title="enable/disable">
</p>
<div id="pyContent" class="content">
<br>
<button func="uiLoad" class="float-left">Load</button>
<select func="setPyVersion" class= "float-right small">
<option value="python">python</option>
<option value="python3">python3</option>
</select>
<br><br><hr>
<input func="scriptPath" type="text" class="small tiny" style="width:100%;">
<!--span func="log">...</span-->
<br>
<font color='lightblue' size="3">Arguments:</font>
<input func="argLine" type="text" class="small tiny" style="width:80%;">
</div>
</div>
<div class="plug dmxManager">
<p>
DMX <span func="spanText" class="status"></span>
<input func="onOff" type="checkbox" class="small onoff" title="on / off">
</p>
<div class="content">
<br>
<font color='lightblue' size="3">
<span func="portName">ENTTEC DETECTION</span>
<br>
<span func="serialNumber">serial number</span>
</font>
<br>
</div>
</div>
</div>
<!-- END CONNEXIONS -->
<!-- MENU TOP -->
<div class="menu-top">
<div class="menu-top-btn-group">
<div class="tab" id="motor">
<h2>Motors</h2>
<input type="checkbox" class="small btnGlobalMotor" id ="motor-freeze" title="enable/disable">
</div>
<div class="tab" id="motor-adv">
<h2>Advanced</h2>
</div>
</div>
<div class="menu-top-btn-group">
<div class="tab" id="anims">
<h2>Animations</h2><input type="checkbox" class="small btnGlobalAnim" id="anim-freeze" name ="enable"title="enable/disable">
</div>
<!-- //////////// -->
<!-- !!!!!!!!!!!!!!!!!!! REMOVED SENSOR TAB -->
<div class="tab" id="sens">
<h2 id="sens">Sensors </h2> <input type="checkbox" class="small btnGlobalSensors" id="sensor-freeze" name ="enable"title="enable/disable">
</div>
<div class="tab scriptManager" id="script">
<h2 id="script">Script </h2> <input func="freeze" type="checkbox" class="small btnGlobalSensors" id="script-freeze" name ="enable"title="enable/disable">
</div>
</div>
</div>
<!-- END MENU TOP -->
<!-- MOTORS -->
<div class="motors" >
<div class="ctrl-row">
<button class="float-left" id="newMotor"> New</button>
<div class="float-right medium">
<div class="gear tiny" id="opener" data-id="dynamixel-ctrl"><img src="assets/settings.png"></div>
<button class="tiny small" id="btScan" name="startScan">Scan</button>
<meter id="scanProgress" class="medium" value="0" max="254"></meter>
</div>
</div>
<div id="divMotors" class="allMotors dxlManager">
<!-- /////////////
ATTENTION
PULL OFF <div class="single-motor" style="display: block!important;">
AND writte <div class="single-motor">
/////////////
???explain???(didier)
/////////////
-->
<!-- SINGLE MOTOR -->
<div class="single-motor" style="display: none;"> <!--block!important;"-->
<div class="midi-blinker" title="midi chanel - note/cc">•</div>
<div class="left-col">
<div func="dxlIndex" param="index" class="motor-index">0</div>
<div func="dxlParam" param="dxlID" class="identity">42</div>
<input func="dxlEnable" param="enabled" type="checkbox" class="power"
title="enable/disable">
<button func="dxlZero" type="checkbox" class="reset"
title="reset to 0">init</button>
</div>
<div class="circle">
<svg class="rotAngle" ></svg>
<svg class="rotSpeed" ></svg>
</div>
<div class="properties">
<img src="assets/thermometer.png" class="ico-thermo" alt="">
<div class="thermo">_</div>
<label class="switch">
<input func="dxlMode" param="mode" value="joint,wheel" type="checkbox">
<div class="slider round"></div>
</label>
</div>
<input func="onControl" type="number" class="num_rotary" placeholder="angle/speed">
</div>
<!-- Didier: removed: ... toggle class ... ???
<!- 2/ SINGLE MOTOR WHEEL ->
<div class="single-motor wheel-motor" style="display: block!important;">
<div class="midi-blinker" title="midi chanel - note/cc">•</div>
<div class="left-col">
<div func="dxlIndex" param="index" class="motor-index">0</div>
<div func="dxlParam" param="dxlID" class="identity">42</div>
<input func="dxlEnable" param="enabled" type="checkbox" class="power"
title="enable/disable">
<button func="" param="reset" type="checkbox" class="reset"
title="reset to 0">init</button>
</div>
<div class="circle">
<svg class="rotAngle" ></svg>
<svg class="rotSpeed" ></svg>
</div>
<div class="properties">
<img src="assets/thermometer.png" class="ico-thermo" alt="">
<div class="thermo">_</div>
<h3>Wheel</h3>
</div>
<input func="onControl" type="number" class="num_rotary" placeholder="speed">
</div>
<!- 2/ SINGLE MOTOR JOINT ->
<div class="single-motor joint-motor" style="display: block!important;">
<div class="midi-blinker" title="midi chanel - note/cc">•</div>
<div class="left-col">
<div func="dxlIndex" param="index" class="motor-index">0</div>
<div func="dxlParam" param="dxlID" class="identity">42</div>
<input func="dxlEnable" param="enabled" type="checkbox" class="power"
title="enable/disable">
<button func="" param="reset" type="checkbox" class="reset"
title="reset to 0">init</button>
</div>
<div class="circle">
<svg class="rotAngle" ></svg>
<svg class="rotSpeed" ></svg>
</div>
<div class="properties">
<img src="assets/thermometer.png" class="ico-thermo" alt="">
<div class="thermo">_</div>
<h3>JOINT</h3>
</div>
<input func="onControl" type="number" class="num_rotary" placeholder="angle">
</div>
<!- END SINGLE MOTOR 3 ->
END REMOVAL -->
</div>
<!-- Advanced Motors -->
<div id="divMotorSettings" class="motors-settings dxlManager">
<!-- AREVOIR : bouton tools ... -->
<!-- SINGLE MOTOR Advanced-->
<div class="single-motor" style="display: none;">
<div class="left-col">
<div class="identity">
<label for="">id :</label>
<input func="dxlID" param="dxlID" type="number" class="small" placeholder="0" min="0" max="253">
</div>
</div>
<div class="advanced">
<ul>
<li><input func="dxlParam" param="angleMin" type="number" class="small" placeholder="Angle Min"><label for="">Angle Min </label></li>
<li><input func="dxlParam" param="angleMax" type="number" class="small" placeholder="Angle Max"><label for="">Angle Max </label></li>
<li><input func="dxlParam" param="speedMin" type="number" class="small" placeholder="Speed Min"><label for="">Speed Min </label></li>
<li><input func="dxlParam" param="speedMax" type="number" class="small" placeholder="Speed Max"><label for="">Speed Max </label></li>
</ul>
</div>
<div class="properties">
<label class="toggle-small">
<input func="dxlParam" param="clockwise" data-tog="joint,wheel" type="checkbox"> <!--class="cmdTog" name="clockwise"-->
<div class="slider clock round"></div>
</label>
</div>
<div class="large">
<div class="medium float-left">
<label class="">midi : </label>
<select func="midiMapping" param="port" class= "small tiny midi-chanel" id="" name="midiPorts">
<option>none</option>
<option value="midi 1">midi 1</option>
<option value="midi 2">midi 2</option>
<option value="midi 3">midi 3</option>
<option value="midi 4">midi 4</option>
</select>
<label class="toggle-small">
<input func="midiMapping" param="mode" type="checkbox"> <!--class="cmdTog" name="midiMode"-->
<div class="slider midi round"></div>
</label>
</div>
<div class="medium text-right float-right">
<label class="">mapping : </label>
<input func="midiMapping" param="num" type="number" class="small midiMapping" placeholder="num"> <!--name="mapping"-->
</div>
</div>
</div>
<!-- END ADVENCED SINGLE -->
<!-- Didier:removed
<!- 2/ SINGLE MOTOR Advanced ->
<div class="single-motor wheel-motor">
<div class="left-col">
<div class="identity">
<label for="">id :</label>
<input func="dxlID" param="dxlID" type="number" class="small" placeholder="0" min="0" max="253">
</div>
</div>
<div class="advanced">
<ul>
<li><input func="dxlParam" param="speedMin" type="number" class="small" placeholder="Speed Min"><label for="">Speed Min </label></li>
<li><input func="dxlParam" param="speedMax" type="number" class="small" placeholder="Speed Max"><label for="">Speed Max </label></li>
</ul>
</div>
<div class="properties">
<label class="toggle-small">
<input func="dxlParam" param="clockwise" data-tog="joint,wheel" type="checkbox">
<div class="slider clock round"></div>
</label>
</div>
<div class="large">
<div class="medium float-left">
<label class="">midi : </label>
<select func="midiMapping" param="port" class= "small tiny midi-chanel" id="" name="midiPorts">
<option>none</option>
<option value="midi 1">midi 1</option>
<option value="midi 2">midi 2</option>
<option value="midi 3">midi 3</option>
<option value="midi 4">midi 4</option>
</select>
<label class="toggle-small">
<input func="midiMapping" param="mode" type="checkbox">
<div class="slider midi round"></div>
</label>
</div>
<div class="medium text-right float-right">
<label class="">mapping : </label>
<input func="midiMapping" param="num" type="number" class="small midiMapping" placeholder="num">
</div>
</div>
</div>
<!- END ADVENCED SINGLE 2 ->
<!- 3/ SINGLE MOTOR Advanced ->
<div class="single-motor joint-motor">
<div class="left-col">
<div class="identity">
<label for="">id :</label>
<input func="dxlID" param="dxlID" type="number" class="small" placeholder="0" min="0" max="253">
</div>
</div>
<div class="advanced">
<ul>
<li><input func="dxlParam" param="angleMin" type="number" class="small" placeholder="Angle Min"><label for="">Angle Min </label></li>
<li><input func="dxlParam" param="angleMax" type="number" class="small" placeholder="Angle Max"><label for="">Angle Max </label></li>
</ul>
</div>
<div class="properties">
<label class="toggle-small">
<input func="dxlParam" param="clockwise" data-tog="joint,wheel" type="checkbox">
<div class="slider clock round"></div>
</label>
</div>
<div class="large">
<div class="medium float-left">
<label class="">midi : </label>
<select func="midiMapping" param="port" class= "small tiny midi-chanel" id="" name="midiPorts">
<option>none</option>
<option value="midi 1">midi 1</option>
<option value="midi 2">midi 2</option>
<option value="midi 3">midi 3</option>
<option value="midi 4">midi 4</option>
</select>
<label class="toggle-small">
<input func="midiMapping" param="mode" type="checkbox">
<div class="slider midi round"></div>
</label>
</div>
<div class="medium text-right float-right">
<label class="">mapping : </label>
<input func="midiMapping" param="num" type="number" class="small midiMapping" placeholder="num">
</div>
</div>
</div>
<!- END ADVENCED SINGLE 3 ->
END Didier -->
</div>
</div>
<div class="left-side">
<div class="animations animManager" id="divAnims">
<div class="ctrl-row">
<button id="loadAnim" func="uiLoad" class="animBTN float-right"> Load animation</button>
<button id="newAnim" class="animBTN float-left"> New</button>
</div>
<ul id="sortable-anim" >
<!-- SIngle Animation -->
<!--
<li class="single-anim record-anim ui-state-default">
<button class="close"><img src="assets/close.png" alt=""></button>
<input type="text" class="name" placeholder="Nom de l'animation" name="animName" size="40">
<button class="gear tiny float-right"><img data-id="animPopup" src="assets/settings.png"></button>
<div class="anim-motors">
<input type="text" class="shorcut" placeholder="..." name="animKey">
<input type="checkbox" class="motor-none" name="track">
<input type="checkbox" class="motor-none" name="track">
<input type="checkbox" class="motor-none" name="track">
<input type="checkbox" class="motor-none" name="track">
<input type="checkbox" class="motor-none" name="track">
<input type="checkbox" class="motor-none" name="track">
<div class="controls">
<button class="play"><img src="assets/play.png" alt="" name="play"></button>
<button class="stop"><img src="assets/stop.png" alt="" name="stop"></button>
<!-- loop checkbox --><!--
<input type="checkbox" class="loop" name="loop">
</div>
<meter name="progress" class="progress" value="70" max="100"></meter>
</div>
</li>-->
<!-- Record anim -->
<li class="single-anim record-anim ui-state-default" id="anim-record" eltID="example" title="right click to remove">
<h3>RECORD</h3>
<input type="text" class="name" placeholder="animation's name" func="renameAnim" name="animName" size="40">
<div class="recordSettings">
<input type="text" class="shorcut" placeholder="" func="onKeyShortcutRec" name="animKey" readonly>
<input type="checkbox" class="motor-none" name="recTrack" func="selectTrackForRecord" param="0">
<input type="checkbox" class="motor-none" name="recTrack" func="selectTrackForRecord" param="1">
<input type="checkbox" class="motor-none" name="recTrack" func="selectTrackForRecord" param="2">
<input type="checkbox" class="motor-none" name="recTrack" func="selectTrackForRecord" param="3">
<input type="checkbox" class="motor-none" name="recTrack" func="selectTrackForRecord" param="4">
<input type="checkbox" class="motor-none" name="recTrack" func="selectTrackForRecord" param="5">
<button class="start-rec float-right" func="onRecord">Start RECording</button>
</div>
<div class="anim-motors">
<input type="text" class="shorcut" placeholder="_" func="onKeyShortcut" name="animKey">
<input type="checkbox" class="motor-none" name="track" func="selectTrackForPlay" param="0">
<input type="checkbox" class="motor-none" name="track" func="selectTrackForPlay" param="1">
<input type="checkbox" class="motor-none" name="track" func="selectTrackForPlay" param="2">
<input type="checkbox" class="motor-none" name="track" func="selectTrackForPlay" param="3">
<input type="checkbox" class="motor-none" name="track" func="selectTrackForPlay" param="4">
<input type="checkbox" class="motor-none" name="track" func="selectTrackForPlay" param="5">
<div class="controls">
<button class="play" func="startAnim" name="play"><img src="assets/play.png" alt="" name="play"></button>
<button class="stop" func="stopAnim"name="stop"><img src="assets/stop.png" alt="" name="stop"></button>
<!-- loop checkbox -->
<input type="checkbox" class="loop" name="loop" func="loopAnim">
</div>
<meter name="progress" class="progress" value="70" max="100"></meter>
</div>
</li>
<!-- end record anim -->
<!-- Sinus Anim -->
<li class="single-anim sinus-anim ui-state-default" id="anim-sinus" eltID="example" title="right click to remove">
<h3>SINUS</h3>
<input type="text" class="name" placeholder="animation's name" func="renameAnim" name="animName" size="40">
<div class="anim-motors">
<input type="text" class="shorcut" placeholder="_" func="onKeyShortcut" name="animKey">
<input type="checkbox" class="motor-none" name="track" func="selectTrackForPlay" param="0">
<input type="checkbox" class="motor-none" name="track" func="selectTrackForPlay" param="1">
<input type="checkbox" class="motor-none" name="track" func="selectTrackForPlay" param="2">
<input type="checkbox" class="motor-none" name="track" func="selectTrackForPlay" param="3">
<input type="checkbox" class="motor-none" name="track" func="selectTrackForPlay" param="4">
<input type="checkbox" class="motor-none" name="track" func="selectTrackForPlay" param="5">
<div class="controls">
<button class="play" func="startAnim" name="play"><img src="assets/play.png" alt="" name="play"></button>
<button class="stop" func="stopAnim"name="stop"><img src="assets/stop.png" alt="" name="stop"></button>
<!-- loop checkbox -->
<!--<input type="checkbox" class="loop" name="loop">-->
</div>
<!--<meter name="progress" class="progress" value="70" max="100"></meter>-->
</div>
<div class="ctrl-row text-right">
<div class="info">
<p class="text-left">Offset :</p>
<input title ="[-1.0,1.0]" type="number" class="small tiny" value="34" func="changeParam" param="param0" step="0.1">
</div>
<div class="info">
<p class="text-left">Frequency :</p>
<input title="0.1(slow), 2.0(quick)" type="number" class="small tiny" value="34" func="changeParam" param="param1" step="0.1">
</div>
<div class="info">
<p class="text-left">Amplitude :</p>
<input title="[0.0,1.0]" type="number" class="small tiny" value="34" func="changeParam" param="param2" step="0.1">
</div>
</div>
</li>
<!-- End Sinus Anim -->
<!-- Random Anim -->
<li class="single-anim random-anim ui-state-default" id="anim-random" eltID="example" title="right click to remove">
<h3>RANDOM</h3>
<input type="text" class="name" placeholder="animation's name" func="renameAnim" name="animName" size="40">
<div class="anim-motors">
<input type="text" class="shorcut" placeholder="_" func="onKeyShortcut" name="animKey">
<input type="checkbox" class="motor-none" name="track" func="selectTrackForPlay" param="0">
<input type="checkbox" class="motor-none" name="track" func="selectTrackForPlay" param="1">
<input type="checkbox" class="motor-none" name="track" func="selectTrackForPlay" param="2">
<input type="checkbox" class="motor-none" name="track" func="selectTrackForPlay" param="3">
<input type="checkbox" class="motor-none" name="track" func="selectTrackForPlay" param="4">
<input type="checkbox" class="motor-none" name="track" func="selectTrackForPlay" param="5">
<div class="controls">
<button class="play" func="startAnim" name="play"><img src="assets/play.png" alt="" name="play"></button>
<button class="stop" func="stopAnim"name="stop"><img src="assets/stop.png" alt="" name="stop"></button>
<!-- loop checkbox -->
<!--<input type="checkbox" class="loop" name="loop">-->
</div>
<!--<meter name="progress" class="progress" value="70" max="100"></meter>-->
</div>
<div class="ctrl-row text-right">
<div class="info">
<p class="text-left">min value :</p>
<input type="number" class="small tiny" value="34" func="changeParam" param="param0">
</div>
<div class="info">
<p class="text-left">interval min :</p>
<input type="number" class="small tiny" value="34" func="changeParam" param="param1">
</div>
<div class="info">
<p class="text-left">max value:</p>
<input type="number" class="small tiny" value="34" func="changeParam" param="param2">
</div>
<div class="info">
<p class="text-left">interval max :</p>
<input type="number" class="small tiny" value="34" func="changeParam" param="param3">
</div>
</div>
</li>
<!-- End Random Anim -->
<!-- Trigger Anim -->
<li class="single-anim trigger-anim ui-state-default" id="anim-trigger" eltID="example" title="right click to remove">
<h3>TRIGGER</h3>
<input type="text" class="name" placeholder="animation's name" func="renameAnim" name="animName" size="40">
<div class="anim-motors">
<input type="text" class="shorcut" placeholder="_" func="onKeyShortcut" name="animKey">
<input type="checkbox" class="motor-none" name="track" func="selectTrackForPlay" param="0">
<input type="checkbox" class="motor-none" name="track" func="selectTrackForPlay" param="1">
<input type="checkbox" class="motor-none" name="track" func="selectTrackForPlay" param="2">
<input type="checkbox" class="motor-none" name="track" func="selectTrackForPlay" param="3">
<input type="checkbox" class="motor-none" name="track" func="selectTrackForPlay" param="4">
<input type="checkbox" class="motor-none" name="track" func="selectTrackForPlay" param="5">
<div class="controls">
<button class="play" func="startAnim" name="play"><img src="assets/play.png" alt="" name="play"></button>
<button class="stop" func="stopAnim"name="stop"><img src="assets/stop.png" alt="" name="stop"></button>
<!-- loop checkbox -->
<!--<input type="checkbox" class="loop" name="loop">-->
</div>
<!--<meter name="progress" class="progress" value="70" max="100"></meter>-->
</div>
<div class="ctrl-row text-right">
<div class="info">
<p class="text-left">interval :</p>
<input type="number" class="small tiny" value="34" func="changeParam" param="param0">
</div>
<div class="info">
<p class="text-left">dutaion :</p>
<input type="number" class="small tiny" value="34" func="changeParam" param="param1">
</div>
<div class="info">
<p class="text-left">max :</p>
<input type="number" class="small tiny" value="34" func="changeParam" param="param2">
</div>
<div class="info">
<p class="text-left">min :</p>
<input type="number" class="small tiny" value="34" func="changeParam" param="param3">
</div>
</div>
</li>
<!-- End Trigger Anim -->
</ul>
</div>
<div class="sensors sensorManager">
<div class="ctrl-row">
<button id="addEmptySensor" class="sensorsBTN float-left">New</button>
<!--<button id="loadSensor" class="sensorsBTN float-right">Save</button>-->
<button func="uiLoad" id="loadSensor" class="sensorsBTN float-right">Load</button>
</div>
<ul id="sortable-sens" name="listSensors" >
<!-- SIngle Sensors -->
<li class="single-sensor ui-state-default activ" func="selectSensor" type="submit" title="right click to remove">
<input type="checkbox" func="enable" class="power float-left cmdTog" name ="sensorOnOff" title="enable/disable">
<input type="text" func="onNameText" class="float-left medium" placeholder="Sensor name" name="sensorName" size="58">
<!-- <button func="removeSensor" class="small20 float-right">x</button> -->
<p class="info medium-75 float-left" func="textDescription" type="text">CM9 to OSC aaaaaaaaaabbbbbbbbbb</p>
<div class="sensor-setting">
<div class="live-value-ui">•</div>
<div class="green-bar"></div>
</div>
</li>
<!-- END SIngle Sensors -->
</ul>
<div class="sensor-setting-more" eltID="default">
<select name="input" func="onSelectInput" id="" class="large">
<option value="default">Select Input</option>
<option value="cm9">CM9</option>
<option value="osc">OSC</option>
<option value="midi">Midi</option>
<option value="motor">Mapping from motor</option>
<!--<option value="mobilizing">Mobilizing</option>-->
<option value="robus">Robus</option>
<option value="sinus">Sinus</option>
<option value="random">Random</option>
</select>
<div class="input-wrapper">
<!-- INPUT -->
<section name="cm9">
<div class="medium float-left ">
<input type="checkbox" func="changeSettingsVariable" class=" small cmdOnOff" param="cm9EnabledInput" title="enable/disable">
<h4>CM9</h4>
</div>
<div class="medium float-left text-right">
<input type="number" func="changeSettingsVariable" class="medium tiny float-right" placeholder="pin number" param="cm9Pin"> <!--class="large tiny"-->
</div>
</section>
<section name="osc">
<div class="medium float-left ">
<input type="checkbox" func="changeSettingsVariable" class="small cmdOnOff" param ="oscEnabledInput" title="enable/disable">
<h4>OSC</h4>
</div>
<div class="medium float-left text-right">
<input type="text" func="changeSettingsVariable" class="large tiny" placeholder="osc adress" param="oscAdressInput">
</div>
</section>
<section name="mobilizing">
<div class="medium float-left ">
<input type="checkbox" func="changeSettingsVariable" class="small cmdOnOff" param ="mobilizingEnabledInput" title="enable/disable">
<h4>Mobilizing</h4>
</div>
</section>
<section class="hight" name="midi">
<div class="large float-left">
<input type="checkbox" func="changeSettingsVariable" class="small cmdOnOff" param ="midiEnabledInput" title="enable/disable">
<h4>Midi</h4>
</div>
<div class="large float-left">
<div class="medium float-left">
<label class="toggle-small">
<input type="checkbox" func="changeSettingsVariable" class="cmdTog" param="midiCmdInput">
<div class="slider midi round"></div>
</label>
</div>
<div class="medium float-right text-right">
<input type="number" func="changeSettingsVariable" class="medium-75 tiny" placeholder="index" param="midiMappingInput">
</div>
<div class="large">
<select class= " tiny large cmdString" func="onMidiInput" id="" name="midiPortInput">
<option value="">midi 1</option>
<option value="midi 2">midi 2</option>
<option value="">midi 3</option>
<option value="">midi 4</option>
</select>
</div>
</div>
</section>
<section name="motor">
<div class="medium float-left">
<input type="checkbox" func="changeSettingsVariable" class="small cmdOnOff" param ="motorEnabledInput" title="enable/disable">
<h4>Motor Mapping</h4>
</div>
<div class="medium float-right text-right">
<input type="number" func="changeSettingsVariable" class="medium tiny float-right" placeholder="index" param="fromMotorIndex">
</div>
</section>
<section class="hight robusInput" name="robus">
<div class="medium float-left">
<input type="checkbox" func="changeSettingsVariable" class="small cmdOnOff" param ="robusEnabledInput" title="enable/disable">
<h4>Robus</h4>
</div>
<div class="medium float-right text-right">
<select class= "float-right" func="onRobusParam" param="gate" style="width:145px;">
<option value="default">gate</option>
<option value="gate">gate</option>
</select>
</div>
<div class="tiny float-left"> </div>
<div class="large float-left">
<div class="float-left">
<select class= "float-right" func="onRobusParam" param="module" style="width:145px;" >
<option value="default">none</option>
<option value="L0_1">L0_1</option>
<!--option value="L0_2">L0_2</option>
<option value="L0_3">L0_3</option>
<option value="L0_4">L0_4</option-->
</select>
</div>
<div class="float-right text-right">
<select class= "float-right" func="onRobusParam" param="pin" style="width:145px;">
<option value="default">pin</option>
<option value="p1">p1</option>
<!--option value="p5">p5</option>
<option value="p6">p6</option>
<option value="p7">p7</option>
<option value="p8">p8</option>
<option value="p9">p9</option-->
</select>
</div>
</div>
</section>
<section class="hight sinusInput" name="sinus">
<div class="medium float-left">
<input func="inputOnOff" type="checkbox" class="small cmdOnOff" title="enable/disable">
<h4>Sinus</h4>
</div>
<div class="large float-left text-right">
<div class="info small">
<p class="text-left">Offset :</p>
<input title ="[-1.0,1.0]" type="number" class="small tiny" func="changeSettingsVariable" value="34" step="0.1" param="offset">
</div>
<div class="info small">
<p class="text-left">Frequency :</p>
<input title="0.1(slow), 2.0(quick)" type="number" class="small tiny" func="changeSettingsVariable" value="34" step="0.1" param="period">
</div>
<div class="info small">
<p class="text-left">Amplitude :</p>
<input title="[0.0,1.0]" type="number" class="small tiny" func="changeSettingsVariable" value="34" step="0.1" param="amplitude">
</div>
</div>
<!-- <button class="gear tiny float-left" func="setPopupValues" data-id="sinusPopup"><img src="assets/settings.png"></button>
</div>
Period(seconds):<input func="inputParam" param="period" type="number" class="medium tiny float-right" placeholder="1" param=""> -->
</section>
<section class="hight randomInput" name="random"> <!-- pour test-->
<div class="medium float-left">
<input func="inputOnOff" type="checkbox" class="small cmdOnOff" title="enable/disable">
<h4>Random</h4>
</div>
<div class="large float-right text-right">
<div class="info small">
<p class="text-left">min value :</p>
<input type="number" class="small tiny" value="34" func="changeSettingsVariable" param="valmin">
</div>
<div class="info small">
<p class="text-left">interval min :</p>
<input type="number" class="small tiny" value="34" func="changeSettingsVariable" param="intmin">
</div>
</div>
<div class="large float-right text-right">
<div class="info small">
<p class="text-left">max value:</p>
<input type="number" class="small tiny" value="34" func="changeSettingsVariable" param="valmax">
</div>
<div class="info small">
<p class="text-left">interval max :</p>
<input type="number" class="small tiny" value="34" func="changeSettingsVariable" param="intmax">
</div>
<!-- <button class="gear tiny" func="setPopupValues" data-id="randomPopup"><img src="assets/settings.png"></button> -->
</div>
</section>
</div>
<!-- FILTERS -->
<div class="filters">
<select name="inputFilter" func="onSelectFilter" id="" class="medium ">
<option value="default">Select Filter</option>
<option value="lowpass">low-pass filter</option>
<option value="anotherfilter">another filter</option>
</select>
<div class="info medium text-right float-right">
<p class="text-left">value :</p>
<input type="number" name="filter-value" func="changeSettingsVariable" param="alpha" class="medium tiny" value="1.0">
</div>
</div>
<!-- End FILTERS -->
<div class="live-view">
<div class="info small float-left text-left">
min <br><br>
<input type="number" func="onMinValue" name="min-value-sensors" class="medium tiny" value="0">
<img id="sensor-detector-min" src="assets/sensor-min-icon.png" alt="">
</div>
<div class="small float-left text-center">
<span class="live-value">20</span>
</div>
<div class="info small float-right text-right">
max <br><br>
<img id="sensor-detector-max" src="assets/sensor-max-icon.png" alt="">
<input type="number" func="onMaxValue" name="max-value-sensors" class="medium tiny" value="100">
</div>
<div class="live-value-ui grey" id="live-value-ui-grey">•</div>
<div class="live-value-ui">•</div>
<div class="green-bar"></div>
</div>
<select name="output" func="onSelectOutput" id="output" class="large">
<option value="default">Add output</option>
<option value="animations">Trigger animation</option>
<option value="osc">send OSC messages</option>
<option value="midi">send Midi</option>
<option value="motor">Map values to motor</option>
<!--<option value="mobilizing">send to Mobilizing</option>-->