locationd: adjust GPS alive check for QCOM GPS (#27339)

* locationd: adjust GPS alive check for QCOM GPS

* update refs

* update refs
pull/27354/head
Adeeb Shihadeh 2 years ago committed by GitHub
parent e4d0ee8716
commit 00513f1001
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      selfdrive/locationd/locationd.cc
  2. 2
      selfdrive/test/process_replay/ref_commit

@ -619,7 +619,7 @@ kj::ArrayPtr<capnp::byte> Localizer::get_message_bytes(MessageBuilder& msg_build
}
bool Localizer::is_gps_ok() {
return (this->kf->get_filter_time() - this->last_gps_msg) < 1.0;
return (this->kf->get_filter_time() - this->last_gps_msg) < 2.0;
}
bool Localizer::critical_services_valid(std::map<std::string, double> critical_services) {

@ -1 +1 @@
3e53ce81f1ce26409fdc4479e650ef5626130876
c7bb411b37ab7ff573402b6e4fa24f796cbb2ee8
Loading…
Cancel
Save