Model switcher
Added model selector to swap between several different models on the fly.
This commit is contained in:
@@ -199,6 +199,9 @@ def main() -> None:
|
||||
if os.path.exists("/data/openpilot/prebuilt"):
|
||||
os.remove("/data/openpilot/prebuilt")
|
||||
|
||||
# Set the desired model on boot
|
||||
subprocess.run(["python3", "/data/openpilot/selfdrive/frogpilot/functions/model_switcher.py"])
|
||||
|
||||
# Start UI early so prepare can happen in the background
|
||||
if not prepare_only:
|
||||
managed_processes['ui'].start()
|
||||
|
||||
Reference in New Issue
Block a user