render optimize - #494
Merged
Merged
Conversation
Revamped road-camera overlay rendering to batch contiguous visible segments and reuse projection buffers, reducing redundant computations. Achieved a notable FPS and CPU performance improvement while preserving UI fidelity and maintaining exact legacy fallback functionality. Extensive profiling, regression tests, and visual validation were conducted to ensure correctness and stability.
Eliminates the creation of fixed-position rear virtual vehicles based solely on BSD signals without valid distance fields. Preserves behavior for measured corner vehicles and ensures BSD lane highlights remain functional. Updated tests verify compliance with the new logic.
happymaj11r
pushed a commit
to happymaj11r/openpilot
that referenced
this pull request
Jul 31, 2026
* Optimize road-camera CPU usage by implementing batching. Revamped road-camera overlay rendering to batch contiguous visible segments and reuse projection buffers, reducing redundant computations. Achieved a notable FPS and CPU performance improvement while preserving UI fidelity and maintaining exact legacy fallback functionality. Extensive profiling, regression tests, and visual validation were conducted to ensure correctness and stability. * Remove synthetic BSD-based virtual vehicles in cluster logic Eliminates the creation of fixed-position rear virtual vehicles based solely on BSD signals without valid distance fields. Preserves behavior for measured corner vehicles and ensures BSD lane highlights remain functional. Updated tests verify compliance with the new logic. (cherry picked from commit 0f02e3c)
happymaj11r
pushed a commit
that referenced
this pull request
Jul 31, 2026
* Optimize road-camera CPU usage by implementing batching. Revamped road-camera overlay rendering to batch contiguous visible segments and reuse projection buffers, reducing redundant computations. Achieved a notable FPS and CPU performance improvement while preserving UI fidelity and maintaining exact legacy fallback functionality. Extensive profiling, regression tests, and visual validation were conducted to ensure correctness and stability. * Remove synthetic BSD-based virtual vehicles in cluster logic Eliminates the creation of fixed-position rear virtual vehicles based solely on BSD signals without valid distance fields. Preserves behavior for measured corner vehicles and ensures BSD lane highlights remain functional. Updated tests verify compliance with the new logic. (cherry picked from commit 0f02e3c)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
변경 내용
LR/RR가상 차량을 생성하던 fallback 로직을 제거했습니다.검증
test_cluster_route_replay.py,test_cluster_live.py,test_cluster_scene.pydocs/user/ko와docs/user/en의 연결된 문서 쌍을 함께 수정했습니다.Docs-Not-Needed: 제거된 표시는 유효한 거리 측정값 없이 BSD 불리언만으로 생성되던 내부 합성 fallback이며, 사용자 설정이나 보장된 공개 기능으로 문서화되어 있지 않습니다. 사용자 문서의
LaneChangeBsd항목은 차로 변경 제어 설정으로 이번 클러스터 렌더링 변경과 무관합니다. 실제 코너 레이더 차량 표시와 BSD 차선 강조 기능 및 설정은 그대로 유지되므로 연결된 사용자 문서 쌍은 수정하지 않았습니다.