fix: 修复out-height的 bug
This commit is contained in:
parent
869c2b7237
commit
0e95c72198
@ -54,7 +54,9 @@ public class RtkrcvManager {
|
||||
Double geo = dev.getGeoidSeparation()==null?0.0:dev.getGeoidSeparation();
|
||||
try{ beidouClient.onRtkGngga(deviceId, lat, lon, alt, geo); }catch(Exception ignore){}
|
||||
if(!(lat==0.0 && lon==0.0 && alt==0.0)){
|
||||
profile.setOut_height(geo==0.0?"ellipsoidal":"geodetic");
|
||||
if(profile.getOut_height()==null || profile.getOut_height().isEmpty()){
|
||||
profile.setOut_height(geo==0.0?"ellipsoidal":"geodetic");
|
||||
}
|
||||
} else {
|
||||
retHint = "all_zero";
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user