Skip to content

Commit b1ba024

Browse files
committed
formats
1 parent 5cea2a2 commit b1ba024

File tree

1 file changed

+18
-12
lines changed

1 file changed

+18
-12
lines changed

scripts/rsl_rl/play.py

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
# Copyright (c) 2022-2025, The Isaac Lab Project Developers (https://github.com/isaac-sim/IsaacLab/blob/main/CONTRIBUTORS.md).
1+
# Copyright (c) 2024-2025, Muammer Bay (LycheeAI), Louis Le Lay
2+
# All rights reserved.
3+
#
4+
# SPDX-License-Identifier: BSD-3-Clause
5+
#
6+
# Copyright (c) 2022-2025, The Isaac Lab Project Developers.
27
# All rights reserved.
38
#
49
# SPDX-License-Identifier: BSD-3-Clause
@@ -53,13 +58,13 @@
5358

5459
"""Rest everything follows."""
5560

56-
import gymnasium as gym
5761
import os
5862
import time
59-
import torch
60-
61-
from rsl_rl.runners import DistillationRunner, OnPolicyRunner
6263

64+
import gymnasium as gym
65+
import isaaclab_tasks # noqa: F401
66+
import SO_100.tasks # noqa: F401
67+
import torch
6368
from isaaclab.envs import (
6469
DirectMARLEnv,
6570
DirectMARLEnvCfg,
@@ -70,14 +75,15 @@
7075
from isaaclab.utils.assets import retrieve_file_path
7176
from isaaclab.utils.dict import print_dict
7277
from isaaclab.utils.pretrained_checkpoint import get_published_pretrained_checkpoint
73-
74-
from isaaclab_rl.rsl_rl import RslRlBaseRunnerCfg, RslRlVecEnvWrapper, export_policy_as_jit, export_policy_as_onnx
75-
76-
import isaaclab_tasks # noqa: F401
78+
from isaaclab_rl.rsl_rl import (
79+
RslRlBaseRunnerCfg,
80+
RslRlVecEnvWrapper,
81+
export_policy_as_jit,
82+
export_policy_as_onnx,
83+
)
7784
from isaaclab_tasks.utils import get_checkpoint_path
7885
from isaaclab_tasks.utils.hydra import hydra_task_config
79-
80-
import SO_100.tasks # noqa: F401
86+
from rsl_rl.runners import DistillationRunner, OnPolicyRunner
8187

8288

8389
@hydra_task_config(args_cli.task, args_cli.agent)
@@ -202,4 +208,4 @@ def main(env_cfg: ManagerBasedRLEnvCfg | DirectRLEnvCfg | DirectMARLEnvCfg, agen
202208
# run the main function
203209
main()
204210
# close sim app
205-
simulation_app.close()
211+
simulation_app.close()

0 commit comments

Comments
 (0)