Skip to content

Fix head joint pitch input clipping logic in JointControlPanel - #128

Merged
legubiao merged 1 commit into
mainfrom
fix/head-joint-decimal-input
Nov 5, 2026
Merged

legubiao merged 1 commit into
mainfrom
fix/head-joint-decimal-input

Conversation

@Zachary359

Copy link
Copy Markdown
Contributor

修复 RViz 头部关节输入框无法连续输入多位小数的问题。例如,尝试输入 0.1234 时,输入到 0.1 后,输入框会立即将其格式化为 0.1000,导致后续小数位无法继续键入。
原因是头部耦合限位更新时,即使俯仰角未越界,也会重新写回输入值。本次改为仅在越界时写回裁剪结果,保留动态限位功能,同时避免打断正常输入。

@Zachary359
Zachary359 requested a review from legubiao November 5, 2026 02:15
@legubiao
legubiao merged commit 0a51d3a into main Nov 5, 2026
@legubiao
legubiao deleted the fix/head-joint-decimal-input branch November 5, 2026 02:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants