Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
KincoActuatorIsaacLab
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
kevin
KincoActuatorIsaacLab
Commits
a46c7d6d
Commit
a46c7d6d
authored
Jan 26, 2023
by
Mayank Mittal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixes the wrapper docstring to call Isaac Orbit environments
parent
f17f253d
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
9 deletions
+9
-9
rl_games.py
...bit_envs/omni/isaac/orbit_envs/utils/wrappers/rl_games.py
+2
-2
rsl_rl.py
...orbit_envs/omni/isaac/orbit_envs/utils/wrappers/rsl_rl.py
+1
-1
sb3.py
...ac.orbit_envs/omni/isaac/orbit_envs/utils/wrappers/sb3.py
+3
-3
skrl.py
...c.orbit_envs/omni/isaac/orbit_envs/utils/wrappers/skrl.py
+2
-2
collect_demonstrations.py
.../standalone/workflows/robomimic/collect_demonstrations.py
+1
-1
No files found.
source/extensions/omni.isaac.orbit_envs/omni/isaac/orbit_envs/utils/wrappers/rl_games.py
View file @
a46c7d6d
...
@@ -50,9 +50,9 @@ Vectorized environment wrapper.
...
@@ -50,9 +50,9 @@ Vectorized environment wrapper.
class
RlGamesVecEnvWrapper
(
gym
.
Wrapper
):
class
RlGamesVecEnvWrapper
(
gym
.
Wrapper
):
"""Wraps around Isaac
Sim
environment for RL-Games.
"""Wraps around Isaac
Orbit
environment for RL-Games.
This class wraps around the Isaac
Sim
environment. Since RL-Games works directly on
This class wraps around the Isaac
Orbit
environment. Since RL-Games works directly on
GPU buffers, the wrapper handles moving of buffers from the simulation environment
GPU buffers, the wrapper handles moving of buffers from the simulation environment
to the same device as the learning agent. Additionally, it performs clipping of
to the same device as the learning agent. Additionally, it performs clipping of
observations and actions.
observations and actions.
...
...
source/extensions/omni.isaac.orbit_envs/omni/isaac/orbit_envs/utils/wrappers/rsl_rl.py
View file @
a46c7d6d
...
@@ -44,7 +44,7 @@ VecEnvStepReturn = Tuple[VecEnvObs, VecEnvObs, torch.Tensor, torch.Tensor, Dict]
...
@@ -44,7 +44,7 @@ VecEnvStepReturn = Tuple[VecEnvObs, VecEnvObs, torch.Tensor, torch.Tensor, Dict]
class
RslRlVecEnvWrapper
(
gym
.
Wrapper
,
VecEnv
):
class
RslRlVecEnvWrapper
(
gym
.
Wrapper
,
VecEnv
):
"""Wraps around Isaac
Sim
environment for RSL-RL.
"""Wraps around Isaac
Orbit
environment for RSL-RL.
To use asymmetric actor-critic, the environment instance must have the attributes :attr:`num_states` (int)
To use asymmetric actor-critic, the environment instance must have the attributes :attr:`num_states` (int)
and :attr:`state_space` (:obj:`gym.spaces.Box`). These are used by the learning agent to allocate buffers in
and :attr:`state_space` (:obj:`gym.spaces.Box`). These are used by the learning agent to allocate buffers in
...
...
source/extensions/omni.isaac.orbit_envs/omni/isaac/orbit_envs/utils/wrappers/sb3.py
View file @
a46c7d6d
...
@@ -35,7 +35,7 @@ Vectorized environment wrapper.
...
@@ -35,7 +35,7 @@ Vectorized environment wrapper.
class
Sb3VecEnvWrapper
(
gym
.
Wrapper
,
VecEnv
):
class
Sb3VecEnvWrapper
(
gym
.
Wrapper
,
VecEnv
):
"""Wraps around Isaac
Sim
environment for Stable Baselines3.
"""Wraps around Isaac
Orbit
environment for Stable Baselines3.
Isaac Sim internally implements a vectorized environment. However, since it is
Isaac Sim internally implements a vectorized environment. However, since it is
still considered a single environment instance, Stable Baselines tries to wrap
still considered a single environment instance, Stable Baselines tries to wrap
...
@@ -51,8 +51,8 @@ class Sb3VecEnvWrapper(gym.Wrapper, VecEnv):
...
@@ -51,8 +51,8 @@ class Sb3VecEnvWrapper(gym.Wrapper, VecEnv):
1. numpy datatype for MDP signals
1. numpy datatype for MDP signals
2. a list of info dicts for each sub-environment (instead of a dict)
2. a list of info dicts for each sub-environment (instead of a dict)
3. when environment has terminated, the observations from the environment should correspond
3. when environment has terminated, the observations from the environment should correspond
to the one after reset. The "real" final observation is passed using the info dicts
to the one after reset. The "real" final observation is passed using the info dicts
under the key `terminal_observation
`.
under the key ``terminal_observation`
`.
Warning:
Warning:
By the nature of physics stepping in Isaac Sim, it is not possible to forward the
By the nature of physics stepping in Isaac Sim, it is not possible to forward the
...
...
source/extensions/omni.isaac.orbit_envs/omni/isaac/orbit_envs/utils/wrappers/skrl.py
View file @
a46c7d6d
...
@@ -41,9 +41,9 @@ Vectorized environment wrapper.
...
@@ -41,9 +41,9 @@ Vectorized environment wrapper.
def
SkrlVecEnvWrapper
(
env
:
IsaacEnv
):
def
SkrlVecEnvWrapper
(
env
:
IsaacEnv
):
"""Wraps around Isaac
Sim
environment for skrl.
"""Wraps around Isaac
Orbit
environment for skrl.
This function wraps around the Isaac
Sim
environment. Since the :class:`IsaacEnv` environment
This function wraps around the Isaac
Orbit
environment. Since the :class:`IsaacEnv` environment
wrapping functionality is defined within the skrl library itself, this implementation
wrapping functionality is defined within the skrl library itself, this implementation
is maintained for compatibility with the structure of the extension that contains it.
is maintained for compatibility with the structure of the extension that contains it.
Internally it calls the :func:`wrap_env` from the skrl library API.
Internally it calls the :func:`wrap_env` from the skrl library API.
...
...
source/standalone/workflows/robomimic/collect_demonstrations.py
View file @
a46c7d6d
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
#
#
# SPDX-License-Identifier: BSD-3-Clause
# SPDX-License-Identifier: BSD-3-Clause
"""Script to collect demonstrations with Isaac
Sim
environments."""
"""Script to collect demonstrations with Isaac
Orbit
environments."""
"""Launch Isaac Sim Simulator first."""
"""Launch Isaac Sim Simulator first."""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment