You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be useful to have control over the default camera ("/OmniverseKit_Persp") for video recording during RL training, e.g., following a quadruped to traverse rough terrains. A simple solution would be adding a function that computes eye and lookat each time render is called.
A rough sketch of its implementation:
@configclassclassViewerCfg:
"""Configuration of the scene viewport camera."""
...
func: Callable=None
"""
classRLTaskEnv(BaseEnv):
...
defrender(self):
ifself.cfg.viewer.funcisnotNone:
eye, lookat=self.cfg.viewer.func(self)
self.sim.set_camera_view(eye, lookat)
...
and we can therefore provide some functions to start with. For example, a position-following camera is like:
We implemented a first version of this idea in the commit: 59e6c68
It doesn't have a viewer function itself but does a fixed transform with the operation you mentioned above. If this doesn't complete your use case we can expose the operation as a function too.
Please feel free to open this issue or create a new one.
Activity
Mayankm96 commentedon Dec 21, 2023
Nice idea! I had implemented something like this for the UI version:
We need to think of a smart way not to repeat this (and other UI-related code) twice. Let's discuss this in January when I'm back from vacation :)
Mayankm96 commentedon Feb 27, 2024
We implemented a first version of this idea in the commit: 59e6c68
It doesn't have a viewer function itself but does a fixed transform with the operation you mentioned above. If this doesn't complete your use case we can expose the operation as a function too.
Please feel free to open this issue or create a new one.
Adds Isaac Lab Mimic based on MimicGen data generation for Imitation …
Adds Isaac Lab Mimic based on MimicGen data generation for Imitation …
Adds Isaac Lab Mimic based on MimicGen data generation for Imitation …
Adds Isaac Lab Mimic based on MimicGen data generation for Imitation …
Adds Isaac Lab Mimic based on MimicGen data generation for Imitation …
Makes DataGenConfig.max_num_failures actually bound a Mimic generatio…