Log satellite count in GpsLocationData (#34395)

* Log satellite count in GpsLocationData

* update refs

* forgot to build
pull/34396/head
Adeeb Shihadeh 3 months ago committed by GitHub
parent 69d33ac11d
commit a2ced8c8eb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      cereal/log.capnp
  2. 2
      selfdrive/test/process_replay/ref_commit
  3. 1
      system/ubloxd/ublox_msg.cc

@ -409,6 +409,7 @@ struct GpsLocationData {
speedAccuracy @12 :Float32;
hasFix @13 :Bool;
satelliteCount @14 :Int8;
enum SensorSource {
android @0;

@ -1 +1 @@
9758f1868c1c07d5a8d294f19bf6bf7b8b1beeda
87f79658023435884cee78abd9c00f61e9ad5cd9

@ -134,6 +134,7 @@ kj::Array<capnp::word> UbloxMsgParser::gen_nav_pvt(ubx_t::nav_pvt_t *msg) {
gpsLoc.setSpeed(msg->g_speed() * 1e-03);
gpsLoc.setBearingDeg(msg->head_mot() * 1e-5);
gpsLoc.setHorizontalAccuracy(msg->h_acc() * 1e-03);
gpsLoc.setSatelliteCount(msg->num_sv());
std::tm timeinfo = std::tm();
timeinfo.tm_year = msg->year() - 1900;
timeinfo.tm_mon = msg->month() - 1;

Loading…
Cancel
Save