Skip to content

Commit

Permalink
Rename Orbit examples to Isaac Lab
Browse files Browse the repository at this point in the history
  • Loading branch information
Toni-SM committed Jun 21, 2024
1 parent 1efb188 commit 25a4cf5
Show file tree
Hide file tree
Showing 18 changed files with 54 additions and 54 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# import the skrl components to build the RL system
from skrl import config
from skrl.agents.jax.ddpg import DDPG, DDPG_DEFAULT_CONFIG
from skrl.envs.loaders.jax import load_isaac_orbit_env
from skrl.envs.loaders.jax import load_isaaclab_env
from skrl.envs.wrappers.jax import wrap_env
from skrl.memories.jax import RandomMemory
from skrl.models.jax import DeterministicMixin, Model
Expand Down Expand Up @@ -69,8 +69,8 @@ def __call__(self, inputs, role):
return x, {}


# load and wrap the Isaac Orbit environment
env = load_isaac_orbit_env(task_name="Isaac-Ant-v0", num_envs=64)
# load and wrap the Isaac Lab environment
env = load_isaaclab_env(task_name="Isaac-Ant-v0", num_envs=64)
env = wrap_env(env)

device = env.device
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# import the skrl components to build the RL system
from skrl import config
from skrl.agents.jax.ppo import PPO, PPO_DEFAULT_CONFIG
from skrl.envs.loaders.jax import load_isaac_orbit_env
from skrl.envs.loaders.jax import load_isaaclab_env
from skrl.envs.wrappers.jax import wrap_env
from skrl.memories.jax import RandomMemory
from skrl.models.jax import DeterministicMixin, GaussianMixin, Model
Expand Down Expand Up @@ -72,8 +72,8 @@ def __call__(self, inputs, role):
return x, {}


# load and wrap the Isaac Orbit environment
env = load_isaac_orbit_env(task_name="Isaac-Ant-v0")
# load and wrap the Isaac Lab environment
env = load_isaaclab_env(task_name="Isaac-Ant-v0")
env = wrap_env(env)

device = env.device
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# import the skrl components to build the RL system
from skrl import config
from skrl.agents.jax.sac import SAC, SAC_DEFAULT_CONFIG
from skrl.envs.loaders.jax import load_isaac_orbit_env
from skrl.envs.loaders.jax import load_isaaclab_env
from skrl.envs.wrappers.jax import wrap_env
from skrl.memories.jax import RandomMemory
from skrl.models.jax import DeterministicMixin, GaussianMixin, Model
Expand Down Expand Up @@ -70,8 +70,8 @@ def __call__(self, inputs, role):
return x, {}


# load and wrap the Isaac Orbit environment
env = load_isaac_orbit_env(task_name="Isaac-Ant-v0", num_envs=64)
# load and wrap the Isaac Lab environment
env = load_isaaclab_env(task_name="Isaac-Ant-v0", num_envs=64)
env = wrap_env(env)

device = env.device
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# import the skrl components to build the RL system
from skrl import config
from skrl.agents.jax.td3 import TD3, TD3_DEFAULT_CONFIG
from skrl.envs.loaders.jax import load_isaac_orbit_env
from skrl.envs.loaders.jax import load_isaaclab_env
from skrl.envs.wrappers.jax import wrap_env
from skrl.memories.jax import RandomMemory
from skrl.models.jax import DeterministicMixin, Model
Expand Down Expand Up @@ -69,8 +69,8 @@ def __call__(self, inputs, role):
return x, {}


# load and wrap the Isaac Orbit environment
env = load_isaac_orbit_env(task_name="Isaac-Ant-v0", num_envs=64)
# load and wrap the Isaac Lab environment
env = load_isaaclab_env(task_name="Isaac-Ant-v0", num_envs=64)
env = wrap_env(env)

