mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-11-04 19:43:49 +08:00
StarPort: Load fonts in the car screen and log full process commands
This commit is contained in:
@@ -188,6 +188,7 @@ def run(frames_path: str, touch_path: str | None = None, control_path: str | Non
|
||||
gui_app._width, gui_app._height = geometry.logical_width, geometry.logical_height
|
||||
gui_app._scale = 1.0
|
||||
gui_app._render_texture = None
|
||||
gui_app._load_fonts()
|
||||
from openpilot.starpilot.system.starport import reconnect_notice
|
||||
from openpilot.starpilot.system.starport.identity import certificate_days_left
|
||||
from openpilot.starpilot.system.starport.projection_layout_runtime import ProjectionLayoutWatcher, comma_display_seed
|
||||
|
||||
@@ -68,7 +68,7 @@ def commands(since: float) -> dict[str, list[str]]:
|
||||
"journal_bluetooth.log": [*journal, "-u", "bluetooth"],
|
||||
"journal_kernel.log": [*journal, "-k"],
|
||||
"dmesg.log": ["dmesg", "-T"],
|
||||
"processes.txt": ["ps", "-eo", "pid,psr,ni,pcpu,pmem,rss,etime,stat,comm", "--sort=-pcpu"],
|
||||
"processes.txt": ["ps", "-eo", "pid,psr,ni,pcpu,pmem,rss,etime,stat,args", "--sort=-pcpu"],
|
||||
"wifi_link.txt": ["nmcli", "-t", "-f", "DEVICE,ACTIVE,CHAN,FREQ,SIGNAL", "device", "wifi", "list", "--rescan", "no"],
|
||||
"network_devices.txt": ["nmcli", "-t", "-f", "DEVICE,TYPE,STATE,CONNECTION", "device"],
|
||||
"disk.txt": ["df", "-h", "/data"],
|
||||
|
||||
Reference in New Issue
Block a user