Browse Source

GPS: change back to 4Hz for MTK GPS

this will hopefully fix the NO_GPS problems that have been regularly
happening in recent months. I will watch the logs carefully to see if
the problem recurs
master
Andrew Tridgell 13 years ago
parent
commit
d90dc4d893
  1. 4
      libraries/AP_GPS/AP_GPS_MTK.cpp
  2. 4
      libraries/AP_GPS/AP_GPS_MTK16.cpp

4
libraries/AP_GPS/AP_GPS_MTK.cpp

@ -28,8 +28,8 @@ AP_GPS_MTK::init(void) @@ -28,8 +28,8 @@ AP_GPS_MTK::init(void)
// XXX should assume binary, let GPS_AUTO handle dynamic config?
_port->print(MTK_SET_BINARY);
// set 10Hz update rate
_port->print(MTK_OUTPUT_10HZ);
// set 4Hz update rate
_port->print(MTK_OUTPUT_4HZ);
// set initial epoch code
_epoch = TIME_OF_DAY;

4
libraries/AP_GPS/AP_GPS_MTK16.cpp

@ -34,8 +34,8 @@ AP_GPS_MTK16::init(void) @@ -34,8 +34,8 @@ AP_GPS_MTK16::init(void)
// XXX should assume binary, let GPS_AUTO handle dynamic config?
_port->print(MTK_SET_BINARY);
// set 10Hz update rate
_port->print(MTK_OUTPUT_10HZ);
// set 4Hz update rate
_port->print(MTK_OUTPUT_4HZ);
// set initial epoch code
_epoch = TIME_OF_DAY;

Loading…
Cancel
Save