Brax MuJoCo Collision Cylinder, Ellipsoid #2811
Replies: 1 comment
-
Hi @pachoremayuresh, see the MJX documentation for a list of what collisions are supported. |
Beta Was this translation helpful? Give feedback.
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.
-
Intro
Hi!
I am Mayuresh Pachore. I am a master's student atthe University of Bologna Currently doing my research internship at SAXION SMART LAB Enschede.
I am Using MuJoCo For Reinforcement Learning. And I am using Brax for it.
My setup
in drone.xml
in scene.xml
My question
##I am receiving an error
File ~/.local/lib/python3.10/site-packages/mujoco/mjx/_src/io.py:111, in put_model(m, device, _full_compat)
109 if not collision_driver.has_collision_fn(t1, t2) and not _full_compat:
110 t1, t2 = mujoco.mjtGeom(t1), mujoco.mjtGeom(t2)
--> 111 raise NotImplementedError(f'({t1}, {t2}) collisions not implemented.')
112 # margin/gap not supported for meshes and height fields
113 no_margin = {mujoco.mjtGeom.mjGEOM_MESH, mujoco.mjtGeom.mjGEOM_HFIELD}
NotImplementedError: (mjtGeom.mjGEOM_CYLINDER, mjtGeom.mjGEOM_BOX) collisions not implemented.
The file works fine in MuJoCo Viewer but when I am trying to implement that in brax I get this error.
Is it because MuJoCo MJCF has not implemented the CYLINDER and ELLIPSOID collision functions?
Looking Forward to understanding on this.
Confirmations
Beta Was this translation helpful? Give feedback.
All reactions