Skip to content

Conversation

@Kallinteris-Andreas
Copy link
Collaborator

@Kallinteris-Andreas Kallinteris-Andreas commented Dec 10, 2023

I have paused development, waiting for mjx==3.2 & a few updates on FuncEnv

related proposal (read first): #833

Feel free to comment on anything you want, but in particular check the NOTE comments

Checklist

  • base MJX class
  • CartPole based environments (InvertedDoublePendulum, InvertedPendulum)
  • 2D Locomotion environments (HalfCheetah, Hopper, Walker2D)
  • Arm Manipulation environments (Reacher, Pusher)
  • Swimmer Environment (Swimmer)
  • Ant Environments (Ant)
  • Humanoid Environments (Humanoid, HumanoidStandup)
  • validate like Add MuJoCo v5 environments #572
  • Write unit tests

@varadVaidya
Copy link

Thanks for this work. I have a few question regarding the WIP. In particular is there any training script that support the MJX Envs. I am asking this, since the return structure of some of the functions, and no mention of truncated in the environments in the PR suggest that, currently something other way of using these environments.
Please correct me if i am wrong

@Kallinteris-Andreas
Copy link
Collaborator Author

Kallinteris-Andreas commented Feb 22, 2024

@varadVaidya

  1. this is just environments
  2. it uses a pre-release version of FuncEnv https://gymnasium.farama.org/main/api/functional/
  3. while all environments are implemented, most can even be instantiated because we are waiting for features in mujoco-MJX

@Kallinteris-Andreas Kallinteris-Andreas changed the title [RFC] MJX environment prototype [RFC] MJX environment prototype (will be resumed after1.0) Sep 24, 2024
@Kallinteris-Andreas Kallinteris-Andreas changed the title [RFC] MJX environment prototype (will be resumed after1.0) [RFC] MJX environment prototype (WIP) Oct 13, 2024
Kallinteris-Andreas and others added 10 commits December 16, 2025 14:59
Define environment-specific TypedDict classes for params in all MJX environments.
Update MJXEnv base class and all subclasses to use these types for improved type safety and IDE support.
Refine parameter types for pendulum, locomotion_2d, ant, humanoid, manipulation, and swimmer.

Fix minor bugs in Ant and Humanoid environments discovered during type annotation (e.g., jnp.clip usage and method calls).
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.

4 participants