From a47aec9eb3f2ab1939782ec7aa263c0d5baa5d23 Mon Sep 17 00:00:00 2001 From: Vertax42 <1007644658@qq.com> Date: Fri, 20 Nov 2026 12:17:46 +0800 Subject: [PATCH] release: 0.4.7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 鱼眼标定分辨率(协议 V2.10,固件 1.3.0-rc1 起 / 正式 1.3.1)、旧固件 NACK 走 cmd=0 导致 resolve_fisheye() 静默回退参考内参的修复(#34)、力位夹持意图与刹车(#33/#35/#36)、 高频 IMU(固件 1.3.0-rc2)、交换模式电机状态按 motor_hz 投递(#38)。打包固件不变 (1.2.7 / 1.2.17),rc 固件不打包;能力按命令探测,1.2.17 上照常运行。 实机:0016s(RS00)在 1.2.17、1.3.0-rc1、1.3.0-rc2 上验收鱼眼、力位与交换。 Co-Authored-By: Claude Opus 5.5 --- CHANGELOG.md | 23 ++++++++++++++++++++++- pyproject.toml | 2 +- 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 10a2887..47fa536 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.4.7] - 2026-11-20 + +Bundled firmware is unchanged (leader 1.2.7 / follower 1.2.17). The fisheye +calibration resolution needs firmware 1.3.0-rc1 or later (release 1.3.1) and +high-rate IMU needs 1.3.0-rc2; those candidates are not bundled. Capabilities +are probed, so this SDK runs on 1.2.17 unchanged. + ### Fisheye calibration resolution (protocol V2.10) The wrist fisheye default moved from 640x480 to 1920x1080. Those are different @@ -66,6 +73,20 @@ calibration resolution next to the 8 params, via two new ops on `FisheyeUndistorter(cal, size, balance)` still treats the params as a 640x480 calibration. +#### Fixed + +- **Calibration reads on real firmware no longer throw where they should + branch.** Firmware sends every handler error on the cmd=0 pure-ACK path, + which `send_cmd` raises as `NackError`, so the `CalNotSet` and + `InvalidParam` branches never ran on hardware. On a 1.2.17 follower + `supports_fisheye_size()` threw `NACK: InvalidParam`, and + `resolve_fisheye()` silently fell back to the reference intrinsics, + discarding the unit's own calibration. `read_fisheye()` and + `read_fisheye_record()` on a never-calibrated unit now return `None`, as + documented, instead of raising `ProtocolError('NACK: CalNotSet')`; other + NACKs read `Calibration:: NACK: `. Both test fakes used to + answer errors with the command echoed and now use the firmware's path. + ### ForcePositionController grip intent (2026-11-19) #### Added @@ -89,7 +110,7 @@ calibration resolution next to the 8 params, via two new ops on arrival_eps_rad` (static, read-only): the arrival band, so callers do not copy the private constant. -### High-rate IMU (candidate, not yet versioned; on top of 0.4.6) +### High-rate IMU (needs firmware 1.3.0-rc2) Requires firmware 1.3.0-rc2 (both roles, reports 1.3.0.2; tc-gu-01 #30, on top of 1.3.0-rc1, so it also carries the fisheye calibration resolution) for diff --git a/pyproject.toml b/pyproject.toml index 4850d74..614b670 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "scikit_build_core.build" [project] name = "taccap-gripper" -version = "0.4.6" +version = "0.4.7" description = "TacCap-Gripper multimodal tactile gripper SDK" readme = "README.md" requires-python = ">=3.10"