@@ -365,13 +365,13 @@ bool GNSS_LG290P::configureRover()
365
365
366
366
response &= setMinCnoRadio (settings.minCNO );
367
367
368
- // If we are on a platform that supports tilt
368
+ // If we are on a platform that supports tilt
369
369
if (present.tiltPossible == true )
370
370
{
371
- // And tilt is present and enabled
371
+ // And tilt is present and enabled
372
372
if (present.imu_im19 == true && settings.enableTiltCompensation == true )
373
373
{
374
- // Configure GNSS to support the tilt sensor
374
+ // Configure GNSS to support the tilt sensor
375
375
376
376
// Tilt sensor requires 5Hz at a minimum
377
377
if (settings.measurementRateMs > 200 )
@@ -1000,18 +1000,17 @@ bool GNSS_LG290P::enableRTCMRover()
1000
1000
}
1001
1001
1002
1002
// If any RTCM message is enabled, send CFGRTCM
1003
- // PQTMCFGRTCM only controls RTCM-1005 type messages, not RTCM-107x MSM messages (confusingly)
1004
1003
if (enableRTCM == true )
1005
1004
{
1006
1005
if (settings.debugCorrections )
1007
1006
systemPrintf (" Enabling Rover RTCM MSM output with rate of %d\r\n " , minimumRtcmRate);
1008
1007
1009
- // Enable MSM4 , output at a rate equal to the minimum RTCM rate (EPH Mode = 2)
1008
+ // Enable MSM7 (for faster PPP CSRS results) , output at a rate equal to the minimum RTCM rate (EPH Mode = 2)
1010
1009
// PQTMCFGRTCM, W, <MSM_Type>, <MSM_Mode>, <MSM_ElevThd>, <Reserved>, <Reserved>, <EPH_Mode>, <EPH_Interval>
1011
- // We could set the MSM_ElevThd to (settings.minElev * -1) but there may be unintended consequences
1010
+ // Set MSM_ElevThd to 15 degrees from rftop suggestion
1012
1011
1013
1012
char msmCommand[40 ] = {0 };
1014
- snprintf (msmCommand, sizeof (msmCommand), " PQTMCFGRTCM,W,4 ,0,-90 ,07,06,2,%d" , minimumRtcmRate);
1013
+ snprintf (msmCommand, sizeof (msmCommand), " PQTMCFGRTCM,W,7 ,0,15 ,07,06,2,%d" , minimumRtcmRate);
1015
1014
1016
1015
// PQTMCFGRTCM fails to respond with OK over UART2 of LG290P, so don't look for it
1017
1016
_lg290p->sendOkCommand (msmCommand);
@@ -1930,8 +1929,7 @@ void GNSS_LG290P::menuMessages()
1930
1929
setRtcmRoverMessageRateByName (" RTCM3-109X" , rtcmReportRate);
1931
1930
// setRtcmRoverMessageRateByName("RTCM3-112X", rtcmReportRate); //BeiDou not used by CSRS-PPP
1932
1931
1933
- // Default is MSM4. Change to MSM7 to aid in faster PPP CSRS results.
1934
- _lg290p->sendOkCommand (" $PQTMCFGRTCM" ," W,7,0,15,07,06,1,0" ); // Enable MSM7, 15 degree requirement on satellites
1932
+ // MSM7 is set during enableRTCMRover()
1935
1933
1936
1934
// Override settings for PPP logging
1937
1935
setElevation (15 );
0 commit comments