|
1 | 1 | # Copyright (c) 2026 Robotics and AI Institute LLC dba RAI Institute. All rights reserved. |
| 2 | +"""Launch Isaac Sim Simulator first.""" |
| 3 | + |
2 | 4 | from __future__ import annotations |
3 | 5 |
|
4 | | -"""Launch Isaac Sim Simulator first.""" |
5 | 6 | import argparse |
6 | 7 | import pathlib |
7 | 8 | from typing import TYPE_CHECKING |
@@ -49,26 +50,26 @@ def make_simulation_app() -> tuple[SimulationApp, argparse.Namespace]: |
49 | 50 |
|
50 | 51 |
|
51 | 52 | # Import tasks to register environments |
52 | | -import isaaclab_tasks.manager_based.locomotion.velocity.config.anymal_c # noqa: F401 |
53 | | -import isaaclab_tasks.manager_based.locomotion.velocity.config.g1 # noqa: F401 |
54 | | -import torch |
55 | | -from isaaclab.sim import SimulationContext |
56 | | -from isaaclab_rl.rsl_rl import RslRlVecEnvWrapper |
57 | | -from isaaclab_tasks.utils import parse_env_cfg |
58 | | -from rsl_rl.algorithms.ppo import PPO |
59 | | -from rsl_rl.runners import OnPolicyRunner |
60 | | - |
61 | | -from exploy.exporter.core.evaluator import evaluate |
62 | | -from exploy.exporter.core.exporter import export_environment_as_onnx |
63 | | -from exploy.exporter.core.session_wrapper import SessionWrapper |
64 | | -from exploy.exporter.frameworks.isaaclab import ( |
| 53 | +import isaaclab_tasks.manager_based.locomotion.velocity.config.anymal_c # noqa: F401, E402 |
| 54 | +import isaaclab_tasks.manager_based.locomotion.velocity.config.g1 # noqa: F401, E402 |
| 55 | +import torch # noqa: E402 |
| 56 | +from isaaclab.sim import SimulationContext # noqa: E402 |
| 57 | +from isaaclab_rl.rsl_rl import RslRlVecEnvWrapper # noqa: E402 |
| 58 | +from isaaclab_tasks.utils import parse_env_cfg # noqa: E402 |
| 59 | +from rsl_rl.algorithms.ppo import PPO # noqa: E402 |
| 60 | +from rsl_rl.runners import OnPolicyRunner # noqa: E402 |
| 61 | + |
| 62 | +from exploy.exporter.core.evaluator import evaluate # noqa: E402 |
| 63 | +from exploy.exporter.core.exporter import export_environment_as_onnx # noqa: E402 |
| 64 | +from exploy.exporter.core.session_wrapper import SessionWrapper # noqa: E402 |
| 65 | +from exploy.exporter.frameworks.isaaclab import ( # noqa: E402 |
65 | 66 | environments, # noqa: F401 |
66 | 67 | inputs, |
67 | 68 | memory, |
68 | 69 | outputs, |
69 | 70 | ) |
70 | | -from exploy.exporter.frameworks.isaaclab.actor import make_exportable_actor |
71 | | -from exploy.exporter.frameworks.isaaclab.env import IsaacLabExportableEnvironment |
| 71 | +from exploy.exporter.frameworks.isaaclab.actor import make_exportable_actor # noqa: E402 |
| 72 | +from exploy.exporter.frameworks.isaaclab.env import IsaacLabExportableEnvironment # noqa: E402 |
72 | 73 |
|
73 | 74 |
|
74 | 75 | def export_isaaclab( |
|
0 commit comments