Repository navigation
新增核心功能:关节角度实时可视化 - #4612
Merged
Merged
新增核心功能:关节角度实时可视化#4612
Conversation
仿真循环中新增关节控制代码
donghaiwang
approved these changes
Dec 24, 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.
修改概述:
修改的详细描述
线程安全数据收集:使用锁机制确保多线程数据访问安全
动态更新:图表自动刷新,显示最近 200 个数据点
美观的可视化:
使用专业的配色方案和线型
自动调整 x 轴范围,始终显示最近 10 秒的数据
网格和图例增强可读性
clear:清空绘图数据,重新开始绘制
性能优化:
限制最大数据点数量,避免内存泄漏
绘图更新间隔可配置,平衡性能和实时性
使用 blit 技术优化 matplotlib 动画性能
经过了什么样的测试?
运行效果
动图、视频、截图等
2025-12-24.162113.mp4