FrogPilot base

This commit is contained in:
James
2025-12-01 12:00:00 -07:00
parent 4726bdce29
commit 41bf1bd2cb
144 changed files with 1254 additions and 39 deletions
+26
View File
@@ -0,0 +1,26 @@
#!/usr/bin/env python3
import threading
import time
from openpilot.common.time_helpers import system_time_valid
from openpilot.system.hardware import HARDWARE
def frogpilot_boot_functions():
def boot_thread():
while not system_time_valid():
print("Waiting for system time to become valid...")
time.sleep(1)
threading.Thread(target=boot_thread, daemon=True).start()
def install_frogpilot():
paths = [
]
for path in paths:
path.mkdir(parents=True, exist_ok=True)
def uninstall_frogpilot():
HARDWARE.uninstall()