sparkfun / SparkFun_Ublox_Arduino_Library

Library to control UBX binary protocol and NMEA over I2C on Ublox GPS modules
Other
144 stars 84 forks source link

Add support for TMOD3 fixed position. #135

Closed nseidle closed 4 years ago

nseidle commented 4 years ago

There are times when I need to set the static position of the receiver CFG-TMODE3 so I added setStaticPosition.

This PR:

I think this is a good example of a function that should be converted to set/getVals. The ZED is pretty much the first receiver to support TMODE3 so we don't have to worry about <v27 protocol issues. The function would go from 50 lines to perhaps 8 and remove the need for read/modify/write steps (faster!).

nseidle commented 4 years ago

I think all changes are committed. Please have a look at your convenience.

PaulZC commented 4 years ago

Nice one - thank you! Please merge and delete branch at your convenience...