mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-02 03:52:11 +08:00
ui.py fix typo (#31870)
old-commit-hash: 4dd5fd4619cb73df9b396aacda94c6afc553a9f1
This commit is contained in:
+1
-1
@@ -118,7 +118,7 @@ def ui_thread(addr):
|
||||
|
||||
sm.update(0)
|
||||
|
||||
camera = DEVICE_CAMERAS[("three", str(sm['roadCameraState'].sensor))]
|
||||
camera = DEVICE_CAMERAS[("tici", str(sm['roadCameraState'].sensor))]
|
||||
|
||||
imgff = np.frombuffer(yuv_img_raw.data, dtype=np.uint8).reshape((len(yuv_img_raw.data) // vipc_client.stride, vipc_client.stride))
|
||||
num_px = vipc_client.width * vipc_client.height
|
||||
|
||||
Reference in New Issue
Block a user