SITL: revert SITL UBLOX sim bug fix

This commit is contained in:
rishabsingh3003
2026-01-26 18:42:46 -05:00
committed by Peter Barker
parent 495cbfde7e
commit 11d1b43d7a
2 changed files with 4 additions and 2 deletions

View File

@@ -199,6 +199,10 @@ void GPS_UBlox::publish(const GPS_Data *d)
const uint8_t MSG_SVINFO = 0x30;
const uint8_t MSG_RELPOSNED = 0x3c;
// Note: This variable is actually a bug but removing it causes some CI failures.
// Keep this here for now pending further investigation.
uint32_t _next_nav_sv_info_time = 0;
const auto gps_tow = gps_time();
pos.time = gps_tow.ms;

View File

@@ -54,8 +54,6 @@ private:
};
uint32_t _next_timegps_send_ms;
uint32_t _next_nav_sv_info_time;
void update_relposned(ubx_nav_relposned &relposned, uint32_t tow_ms, float yaw_deg);
void send_ubx(uint8_t msgid, uint8_t *buf, uint16_t size);