Repository navigation
Replies: 2 comments
|
Hello there! This is exactly what I was thinking about, and I've developed a tool for that called mjinx, which closely follows functionality of the |
0 replies
|
A very essential-to-ask question + really cool mjinx! |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi @kevinzakka
I'm wondering if there are any plans to eventually port
minkover to a JAX or PyTorch-based implementation?Another great work, https://github.com/UM-ARM-Lab/pytorch_kinematics, implements IK solving with PyTorch, and I would imagine this is faster than a CPU-based IK solver like what
minkcurrently uses.I bring this up because i'd like to use a
minkcontroller for some Reinforcement Learning tasks i'm building, but I noticed that the simulation FPS slows down by ~6.5x when using it for controlling my robot. On my 4090 Desktop with an Intel i9-13900K CPU, sim FPS goes from ~4000 FPS simulating a Robot MJCF (nominkcontroller, just RGB rendering at 30 FPS) to ~600 FPS (withminkcontroller + RGB rendering at 30 FPS).max_iters=1for the IK solver, and changing sim timestep tomodel.opt.timestep = 1 / 100instead of MuJoCo's default1 / 500. These changes didn't seem to affect the End-Effector Displacement for my tasks, and it resulted in faster sim FPS withmink.I understand that IK will inevitably slow down FPS for Simulation, but if solving IK with PyTorch or JAX speeds things up by a reasonable margin, that'd be great! I'm wondering your thoughts on this, i'm happy to share more info and continue this discussion : )
All reactions