device = env.device
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# import the skrl components to build the RL system
from skrl import config
from skrl.agents.jax.ppo import PPO, PPO_DEFAULT_CONFIG
from skrl.envs.loaders.jax import load_isaac_orbit_env
from skrl.envs.loaders.jax import load_isaaclab_env
from skrl.envs.wrappers.jax import wrap_env
from skrl.memories.jax import RandomMemory
from skrl.models.jax import DeterministicMixin, GaussianMixin, Model
Expand Down Expand Up @@ -70,8 +70,8 @@ def __call__(self, inputs, role):
return x, {}


# load and wrap the Isaac Orbit environment
env = load_isaac_orbit_env(task_name="Isaac-Cartpole-v0")
# load and wrap the Isaac Lab environment
env = load_isaaclab_env(task_name="Isaac-Cartpole-v0")
env = wrap_env(env)

device = env.device
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# import the skrl components to build the RL system
from skrl import config
from skrl.agents.jax.ppo import PPO, PPO_DEFAULT_CONFIG
from skrl.envs.loaders.jax import load_isaac_orbit_env
from skrl.envs.loaders.jax import load_isaaclab_env
from skrl.envs.wrappers.jax import wrap_env
from skrl.memories.jax import RandomMemory
from skrl.models.jax import DeterministicMixin, GaussianMixin, Model
Expand Down Expand Up @@ -72,8 +72,8 @@ def __call__(self, inputs, role):
return x, {}


# load and wrap the Isaac Orbit environment
env = load_isaac_orbit_env(task_name="Isaac-Humanoid-v0")
# load and wrap the Isaac Lab environment
env = load_isaaclab_env(task_name="Isaac-Humanoid-v0")
env = wrap_env(env)

device = env.device
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# import the skrl components to build the RL system
from skrl import config
from skrl.agents.jax.ppo import PPO, PPO_DEFAULT_CONFIG
from skrl.envs.loaders.jax import load_isaac_orbit_env
from skrl.envs.loaders.jax import load_isaaclab_env
from skrl.envs.wrappers.jax import wrap_env
from skrl.memories.jax import RandomMemory
from skrl.models.jax import DeterministicMixin, GaussianMixin, Model
Expand Down Expand Up @@ -72,8 +72,8 @@ def __call__(self, inputs, role):
return x, {}


# load and wrap the Isaac Orbit environment
env = load_isaac_orbit_env(task_name="Isaac-Lift-Franka-v0")
# load and wrap the Isaac Lab environment
env = load_isaaclab_env(task_name="Isaac-Lift-Franka-v0")
env = wrap_env(env)

device = env.device
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# import the skrl components to build the RL system
from skrl import config
from skrl.agents.jax.ppo import PPO, PPO_DEFAULT_CONFIG
from skrl.envs.loaders.jax import load_isaac_orbit_env
from skrl.envs.loaders.jax import load_isaaclab_env
from skrl.envs.wrappers.jax import wrap_env
from skrl.memories.jax import RandomMemory
from skrl.models.jax import DeterministicMixin, GaussianMixin, Model
Expand Down Expand Up @@ -72,8 +72,8 @@ def __call__(self, inputs, role):
return x, {}


# load and wrap the Isaac Orbit environment
env = load_isaac_orbit_env(task_name="Isaac-Reach-Franka-v0")
# load and wrap the Isaac Lab environment
env = load_isaaclab_env(task_name="Isaac-Reach-Franka-v0")
env = wrap_env(env)

device = env.device
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# import the skrl components to build the RL system
from skrl import config
from skrl.agents.jax.ppo import PPO, PPO_DEFAULT_CONFIG
from skrl.envs.loaders.jax import load_isaac_orbit_env
from skrl.envs.loaders.jax import load_isaaclab_env
from skrl.envs.wrappers.jax import wrap_env
from skrl.memories.jax import RandomMemory
from skrl.models.jax import DeterministicMixin, GaussianMixin, Model
Expand Down Expand Up @@ -72,8 +72,8 @@ def __call__(self, inputs, role):
return x, {}


# load and wrap the Isaac Orbit environment
env = load_isaac_orbit_env(task_name="Isaac-Velocity-Anymal-C-v0")
# load and wrap the Isaac Lab environment
env = load_isaaclab_env(task_name="Isaac-Velocity-Anymal-C-v0")
env = wrap_env(env)

device = env.device
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

