SubMaster: support for polling in C++ (#24602)

* poll when sm.update isn't 0

* bump cereal

* poll modelV2 in UI

* fix driverview

* need to update here

* empty list means poll all

revert

* Revert "poll modelV2 in UI"

This reverts commit 82aac96a1f.

* Revert "fix driverview"

This reverts commit 074ee10f17.

* poll all
old-commit-hash: e6da217813
taco
Shane Smiskol 3 years ago committed by GitHub
parent 51165e5df5
commit cb11e4b43b
  1. 2
      cereal
  2. 2
      selfdrive/locationd/locationd.cc

@ -1 +1 @@
Subproject commit b43ac3de527ad4f885af544cd0e9e9d4a9b1a6c2
Subproject commit 9c0c517bc8b136991b21a759fee743228eb680ba

@ -494,7 +494,7 @@ int Localizer::locationd_thread() {
PubMaster pm({"liveLocationKalman"});
// TODO: remove carParams once we're always sending at 100Hz
SubMaster sm(service_list, nullptr, {"gpsLocationExternal", "carParams"});
SubMaster sm(service_list, {}, nullptr, {"gpsLocationExternal", "carParams"});
uint64_t cnt = 0;
bool filterInitialized = false;

Loading…
Cancel
Save