Skip to content

fix(examples): EL05 电机固件 OTA,刷后核对记录版本并修正运动包络 - #27

Merged
Vertax42 merged 4 commits into
mainfrom
fix/motor-ota-el05
Oct 18, 2026
Merged

Vertax42 merged 4 commits into
mainfrom
fix/motor-ota-el05

Conversation

@Vertax42

Copy link
Copy Markdown
Collaborator

内容

  • motor_ota_update.py 支持 EL05 五段版本号(1.0.5.0.x),按厂家写法比对
  • 同一条命令两遍:第一遍切私有协议;24V 断电后第二遍刷写、核对、记录版本(0x5C)、切回 MIT;--to-mit 只切回
  • 版本只在电机读回一致后记录;RS00 刷后自动回 MIT 时按镜像版本记录
  • 包络与电机额定不一致时默认修正(--keep-envelope 跳过),标定与开合方向不动
  • 客户文档 docs/MOTOR_OTA.md / MOTOR_OTA-zh.md;中文文档统一命名为 <NAME>-zh.md
  • 不升版本:合并后 v0.4.3 tag 移到合并提交

验证

  • 离线:pytest python/tests 146 passed / 2 skipped(新增 12 条)
  • 实机 0017s(EL05):1.0.5.0.2 → 1.0.5.0.4 全流程;包络修正为 1.1/1.8 ENFORCE,flags/max_open 保留,MIT 下读到记录版本;纹波 8–15%、逆向帧 0(1.0.5.0.2 下最高 281% / 76)

🤖 Generated with Claude Code

Vertax42 and others added 4 commits October 18, 2026 14:11
README_CN.md -> README-zh.md,docs/USAGE_CN.md -> docs/USAGE-zh.md,仓库内链接
同步更新(README.md、docs/USAGE.md、两份中文文档互链、wrist_camera.py 的提示)。
CHANGELOG 历史条目保留当时的文件名。外部仓库(文档站、lerobot、三个工具)未引用旧名。

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
- 识别 EL05 五段版本号(1.0.5.0.x),按厂家写法 vendor_str 比对
- 两遍流程:第一遍切私有协议,断电后第二遍刷写、核对、写入版本记录、切回 MIT
- 包络与电机额定不一致时默认改为额定值(--keep-envelope 可跳过)
- 新增 --to-mit;离线测试覆盖文件名/版本解析与各分支
- 新增客户文档 docs/MOTOR_OTA.md 与中文版 MOTOR_OTA-zh.md

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
- EL05 刷后先读回核对,一致才写 0x5C 记录;失败不留错误记录
- RS00 刷后回到 MIT 无法读回,仍按镜像版本记录(新增离线测试)
- MOTOR_OTA 文档 SDK 要求改为 0.4.4,README 加入口链接
- CLAUDE.md:0017s 回刷复现记录;英文注释与 -zh.md 命名规则

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@Vertax42
Vertax42 merged commit fd0d3a5 into main Oct 18, 2026
3 checks passed
@Vertax42
Vertax42 deleted the fix/motor-ota-el05 branch October 18, 2026 06:32
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.

1 participant