@@ -5,83 +5,87 @@ <h5>Cut Test Pattern</h5>
5
5
< button type ="button " class ="btn btn-lg btn-block btn-secondary " onclick ="action('cutHoleyCalibrationPattern'); "> Cut Calibration Pattern</ button >
6
6
< button type ="button " class ="btn btn-lg btn-block btn-danger " onclick ="action('stopRun'); "> Stop</ button >
7
7
< h5 > Measurements</ h5 >
8
- < div class ="card ">
9
- < div class ="card-body ">
10
- < form id ="calibrateForm ">
11
- < input id ="pageID " type ="hidden " value ="{{pageID}} ">
12
- < div class ="form-group ">
13
- < div class ="form-group ">
14
- < label for ="M1 "> M1</ label >
15
- < input id ="M1 " type ="number " step ="any " class ="form-control " name ="M1 " value ="0 ">
16
- < small class ="form-text text-muted "> Enter value in mm only</ small >
17
- </ div >
18
- < div class ="form-group ">
19
- < label for ="M2 "> M2</ label >
20
- < input id ="M2 " type ="number " step ="any " class ="form-control " name ="M2 " value ="0 ">
21
- < small class ="form-text text-muted "> Enter value in mm only</ small >
22
- </ div >
23
- < div class ="form-group ">
24
- < label for ="M3 "> M3</ label >
25
- < input id ="M3 " type ="number " step ="any " class ="form-control " name ="M3 " value ="0 ">
26
- < small class ="form-text text-muted "> Enter value in mm only</ small >
27
- </ div >
28
- < div class ="form-group ">
29
- < label for ="M4 "> M4</ label >
30
- < input id ="M4 " type ="number " step ="any " class ="form-control " name ="M4 " value ="0 ">
31
- < small class ="form-text text-muted "> Enter value in mm only</ small >
32
- </ div >
33
- < div class ="form-group ">
34
- < label for ="M5 "> M5</ label >
35
- < input id ="M5 " type ="number " step ="any " class ="form-control " name ="M5 " value ="0 ">
36
- < small class ="form-text text-muted "> Enter value in mm only</ small >
37
- </ div >
38
- < div class ="form-group ">
39
- < label for ="M6 "> M6</ label >
40
- < input id ="M6 " type ="number " step ="any " class ="form-control " name ="M6 " value ="0 ">
41
- < small class ="form-text text-muted "> Enter value in mm only</ small >
42
- </ div >
43
- < div class ="form-group ">
44
- < label for ="M7 "> M7</ label >
45
- < input id ="M7 " type ="number " step ="any " class ="form-control " name ="M7 " value ="0 ">
46
- < small class ="form-text text-muted "> Enter value in mm only</ small >
47
- </ div >
48
- < div class ="form-group ">
49
- < label for ="M8 "> M8</ label >
50
- < input id ="M8 " type ="number " step ="any " class ="form-control " name ="M8 " value ="0 ">
51
- < small class ="form-text text-muted "> Enter value in mm only</ small >
52
- </ div >
53
- < div class ="form-group ">
54
- < label for ="M9 "> M9</ label >
55
- < input id ="M9 " type ="number " step ="any " class ="form-control " name ="M9 " value ="0 ">
56
- < small class ="form-text text-muted "> Enter value in mm only</ small >
57
- </ div >
58
- < div class ="form-group ">
59
- < label for ="M10 "> M10</ label >
60
- < input id ="M10 " type ="number " step ="any " class ="form-control " name ="M10 " value ="0 ">
61
- < small class ="form-text text-muted "> Enter value in mm only</ small >
62
- </ div >
63
- < div class ="form-group ">
64
- < label for ="M11 "> M11</ label >
65
- < input id ="M11 " type ="number " step ="any " class ="form-control " name ="M11 " value ="0 ">
66
- < small class ="form-text text-muted "> Enter value in mm only</ small >
67
- </ div >
68
- < div class ="form-group ">
69
- < label for ="M12 "> M12</ label >
70
- < input id ="M12 " type ="number " step ="any " class ="form-control " name ="M12 " value ="0 ">
71
- < small class ="form-text text-muted "> Enter value in mm only</ small >
72
- </ div >
8
+ < form id ="calibrateForm ">
9
+ < input id ="pageID " type ="hidden " value ="{{pageID}} ">
10
+ < img class = "img-fluid " src ="{{ url_for('static',filename='images/holeyCalibration/holeyCalibration.png' , version='11102019o') }} " >
11
+ < div class ="form-group ">
12
+ < div class ="form-group ">
13
+ < label for ="M1 "> M1</ label >
14
+ < input id ="M1 " type ="number " step ="any " class ="form-control " name ="M1 " value ="0 ">
15
+ < small class ="form-text text-muted "> Enter value in mm only</ small >
16
+ </ div >
17
+ < div class ="form-group ">
18
+ < label for ="M2 "> M2</ label >
19
+ < input id ="M2 " type ="number " step ="any " class ="form-control " name ="M2 " value ="0 ">
20
+ < small class ="form-text text-muted "> Enter value in mm only</ small >
21
+ </ div >
22
+ < div class ="form-group ">
23
+ < label for ="M3 "> M3</ label >
24
+ < input id ="M3 " type ="number " step ="any " class ="form-control " name ="M3 " value ="0 ">
25
+ < small class ="form-text text-muted "> Enter value in mm only</ small >
26
+ </ div >
27
+ < div class ="form-group ">
28
+ < label for ="M4 "> M4</ label >
29
+ < input id ="M4 " type ="number " step ="any " class ="form-control " name ="M4 " value ="0 ">
30
+ < small class ="form-text text-muted "> Enter value in mm only</ small >
31
+ </ div >
32
+ < div class ="form-group ">
33
+ < label for ="M5 "> M5</ label >
34
+ < input id ="M5 " type ="number " step ="any " class ="form-control " name ="M5 " value ="0 ">
35
+ < small class ="form-text text-muted "> Enter value in mm only</ small >
36
+ </ div >
37
+ < div class ="form-group ">
38
+ < label for ="M6 "> M6</ label >
39
+ < input id ="M6 " type ="number " step ="any " class ="form-control " name ="M6 " value ="0 ">
40
+ < small class ="form-text text-muted "> Enter value in mm only</ small >
41
+ </ div >
42
+ < div class ="form-group ">
43
+ < label for ="M7 "> M7</ label >
44
+ < input id ="M7 " type ="number " step ="any " class ="form-control " name ="M7 " value ="0 ">
45
+ < small class ="form-text text-muted "> Enter value in mm only</ small >
46
+ </ div >
47
+ < div class ="form-group ">
48
+ < label for ="M8 "> M8</ label >
49
+ < input id ="M8 " type ="number " step ="any " class ="form-control " name ="M8 " value ="0 ">
50
+ < small class ="form-text text-muted "> Enter value in mm only</ small >
51
+ </ div >
52
+ < div class ="form-group ">
53
+ < label for ="M9 "> M9</ label >
54
+ < input id ="M9 " type ="number " step ="any " class ="form-control " name ="M9 " value ="0 ">
55
+ < small class ="form-text text-muted "> Enter value in mm only</ small >
56
+ </ div >
57
+ < div class ="form-group ">
58
+ < label for ="M10 "> M10</ label >
59
+ < input id ="M10 " type ="number " step ="any " class ="form-control " name ="M10 " value ="0 ">
60
+ < small class ="form-text text-muted "> Enter value in mm only</ small >
61
+ </ div >
62
+ < div class ="form-group ">
63
+ < label for ="M11 "> M11</ label >
64
+ < input id ="M11 " type ="number " step ="any " class ="form-control " name ="M11 " value ="0 ">
65
+ < small class ="form-text text-muted "> Enter value in mm only</ small >
66
+ </ div >
67
+ < div class ="form-group ">
68
+ < label for ="M12 "> M12</ label >
69
+ < input id ="M12 " type ="number " step ="any " class ="form-control " name ="M12 " value ="0 ">
70
+ < small class ="form-text text-muted "> Enter value in mm only</ small >
71
+ </ div >
72
+ < div class ="row ">
73
+ < div class = "col-6 ">
73
74
< button type ="submit " class ="btn btn-lg btn-block btn-primary "> Calculate</ button >
74
75
</ div >
75
- </ form >
76
+ < div class = "col-6 ">
77
+ < button id ="acceptCalibration " disabled type ="button " class ="btn btn-lg btn-block btn-primary " onclick ="action('acceptHoleyCalibrationResults',0,0);$('#contentModal').modal('toggle') "> Accept Results</ button >
78
+ </ div >
79
+ </ div >
76
80
</ div >
77
- </ div >
78
- < h5 > Parameters </ h5 >
81
+ </ form >
82
+ < h5 > Results </ h5 >
79
83
< p > < label id ="motorYoffset "> Height of Motors: {{motorYoffset}}</ label > </ p >
80
84
< p > < label id ="distanceBetweenMotors "> Distance Between Motors: {{distanceBetweenMotors}}</ label > </ p >
81
85
< p > < label id ="leftChainTolerance "> Left Chain Tolerance: {{leftChainTolerance}}</ label > </ p >
82
86
< p > < label id ="rightChainTolerance "> Right Chain Tolerance: {{rightChainTolerance}}</ label > </ p >
83
87
< p > < label id ="calibrationError "> Calibration Error: n/a</ label > </ p >
84
- < button id =" acceptCalibration " disabled type =" Accept " class =" btn btn-lg btn-block btn-primary " onclick =" action('acceptHoleyCalibrationResults',0,0);$('#contentModal').modal('toggle') " > Accept Results </ button >
88
+
85
89
86
90
</ div >
87
91
{% endblock %}
0 commit comments