# import the skrl components to build the RL system
from skrl.agents.torch.ddpg import DDPG, DDPG_DEFAULT_CONFIG
from skrl.envs.loaders.torch import load_isaac_orbit_env
from skrl.envs.loaders.torch import load_isaaclab_env
from skrl.envs.wrappers.torch import wrap_env
from skrl.memories.torch import RandomMemory
from skrl.models.torch import DeterministicMixin, Model
Expand Down Expand Up @@ -48,8 +48,8 @@ def compute(self, inputs, role):
return self.net(torch.cat([inputs["states"], inputs["taken_actions"]], dim=1)), {}


# load and wrap the Isaac Orbit environment
env = load_isaac_orbit_env(task_name="Isaac-Ant-v0", num_envs=64)
# load and wrap the Isaac Lab environment
env = load_isaaclab_env(task_name="Isaac-Ant-v0", num_envs=64)
env = wrap_env(env)

device = env.device
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

# import the skrl components to build the RL system
from skrl.agents.torch.ppo import PPO, PPO_DEFAULT_CONFIG
from skrl.envs.loaders.torch import load_isaac_orbit_env
from skrl.envs.loaders.torch import load_isaaclab_env
from skrl.envs.wrappers.torch import wrap_env
from skrl.memories.torch import RandomMemory
from skrl.models.torch import DeterministicMixin, GaussianMixin, Model
Expand Down Expand Up @@ -53,8 +53,8 @@ def compute(self, inputs, role):
return self.value_layer(shared_output), {}


# load and wrap the Isaac Orbit environment
env = load_isaac_orbit_env(task_name="Isaac-Ant-v0")
# load and wrap the Isaac Lab environment
env = load_isaaclab_env(task_name="Isaac-Ant-v0")
env = wrap_env(env)

device = env.device
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

# import the skrl components to build the RL system
from skrl.agents.torch.sac import SAC, SAC_DEFAULT_CONFIG
from skrl.envs.loaders.torch import load_isaac_orbit_env
from skrl.envs.loaders.torch import load_isaaclab_env
from skrl.envs.wrappers.torch import wrap_env
from skrl.memories.torch import RandomMemory
from skrl.models.torch import DeterministicMixin, GaussianMixin, Model
Expand Down Expand Up @@ -49,8 +49,8 @@ def compute(self, inputs, role):
return self.net(torch.cat([inputs["states"], inputs["taken_actions"]], dim=1)), {}


# load and wrap the Isaac Orbit environment
env = load_isaac_orbit_env(task_name="Isaac-Ant-v0", num_envs=64)
# load and wrap the Isaac Lab environment
env = load_isaaclab_env(task_name="Isaac-Ant-v0", num_envs=64)
env = wrap_env(env)

device = env.device
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

# import the skrl components to build the RL system
from skrl.agents.torch.td3 import TD3, TD3_DEFAULT_CONFIG
from skrl.envs.loaders.torch import load_isaac_orbit_env
from skrl.envs.loaders.torch import load_isaaclab_env
from skrl.envs.wrappers.torch import wrap_env
from skrl.memories.torch import RandomMemory
from skrl.models.torch import DeterministicMixin, Model
Expand Down Expand Up @@ -48,8 +48,8 @@ def compute(self, inputs, role):
return self.net(torch.cat([inputs["states"], inputs["taken_actions"]], dim=1)), {}


# load and wrap the Isaac Orbit environment
env = load_isaac_orbit_env(task_name="Isaac-Ant-v0", num_envs=64)
# load and wrap the Isaac Lab environment
env = load_isaaclab_env(task_name="Isaac-Ant-v0", num_envs=64)
env = wrap_env(env)

device = env.device
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

# import the skrl components to build the RL system
from skrl.agents.torch.ppo import PPO, PPO_DEFAULT_CONFIG
from skrl.envs.loaders.torch import load_isaac_orbit_env
from skrl.envs.loaders.torch import load_isaaclab_env
from skrl.envs.wrappers.torch import wrap_env
from skrl.memories.torch import RandomMemory
from skrl.models.torch import DeterministicMixin, GaussianMixin, Model
Expand Down Expand Up @@ -51,8 +51,8 @@ def compute(self, inputs, role):
return self.value_layer(shared_output), {}


