浮点解打印到log
This commit is contained in:
parent
cbcaca046c
commit
2e3348fa5c
@ -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};
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user