mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-23 17:23:44 +08:00
Rename RGB vision streams to match YUV streams (#23961)
* Renaming VISION_STREAM_RGB_.. to match yuv names like VISION_STREAM_ROAD VISION_STREAM_RGB_BACK -> VISION_STREAM_RGB_ROAD VISION_STREAM_RGB_FRONT -> VISION_STREAM_RGB_DRIVER * little more Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> old-commit-hash: 57b6fdc17a1f84ec922647c044da5df3cafc0ddc
This commit is contained in:
@@ -159,7 +159,7 @@ def replay_cameras(lr, frs):
|
||||
args=(s, stream, dt, vs, frames, size)))
|
||||
|
||||
# hack to make UI work
|
||||
vs.create_buffers(VisionStreamType.VISION_STREAM_RGB_BACK, 4, True, eon_f_frame_size[0], eon_f_frame_size[1])
|
||||
vs.create_buffers(VisionStreamType.VISION_STREAM_RGB_ROAD, 4, True, eon_f_frame_size[0], eon_f_frame_size[1])
|
||||
vs.start_listener()
|
||||
return vs, p
|
||||
|
||||
|
||||
Reference in New Issue
Block a user