mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-21 00:03:45 +08:00
ui: realtime scheduling (#36467)
* ui: realtime scheduling * try this * update cpu --------- Co-authored-by: Comma Device <device@comma.ai>
This commit is contained in:
@@ -42,7 +42,7 @@ PROCS = {
|
||||
"./encoderd": 13.0,
|
||||
"./camerad": 10.0,
|
||||
"selfdrive.controls.plannerd": 8.0,
|
||||
"selfdrive.ui.ui": 24.0,
|
||||
"selfdrive.ui.ui": 63.0,
|
||||
"system.sensord.sensord": 13.0,
|
||||
"selfdrive.controls.radard": 2.0,
|
||||
"selfdrive.modeld.modeld": 22.0,
|
||||
|
||||
+3
-2
@@ -1,13 +1,14 @@
|
||||
#!/usr/bin/env python3
|
||||
import pyray as rl
|
||||
|
||||
from openpilot.common.realtime import config_realtime_process
|
||||
from openpilot.system.ui.lib.application import gui_app
|
||||
from openpilot.selfdrive.ui.layouts.main import MainLayout
|
||||
from openpilot.selfdrive.ui.ui_state import ui_state
|
||||
|
||||
|
||||
def main():
|
||||
# TODO: https://github.com/commaai/agnos-builder/pull/490
|
||||
# os.nice(-20)
|
||||
config_realtime_process([1, 2], 1)
|
||||
|
||||
gui_app.init_window("UI")
|
||||
main_layout = MainLayout()
|
||||
|
||||
Reference in New Issue
Block a user