Repository navigation
新增键盘交互可视化模式切换,支持4种布局+融合透明度动态调节 - #4294
Merged
Merged
Conversation
donghaiwang
approved these changes
Dec 21, 2025
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.
修改概述:
新增键盘交互可视化模式切换功能,支持4种自定义布局模式+融合透明度动态调节,全兼容原有语义计数/高亮/融合/热力图等功能
修改的详细描述
generate_mode_hint:封装可视化模式名称、键盘控制说明、融合透明度信息,统一生成提示文字,避免重复代码,提升可维护性。CARLA Multi-Mode Visualization (Keyboard Interactive),贴合功能定位;经过了什么样的测试?
4.测试结果:
✅ 4种模式切换流畅,布局/标题/计数面板适配正常;
✅ 透明度调节精准,融合图视觉效果随参数实时变化;
✅ 键盘交互无卡顿,终端提示信息准确;
✅ 原有语义计数/高亮/融合/热力图功能无异常;
✅ 资源清理完整,无报错/崩溃/内存泄漏现象。
运行效果
动图、视频、截图等
bf7967a178770d561c443567ebdfecec.mp4