Adde PMTK updates for 5 times/seconds
For average projects, I think it's a good idea to include 200 millihertz updates in the source code. By default, debs can choose 5 Hz, 1Hz and 100 mHz. I think average amateur tracing projects would fit best at 200 mHz than at 1Hz or 100mHz.
This commit is contained in:
parent
419bc437be
commit
0465ef1c52
|
|
@ -33,11 +33,13 @@ All text above must be included in any redistribution
|
|||
// Note that these only control the rate at which the position is echoed, to actually speed up the
|
||||
// position fix you must also send one of the position fix rate commands below too.
|
||||
#define PMTK_SET_NMEA_UPDATE_100_MILLIHERTZ "$PMTK220,10000*2F" // Once every 10 seconds, 100 millihertz.
|
||||
#define PMTK_SET_NMEA_UPDATE_200_MILLIHERTZ "$PMTK220,5000*1B" // Once every 5 seconds, 200 millihertz.
|
||||
#define PMTK_SET_NMEA_UPDATE_1HZ "$PMTK220,1000*1F"
|
||||
#define PMTK_SET_NMEA_UPDATE_5HZ "$PMTK220,200*2C"
|
||||
#define PMTK_SET_NMEA_UPDATE_10HZ "$PMTK220,100*2F"
|
||||
// Position fix update rate commands.
|
||||
#define PMTK_API_SET_FIX_CTL_100_MILLIHERTZ "$PMTK300,10000,0,0,0,0*2C" // Once every 10 seconds, 100 millihertz.
|
||||
#define PMTK_API_SET_FIX_CTL_200_MILLIHERTZ "$PMTK300,5000,0,0,0,0*18" // Once every 5 seconds, 200 millihertz.
|
||||
#define PMTK_API_SET_FIX_CTL_1HZ "$PMTK300,1000,0,0,0,0*1C"
|
||||
#define PMTK_API_SET_FIX_CTL_5HZ "$PMTK300,200,0,0,0,0*2F"
|
||||
// Can't fix position faster than 5 times a second!
|
||||
|
|
|
|||
Loading…
Reference in New Issue