Conversation
使用 ForcePositionController 替代无界位置误差产生的直接阻抗推压,接触后切换为可配置的定力矩保持。 加入固件安全包络校验、标定行程限制、连续超力矩确认、电机故障处理以及退出时零力矩失能。
每次 j/k 从最新实际位置生成单步目标,避免快速按键累积旧目标后导致电机突然加速。
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.
变更说明
背景
旧客户脚本直接循环发送位置阻抗目标。硬物阻挡后,目标位置与实际位置之间形成永久误差,kp 乘位置误差会继续提高请求力矩,可能造成 2 到 3 Nm 以上力矩、电源欠压和突然失能。本示例改用现有力位混合控制器,在检测到接触后以明确的 grasp torque 保持。
验证
范围
本 PR 仅新增 python/examples/gripper_console.py,不包含本地日志或其他未跟踪文件。