# load and wrap the Isaac Orbit environment
env = load_isaac_orbit_env(task_name="Isaac-Cartpole-v0")
# load and wrap the Isaac Lab environment
env = load_isaaclab_env(task_name="Isaac-Cartpole-v0")
env = wrap_env(env)

device = env.device
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

# import the skrl components to build the RL system
from skrl.agents.torch.ppo import PPO, PPO_DEFAULT_CONFIG
from skrl.envs.loaders.torch import load_isaac_orbit_env
from skrl.envs.loaders.torch import load_isaaclab_env
from skrl.envs.wrappers.torch import wrap_env
from skrl.memories.torch import RandomMemory
from skrl.models.torch import DeterministicMixin, GaussianMixin, Model
Expand Down Expand Up @@ -53,8 +53,8 @@ def compute(self, inputs, role):
return self.value_layer(shared_output), {}


# load and wrap the Isaac Orbit environment
env = load_isaac_orbit_env(task_name="Isaac-Humanoid-v0")
# load and wrap the Isaac Lab environment
env = load_isaaclab_env(task_name="Isaac-Humanoid-v0")
env = wrap_env(env)

device = env.device
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

# import the skrl components to build the RL system
from skrl.agents.torch.ppo import PPO, PPO_DEFAULT_CONFIG
from skrl.envs.loaders.torch import load_isaac_orbit_env
from skrl.envs.loaders.torch import load_isaaclab_env
from skrl.envs.wrappers.torch import wrap_env
from skrl.memories.torch import RandomMemory
from skrl.models.torch import DeterministicMixin, GaussianMixin, Model
Expand Down Expand Up @@ -53,8 +53,8 @@ def compute(self, inputs, role):
return self.value_layer(shared_output), {}


# load and wrap the Isaac Orbit environment
env = load_isaac_orbit_env(task_name="Isaac-Lift-Franka-v0")
# load and wrap the Isaac Lab environment
env = load_isaaclab_env(task_name="Isaac-Lift-Franka-v0")
env = wrap_env(env)

device = env.device
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

# import the skrl components to build the RL system
from skrl.agents.torch.ppo import PPO, PPO_DEFAULT_CONFIG
from skrl.envs.loaders.torch import load_isaac_orbit_env
from skrl.envs.loaders.torch import load_isaaclab_env
from skrl.envs.wrappers.torch import wrap_env
from skrl.memories.torch import RandomMemory
from skrl.models.torch import DeterministicMixin, GaussianMixin, Model
Expand Down Expand Up @@ -53,8 +53,8 @@ def compute(self, inputs, role):
return self.value_layer(shared_output), {}


# load and wrap the Isaac Orbit environment
env = load_isaac_orbit_env(task_name="Isaac-Reach-Franka-v0")
# load and wrap the Isaac Lab environment
env = load_isaaclab_env(task_name="Isaac-Reach-Franka-v0")
env = wrap_env(env)

device = env.device
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

# import the skrl components to build the RL system
from skrl.agents.torch.ppo import PPO, PPO_DEFAULT_CONFIG
from skrl.envs.loaders.torch import load_isaac_orbit_env
from skrl.envs.loaders.torch import load_isaaclab_env
from skrl.envs.wrappers.torch import wrap_env
from skrl.memories.torch import RandomMemory
from skrl.models.torch import DeterministicMixin, GaussianMixin, Model
Expand Down Expand Up @@ -53,8 +53,8 @@ def compute(self, inputs, role):
return self.value_layer(shared_output), {}


# load and wrap the Isaac Orbit environment
env = load_isaac_orbit_env(task_name="Isaac-Velocity-Anymal-C-v0")
# load and wrap the Isaac Lab environment
env = load_isaaclab_env(task_name="Isaac-Velocity-Anymal-C-v0")
env = wrap_env(env)

device = env.device
Expand Down

0 comments on commit 25a4cf5

Please sign in to comment.