Skip to content

Add coupled-joint support for mimic joints#8

Open
H-tr wants to merge 1 commit into
CoMMALab:masterfrom
H-tr:master
Open

Add coupled-joint support for mimic joints#8
H-tr wants to merge 1 commit into
CoMMALab:masterfrom
H-tr:master

Conversation

@H-tr
Copy link
Copy Markdown

@H-tr H-tr commented May 13, 2026

Introduces CoupledJoint in fkcc_gen.cc so slave joints (e.g. finger_joint2 = 1.0 * finger_joint1) are eliminated from the virtual configuration space used by FK / CC codegen. Robot JSONs can now declare coupled_joints to drive an arbitrary mimic.

Originally bundled with autolife body resources; this commit carries only the C++ generator change so the feature is reusable for any robot with mimic joints (the FR3 gripper is a typical case).

Introduces ``CoupledJoint`` in ``fkcc_gen.cc`` so slave joints (e.g.
``finger_joint2 = 1.0 * finger_joint1``) are eliminated from the
virtual configuration space used by FK / CC codegen.  Robot JSONs can
now declare ``coupled_joints`` to drive an arbitrary mimic.

Originally bundled with autolife body resources; this commit carries
only the C++ generator change so the feature is reusable for any robot
with mimic joints (the FR3 gripper is a typical case).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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