mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-01 11:32:21 +08:00
don't block on reading ublox param (#28859)
old-commit-hash: e63e2dde18b9ae2925d1a38c527dccfd0c99d4c5
This commit is contained in:
@@ -448,7 +448,7 @@ def clear_tmp_cache():
|
||||
def main(sm=None, pm=None):
|
||||
#clear_tmp_cache()
|
||||
|
||||
use_qcom = not Params().get_bool("UbloxAvailable", block=True)
|
||||
use_qcom = not Params().get_bool("UbloxAvailable")
|
||||
if use_qcom:
|
||||
raw_name = "qcomGnss"
|
||||
else:
|
||||
|
||||
@@ -673,7 +673,7 @@ void Localizer::configure_gnss_source(LocalizerGnssSource source) {
|
||||
int Localizer::locationd_thread() {
|
||||
LocalizerGnssSource source;
|
||||
const char* gps_location_socket;
|
||||
if (Params().getBool("UbloxAvailable", true)) {
|
||||
if (Params().getBool("UbloxAvailable")) {
|
||||
source = LocalizerGnssSource::UBLOX;
|
||||
gps_location_socket = "gpsLocationExternal";
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user