Skip to content

Add neural network IK solver#286

Merged
yangchen73 merged 18 commits into
mainfrom
yc/neural-ik-solver
Jun 3, 2026
Merged

Add neural network IK solver#286
yangchen73 merged 18 commits into
mainfrom
yc/neural-ik-solver

Conversation

@yangchen73
Copy link
Copy Markdown
Collaborator

Description

This PR add NeuralIKSolver, a learned IK solver that loads a trained MLP policy from a checkpoint and iteratively solves IK via policy inference.

Also add a example and tests for this Solver.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (non-breaking change which improves an existing functionality)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (existing functionality will not work without user modification)
  • Documentation update

Screenshots

Single Batch
single arm.mp4 batch.mp4

Checklist

  • I have run the black . command to format the code base.
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • Dependencies have been updated, if applicable.

@yuecideng yuecideng self-requested a review May 30, 2026 12:16
checkpoint_path: str = ""
"""Path to the trained policy checkpoint (.pt file)."""

max_steps: int = 30
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

These params should be stored in model config.

Comment thread embodichain/lab/sim/solvers/neural_ik_solver.py Outdated
@yangchen73 yangchen73 merged commit d93e61a into main Jun 3, 2026
11 of 12 checks passed
@yangchen73 yangchen73 deleted the yc/neural-ik-solver branch June 3, 2026 08:49
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.

2 participants