mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-09-15 03:54:03 +08:00
laikad: use new cache param (#27404)
* add backward compatibility
* rename laikad cache file
* rm and update
---------
Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 6b4ac801e7
This commit is contained in:
committed by
GitHub
parent
59ff270456
commit
1a97edf8d2
@@ -17,7 +17,7 @@ ALT_DELTA = 30
|
||||
MATCH_NUM = 10
|
||||
REPORT_STATS = 10
|
||||
|
||||
EPHEM_CACHE = "/data/params/d/LaikadEphemeris"
|
||||
EPHEM_CACHE = "/data/params/d/LaikadEphemerisV2"
|
||||
DOWNLOAD_CACHE = "/tmp/comma_download_cache"
|
||||
|
||||
SERVER_LOG_FILE = "/tmp/fuzzy_server.log"
|
||||
|
||||
@@ -39,7 +39,7 @@ class TestLaikad(unittest.TestCase):
|
||||
|
||||
def setUp(self):
|
||||
# ensure laikad cold start
|
||||
Params().remove("LaikadEphemeris")
|
||||
Params().remove("LaikadEphemerisV2")
|
||||
os.environ["LAIKAD_NO_INTERNET"] = "1"
|
||||
managed_processes['laikad'].start()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user