uiview: show model (#24210)

* assume not car when using uiview

* write carparams
pull/24219/head
Shane Smiskol 3 years ago committed by GitHub
parent df6c2b6af9
commit 52e5aa8409
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      selfdrive/debug/uiview.py

@ -1,11 +1,15 @@
#!/usr/bin/env python3
import time
from cereal import messaging, log
from cereal import car, log, messaging
from common.params import Params
from selfdrive.manager.process_config import managed_processes
if __name__ == "__main__":
procs = ['camerad', 'ui', 'modeld', 'calibrationd']
CP = car.CarParams(notCar=True)
Params().put("CarParams", CP.to_bytes())
procs = ['camerad', 'ui', 'modeld', 'calibrationd']
for p in procs:
managed_processes[p].start()

Loading…
Cancel
Save