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
+5
View File
@@ -248,6 +248,9 @@ def main(exit_event: threading.Event = None) -> None:
uploader = Uploader(dongle_id, Paths.log_root())
backoff = 0.1
# FrogPilot variables
while not exit_event.is_set():
sm.update(0)
offroad = params.get_bool("IsOffroad")
@@ -268,6 +271,8 @@ def main(exit_event: threading.Event = None) -> None:
if allow_sleep:
time.sleep(backoff + random.uniform(0, backoff))
# FrogPilot variables
if __name__ == "__main__":
main()