locationd: Replace allAliveAndValid with allValid (#30064)

* replace allaliveandvalid check with allvalid, all necessary time checks are already used

* update refs
old-commit-hash: 6d5f4f149d819eed6a56112e9fba277b62613ff1
This commit is contained in:
Vivek Aithal
2023-09-26 15:31:40 -07:00
committed by GitHub
parent ef75f0ab12
commit 9d4767bd87
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -720,7 +720,7 @@ int Localizer::locationd_thread() {
// 100Hz publish for notcars, 20Hz for cars
const char* trigger_msg = sm["carParams"].getCarParams().getNotCar() ? "accelerometer" : "cameraOdometry";
if (sm.updated(trigger_msg)) {
bool inputsOK = sm.allAliveAndValid() && this->are_inputs_ok();
bool inputsOK = sm.allValid() && this->are_inputs_ok();
bool gpsOK = this->is_gps_ok();
bool sensorsOK = sm.allAliveAndValid({"accelerometer", "gyroscope"});
+1 -1
View File
@@ -1 +1 @@
b421ff389ce720b70a36dd2b3510af54eb484b5f
7553d9123f418fd81ef811df4e130ab153ac489a