mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-18 18:53:55 +08:00
uiview: show model (#24210)
* assume not car when using uiview
* write carparams
old-commit-hash: 52e5aa8409
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user