From 2bd37acef37f2526c562865eddeaf0b5cd856a05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20R=C4=85czy?= Date: Thu, 25 May 2023 07:41:45 +0200 Subject: [PATCH] ubloxd: enable satReport parsing (#28037) * Uncomment satReport parsing. New ublox recv callback logic in process_replay * Typo * Update replay ref commit * Update ref commit again --- selfdrive/test/process_replay/ref_commit | 2 +- system/ubloxd/ublox_msg.cc | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/selfdrive/test/process_replay/ref_commit b/selfdrive/test/process_replay/ref_commit index 802d936bc9..dfb9106b8b 100644 --- a/selfdrive/test/process_replay/ref_commit +++ b/selfdrive/test/process_replay/ref_commit @@ -1 +1 @@ -5c68f066452f7fcfb315abc5cb9b7a50794fbd3f +02b8c1e21f2bd3551aa4a2b94c73dcac762d3148 diff --git a/system/ubloxd/ublox_msg.cc b/system/ubloxd/ublox_msg.cc index a01187d560..92a2ba678c 100644 --- a/system/ubloxd/ublox_msg.cc +++ b/system/ubloxd/ublox_msg.cc @@ -112,8 +112,7 @@ std::pair> UbloxMsgParser::gen_msg() { case 0x0a0b: return {"ubloxGnss", gen_mon_hw2(static_cast(body))}; case 0x0135: - // TODO return {"ubloxGnss", gen_nav_sat(static_cast(body))}; - return {"ubloxGnss", kj::Array()}; + return {"ubloxGnss", gen_nav_sat(static_cast(body))}; default: LOGE("Unknown message type %x", ubx_message.msg_type()); return {"ubloxGnss", kj::Array()};