Skip to content

Fix joint type checks with newer MuJoCo - #26

Merged
kou merged 1 commit into
enactic:mainfrom
stevenaya:fix/mujoco-joint-type-comparison
Aug 26, 2026
Merged

Fix joint type checks with newer MuJoCo#26
kou merged 1 commit into
enactic:mainfrom
stevenaya:fix/mujoco-joint-type-comparison

Conversation

@stevenaya

@stevenaya stevenaya commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Fix MuJoCo 3.12 joint-type membership checks by comparing native integers in both arm limit classes.

Tested with 21 relevant tests and IK initialization on MuJoCo 3.9 and 3.12.

Copilot AI lite review requested due to automatic review settings August 24, 2026 15:50

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes MuJoCo 3.12 joint-type checks by comparing native integer values.

Changes:

  • Converts model joint types and enum constants to integers.
  • Applies the fix to both arm limit classes.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@kou
kou merged commit 1062063 into enactic:main Aug 26, 2026
5 checks passed
@kou kou mentioned this pull request Aug 26, 2026
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.

3 participants