File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed
Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -2433,6 +2433,8 @@ bool GNSS_MOSAIC::setDataBaudRate(uint32_t baud)
24332433// Set the elevation in degrees
24342434// Inputs:
24352435// elevationDegrees: The elevation value in degrees
2436+ // Notes:
2437+ // mosaic supports negative elevations, but our firmware only support 0-90
24362438// ----------------------------------------
24372439bool GNSS_MOSAIC::setElevation (uint8_t elevationDegrees)
24382440{
Original file line number Diff line number Diff line change @@ -406,7 +406,9 @@ bool GNSS_ZED::configureBase()
406406 settings.ubxMessageRatesBase [x]); // UBLOX_CFG UART1 + 2 = USB
407407 }
408408
409- response &= _zed->addCfgValset (UBLOX_CFG_NAVSPG_INFIL_MINELEV, settings.minElev ); // Set minimum elevation
409+ // Set minimum elevation
410+ // Note: ZED supports negative elevations, but our firmware only allows 0-90
411+ response &= _zed->addCfgValset (UBLOX_CFG_NAVSPG_INFIL_MINELEV, settings.minElev );
410412
411413 response &= _zed->sendCfgValset (); // Closing value
412414
Original file line number Diff line number Diff line change @@ -937,7 +937,9 @@ struct Settings
937937 uint8_t dynamicModel = 254 ; // Default will be applied by checkGNSSArrayDefaults
938938 bool enablePrintRoverAccuracy = true ;
939939 int16_t minCNO = 6 ; // Minimum satellite signal level for navigation. ZED-F9P default is 6 dBHz
940- uint8_t minElev = 10 ; // Minimum elevation (in deg) for a GNSS satellite to be used in NAV
940+ // Minimum elevation (in deg) for a GNSS satellite to be used in NAV
941+ // Note: we use 8-bit unsigned here, but some platforms (ZED, mosaic-X5) support negative elevation limits
942+ uint8_t minElev = 10 ;
941943
942944 // RTC (Real Time Clock)
943945 bool enablePrintRtcSync = false ;
You can’t perform that action at this time.
0 commit comments