Creating Custom Training Environment in IsaacLab via Extensions
Last updated
Last updated
As mentioned in the "Dive Into IsaacLab" article, the codebase of IsaacLab is significantly larger than other RL frameworks.
Case Study: A Dive Into IsaacLabIt provides a nice abstraction of configuration fragments using the Config class and the notion of Managers. However, this makes editing the environment and implementing custom training logic harder. Jumping across directory structures to access config fragments is common and annoying.
Fortunately, IsaacLab also supports Extensions, which allows us to isolate out the custom scripts into a separate repository. In this article, we will go over how to create such extension and achieve custom training logic.
We can rename the template to a custom extension name. Here, we will use g1_demo
as an example:
After executing this command, all the ext_template
text inside this repo should be replace to g1_demo
.
We start off by copying the scripts directly from upstream IsaacLab
There's a few difference between the scripts used in IsaacLab versus in the Extension.