Closed tajgr closed 3 months ago
I performed some additional tests. It could be ready to merge from my site.
I see except Exception - does it have to be so strong? Maybe ValueError would be sufficient?
You are right. The exception shouldn't be so wide. I wonder if there was a reason for this exception in the past (old parser). Probably not. Thanks.
This PR is a partial refactoring of the gps driver. The driver is now publishing
nmea_data
stream in addition toposition
andrel_position
. The driver first gets data from nmea sentence and then calculate old position in ms. There is also corresponding modification of gps unit tests.The code is tested on two logs with different gps receivers for now. In this moment I would like to continue in testing because the reliability of this driver is very important.