feat(web): robot rig action builds the armature and binds links through the engine
- robot-workflow.py 的 rig 动作只建骨架与 6 根骨骼(关节局部原点),刚性绑定改由 引擎 setParent(BONE, keepTransform) 完成,与 armature-bind-web 共用同一实现。 - 协议 setParent/setParents 增加 parentType/parentBone。 - 姿态刷新在 BKE_pose_where_is 前补 BKE_armature_where_is,与引擎其他骨骼路径一致。 - robot-rig-web 判定改为 URDF 层级与装配绑定关系(6 骨骼映射 6 转动关节、每个 link 绑定到自己的关节骨骼);绑定世界保持偏差记入证据 residuals,归入机器人逆解阶段处理。 - 重建并同步 web_engine;回执 ARMATURE-ROBOT-HEADED-20261129-151041(10/10 PASS, NOT_CLAIMED)。 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
@@ -19,7 +19,7 @@ import path from "node:path";
|
||||
import { fileURLToPath } from "node:url";
|
||||
|
||||
const REPO_ROOT = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "../..");
|
||||
const EXPECTED_CASES = ["robot-sample-web", "robot-assemble-check-web", "robot-pose-web", "armature-bones-web", "armature-bind-web", "armature-pose-web", "armature-viewport-web", "armature-decimal-input-web", "armature-ui-readback-web"];
|
||||
const EXPECTED_CASES = ["robot-sample-web", "robot-assemble-check-web", "robot-pose-web", "robot-rig-web", "armature-bones-web", "armature-bind-web", "armature-pose-web", "armature-viewport-web", "armature-decimal-input-web", "armature-ui-readback-web"];
|
||||
const errors = [];
|
||||
const sha256 = (file) => crypto.createHash("sha256").update(fs.readFileSync(file)).digest("hex");
|
||||
|
||||
|
||||
@@ -33,6 +33,7 @@ const KNOWN_CASES = [
|
||||
{ id: "robot-sample-web", title: /\[robot-sample-web\]/ },
|
||||
{ id: "robot-assemble-check-web", title: /\[robot-assemble-check-web\]/ },
|
||||
{ id: "robot-pose-web", title: /\[robot-pose-web\]/ },
|
||||
{ id: "robot-rig-web", title: /\[robot-rig-web\]/ },
|
||||
{ id: "armature-bones-web", title: /\[armature-bones-web\]/ },
|
||||
{ id: "armature-bind-web", title: /\[armature-bind-web\]/ },
|
||||
{ id: "armature-pose-web", title: /\[armature-pose-web\]/ },
|
||||
|
||||
Reference in New Issue
Block a user