IsaacLab icon indicating copy to clipboard operation
IsaacLab copied to clipboard

Adds example on Hydra integration for running environments

Open Mayankm96 opened this issue 2 years ago • 0 comments

Description

This PR adds a method to register the environment configuration instance as a Hydra configuration object. Doing so allows configuring a bunch of environment parameters from the command line. It finally gets around the main motivation to use configclass decorator.

python source/standalone/environments/zero_agent.py --task Isaac-Lift-Franka-v0 --headless env.num_envs=2

Fixes #57

Type of change

  • New feature (non-breaking change which adds functionality)
  • This change requires a documentation update

Screenshots

Please attach before and after screenshots of the change if applicable.

Checklist

  • [x] I have run the pre-commit checks with ./orbit.sh --format
  • [ ] I have made corresponding changes to the documentation
  • [x] My changes generate no new warnings
  • [ ] I have added tests that prove my fix is effective or that my feature works
  • [ ] I have updated the changelog and the corresponding version in the extension's config/extension.toml file

Mayankm96 avatar Apr 17 '23 09:04 Mayankm96