浮点解打印到log

This commit is contained in:
weidong 2024-02-04 20:50:20 +08:00
parent cbcaca046c
commit 2e3348fa5c

View File

@ -41,7 +41,11 @@ public class UBXUtil {
short status = (short) ((data.getUnsignedByte(pos+60) & 0x18)>>3); //mask: 00011000
if(status == 2){
return new double[]{relPosE,relPosN,relPosD,FIX_RESULT};
}else{
}
else if(status == 1){
return new double[]{relPosE,relPosN,relPosD,NO_FIX_RESULT};
}
else{
return new double[]{0,0,0,NO_FIX_RESULT};
}
}