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
691b9e81
Commit
691b9e81
authored
Jun 29, 2024
by
Mayank Mittal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes Nucleus directory in check scripts for Isaac Sim
parent
019fc55a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
9 deletions
+15
-9
check_floating_base_made_fixed.py
....lab/test/deps/isaacsim/check_floating_base_made_fixed.py
+6
-2
check_legged_robot_clone.py
....isaac.lab/test/deps/isaacsim/check_legged_robot_clone.py
+9
-7
No files found.
source/extensions/omni.isaac.lab/test/deps/isaacsim/check_floating_base_made_fixed.py
View file @
691b9e81
...
...
@@ -9,6 +9,10 @@
import
argparse
import
contextlib
with
contextlib
.
suppress
(
ModuleNotFoundError
):
import
isaacsim
# noqa: F401
from
omni.isaac.kit
import
SimulationApp
...
...
@@ -53,8 +57,8 @@ if nucleus_utils.get_assets_root_path() is None:
ISAAC_NUCLEUS_DIR
=
f
"{nucleus_utils.get_assets_root_path()}/Isaac"
"""Path to the `Isaac` directory on the NVIDIA Nucleus Server."""
ISAACLAB_NUCLEUS_DIR
=
f
"{
nucleus_utils.get_assets_root_path()}/Isaac/Samples/Orbit
"
"""Path to the `Isaac/
Samples/Orbit
` directory on the NVIDIA Nucleus Server."""
ISAACLAB_NUCLEUS_DIR
=
f
"{
ISAAC_NUCLEUS_DIR}/IsaacLab
"
"""Path to the `Isaac/
IsaacLab
` directory on the NVIDIA Nucleus Server."""
"""
...
...
source/extensions/omni.isaac.lab/test/deps/isaacsim/check_legged_robot_clone.py
View file @
691b9e81
...
...
@@ -13,8 +13,12 @@ Reference: https://docs.omniverse.nvidia.com/app_isaacsim/app_isaacsim/tutorial_
import
argparse
import
contextlib
from
omni.isaac.lab.app
import
AppLauncher
with
contextlib
.
suppress
(
ModuleNotFoundError
):
import
isaacsim
# noqa: F401
from
omni.isaac.kit
import
SimulationApp
# add argparse arguments
parser
=
argparse
.
ArgumentParser
(
...
...
@@ -27,14 +31,12 @@ parser.add_argument(
default
=
"isaaclab"
,
help
=
"The asset source location for the robot. Can be: isaaclab, oige, custom asset path."
,
)
# append AppLauncher cli args
AppLauncher
.
add_app_launcher_args
(
parser
)
parser
.
add_argument
(
"--headless"
,
action
=
"store_true"
,
help
=
"Run in headless mode."
)
# parse the arguments
args_cli
=
parser
.
parse_args
()
# launch omniverse app
app_launcher
=
AppLauncher
(
args_cli
)
simulation_app
=
app_launcher
.
app
simulation_app
=
SimulationApp
({
"headless"
:
args_cli
.
headless
})
"""Rest everything follows."""
...
...
@@ -67,8 +69,8 @@ if nucleus_utils.get_assets_root_path() is None:
ISAAC_NUCLEUS_DIR
=
f
"{nucleus_utils.get_assets_root_path()}/Isaac"
"""Path to the `Isaac` directory on the NVIDIA Nucleus Server."""
ISAACLAB_NUCLEUS_DIR
=
f
"{
nucleus_utils.get_assets_root_path()}/Isaac/Samples/Orbit
"
"""Path to the `Isaac/
Samples/Orbit
` directory on the NVIDIA Nucleus Server."""
ISAACLAB_NUCLEUS_DIR
=
f
"{
ISAAC_NUCLEUS_DIR}/IsaacLab
"
"""Path to the `Isaac/
IsaacLab
` directory on the NVIDIA Nucleus Server."""
"""
...
...
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