1
Vote

Handling Negative DOP

description

The constructor for DilutionOfPrecision throws an exception when passed a negative value. Unfortunately when my Trimble unit when it doesn't have a satellite lock it passes in -1 for the DOP values in its $GPGSA message:
 
$GPGSA,M,1,,,,,,,,,,,,,-1.0,-1.0,-1.0*10
 
Perhaps flooring it at zero would provide the same information (no lock) without the exception?

comments