File tree Expand file tree Collapse file tree 3 files changed +42
-3
lines changed Expand file tree Collapse file tree 3 files changed +42
-3
lines changed Original file line number Diff line number Diff line change 320
320
</ div >
321
321
</ div >
322
322
323
+ < div class ="form-check mt-3 " id ="tiltCompensationSettings ">
324
+ < label class ="form-check-label " for ="enableTiltCompensation "> Enable Tilt Compensation</ label >
325
+ < input class ="form-check-input " type ="checkbox " value ="" id ="enableTiltCompensation " onClick ="tiltCompensationBoxes() ">
326
+ < span class ="tt " data-bs-placement ="right "
327
+ title ="Use tilt compensation. Default: Enabled. ">
328
+ < span class ="icon-info-circle text-primary ms-2 "> </ span >
329
+ </ span >
330
+ </ div >
331
+
332
+ < div id ="poleLengthConfig ">
333
+ < div class ="form-group row ">
334
+ < label for ="tiltPoleLength "
335
+ class ="col-sm-4 col-6 col-form-label "> Pole Length (m):
336
+ < span class ="tt " data-bs-placement ="right "
337
+ title ="Pole length for tilt compensation. Default: 1.8m ">
338
+ < span class ="icon-info-circle text-primary ms-2 "> </ span >
339
+ </ span >
340
+ </ label >
341
+ < div class ="col-sm-4 col-6 ">
342
+ < input type ="number " class ="form-control " id ="tiltPoleLength ">
343
+ < p id ="tiltPoleLengthError " class ="inlineError "> </ p >
344
+ </ div >
345
+ </ div >
346
+ </ div >
347
+
323
348
< div class ="form-check mt-3 ">
324
349
< label class ="form-check-label " for ="enableNtripClient "> Enable NTRIP Client</ label >
325
350
< input class ="form-check-input " type ="checkbox " value ="" id ="enableNtripClient ">
Original file line number Diff line number Diff line change @@ -103,24 +103,28 @@ function parseIncoming(msg) {
103
103
show ( "ppConfig" ) ;
104
104
show ( "ethernetConfig" ) ;
105
105
show ( "ntpConfig" ) ;
106
+ hide ( "tiltCompensationSettings" ) ;
106
107
}
107
108
else if ( platformPrefix == "Facet v2" ) {
108
109
show ( "baseConfig" ) ;
109
110
show ( "ppConfig" ) ;
110
111
hide ( "ethernetConfig" ) ;
111
112
hide ( "ntpConfig" ) ;
113
+ hide ( "tiltCompensationSettings" ) ;
112
114
}
113
115
else if ( platformPrefix == "Facet mosaic" ) {
114
116
show ( "baseConfig" ) ;
115
117
show ( "ppConfig" ) ;
116
118
hide ( "ethernetConfig" ) ;
117
119
hide ( "ntpConfig" ) ;
120
+ hide ( "tiltCompensationSettings" ) ;
118
121
}
119
122
else if ( platformPrefix == "Torch" ) {
120
123
show ( "baseConfig" ) ;
121
124
show ( "ppConfig" ) ;
122
125
hide ( "ethernetConfig" ) ;
123
126
hide ( "ntpConfig" ) ;
127
+ show ( "tiltCompensationSettings" ) ;
124
128
125
129
select = ge ( "dynamicModel" ) ;
126
130
let newOption = new Option ( 'Survey' , '0' ) ;
@@ -443,7 +447,8 @@ function parseIncoming(msg) {
443
447
udpBoxes ( ) ;
444
448
dhcpEthernet ( ) ;
445
449
updateLatLong ( ) ;
446
- updateCorrectionsPriorities ( ) ;
450
+ updateCorrectionsPriorities ( ) ;
451
+ tiltCompensationBoxes ( ) ;
447
452
}
448
453
}
449
454
@@ -1860,6 +1865,15 @@ function udpBoxes() {
1860
1865
}
1861
1866
}
1862
1867
1868
+ function tiltCompensationBoxes ( ) {
1869
+ if ( ge ( "enableTiltCompensation" ) . checked == true ) {
1870
+ show ( "poleLengthConfig" ) ;
1871
+ }
1872
+ else {
1873
+ hide ( "poleLengthConfig" ) ;
1874
+ }
1875
+ }
1876
+
1863
1877
function dhcpEthernet ( ) {
1864
1878
if ( ge ( "ethernetDHCP" ) . checked == true ) {
1865
1879
hide ( "fixedIPSettingsConfigEthernet" ) ;
Original file line number Diff line number Diff line change @@ -747,8 +747,8 @@ unsigned long beepQuietLengthMs; // Number of ms to make reset between multiple
747
747
unsigned long beepNextEventMs; // Time at which to move the beeper to the next state
748
748
unsigned long beepCount; // Number of beeps to do
749
749
750
- unsigned long lastMqttToPpl;
751
- unsigned long lastGnssToPpl;
750
+ unsigned long lastMqttToPpl = 0 ;
751
+ unsigned long lastGnssToPpl = 0 ;
752
752
// -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
753
753
754
754
// Display boot times
You can’t perform that action at this time.
0 commit comments