FrogPilot setup

This commit is contained in:
FrogAi
2024-01-12 22:39:30 -07:00
parent 9d97e0ecc1
commit 7308c1b35c
60 changed files with 1660 additions and 49 deletions

View File

@@ -190,6 +190,8 @@ def finalize_update() -> None:
set_consistent_flag(True)
cloudlog.info("done finalizing overlay")
# FrogPilot update functions
params = Params()
def handle_agnos_update() -> None:
from openpilot.system.hardware.tici.agnos import flash_agnos_update, get_target_slot_number
@@ -221,6 +223,8 @@ class Updater:
self.branches = defaultdict(lambda: '')
self._has_internet: bool = False
# FrogPilot variables
@property
def has_internet(self) -> bool:
return self._has_internet