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
6c317317
Commit
6c317317
authored
Mar 04, 2023
by
Mayank Mittal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removes setting stage units since it is default
parent
8cefb28c
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
7 additions
and
15 deletions
+7
-15
test_camera.py
source/extensions/omni.isaac.orbit/test/test_camera.py
+1
-3
test_height_scanner.py
...e/extensions/omni.isaac.orbit/test/test_height_scanner.py
+1
-3
test_kit_utils.py
source/extensions/omni.isaac.orbit/test/test_kit_utils.py
+1
-3
play_camera.py
source/standalone/demo/play_camera.py
+1
-1
play_ik_control.py
source/standalone/demo/play_ik_control.py
+1
-3
play_ridgeback_franka.py
source/standalone/demo/play_ridgeback_franka.py
+1
-1
convert_urdf.py
source/tools/convert_urdf.py
+1
-1
No files found.
source/extensions/omni.isaac.orbit/test/test_camera.py
View file @
6c317317
...
@@ -55,9 +55,7 @@ class TestCameraSensor(unittest.TestCase):
...
@@ -55,9 +55,7 @@ class TestCameraSensor(unittest.TestCase):
# Simulation time-step
# Simulation time-step
self
.
dt
=
0.01
self
.
dt
=
0.01
# Load kit helper
# Load kit helper
self
.
sim
=
SimulationContext
(
self
.
sim
=
SimulationContext
(
physics_dt
=
self
.
dt
,
rendering_dt
=
self
.
dt
,
backend
=
"numpy"
)
stage_units_in_meters
=
1.0
,
physics_dt
=
self
.
dt
,
rendering_dt
=
self
.
dt
,
backend
=
"numpy"
)
# Set camera view
# Set camera view
set_camera_view
(
eye
=
[
2.5
,
2.5
,
2.5
],
target
=
[
0.0
,
0.0
,
0.0
])
set_camera_view
(
eye
=
[
2.5
,
2.5
,
2.5
],
target
=
[
0.0
,
0.0
,
0.0
])
# Fix random seed -- to generate same scene every time
# Fix random seed -- to generate same scene every time
...
...
source/extensions/omni.isaac.orbit/test/test_height_scanner.py
View file @
6c317317
...
@@ -53,9 +53,7 @@ class TestHeightScannerSensor(unittest.TestCase):
...
@@ -53,9 +53,7 @@ class TestHeightScannerSensor(unittest.TestCase):
# Simulation time-step
# Simulation time-step
self
.
dt
=
0.1
self
.
dt
=
0.1
# Load kit helper
# Load kit helper
self
.
sim
=
SimulationContext
(
self
.
sim
=
SimulationContext
(
physics_dt
=
self
.
dt
,
rendering_dt
=
self
.
dt
,
backend
=
"numpy"
)
stage_units_in_meters
=
1.0
,
physics_dt
=
self
.
dt
,
rendering_dt
=
self
.
dt
,
backend
=
"numpy"
)
# Set camera view
# Set camera view
set_camera_view
(
eye
=
[
5.0
,
5.0
,
5.0
],
target
=
[
0.0
,
0.0
,
0.0
])
set_camera_view
(
eye
=
[
5.0
,
5.0
,
5.0
],
target
=
[
0.0
,
0.0
,
0.0
])
# Spawn things into stage
# Spawn things into stage
...
...
source/extensions/omni.isaac.orbit/test/test_kit_utils.py
View file @
6c317317
...
@@ -38,9 +38,7 @@ class TestKitUtilities(unittest.TestCase):
...
@@ -38,9 +38,7 @@ class TestKitUtilities(unittest.TestCase):
# Simulation time-step
# Simulation time-step
self
.
dt
=
0.1
self
.
dt
=
0.1
# Load kit helper
# Load kit helper
self
.
sim
=
SimulationContext
(
self
.
sim
=
SimulationContext
(
physics_dt
=
self
.
dt
,
rendering_dt
=
self
.
dt
,
backend
=
"numpy"
)
stage_units_in_meters
=
1.0
,
physics_dt
=
self
.
dt
,
rendering_dt
=
self
.
dt
,
backend
=
"numpy"
)
# Set camera view
# Set camera view
set_camera_view
(
eye
=
[
1.0
,
1.0
,
1.0
],
target
=
[
0.0
,
0.0
,
0.0
])
set_camera_view
(
eye
=
[
1.0
,
1.0
,
1.0
],
target
=
[
0.0
,
0.0
,
0.0
])
# Spawn things into stage
# Spawn things into stage
...
...
source/standalone/demo/play_camera.py
View file @
6c317317
...
@@ -106,7 +106,7 @@ def main():
...
@@ -106,7 +106,7 @@ def main():
"""Runs a camera sensor from orbit."""
"""Runs a camera sensor from orbit."""
# Load kit helper
# Load kit helper
sim
=
SimulationContext
(
stage_units_in_meters
=
1.0
,
physics_dt
=
0.005
,
rendering_dt
=
0.005
,
backend
=
"torch"
)
sim
=
SimulationContext
(
physics_dt
=
0.005
,
rendering_dt
=
0.005
,
backend
=
"torch"
)
# Set main camera
# Set main camera
set_camera_view
([
2.5
,
2.5
,
2.5
],
[
0.0
,
0.0
,
0.0
])
set_camera_view
([
2.5
,
2.5
,
2.5
],
[
0.0
,
0.0
,
0.0
])
# Acquire draw interface
# Acquire draw interface
...
...
source/standalone/demo/play_ik_control.py
View file @
6c317317
...
@@ -60,9 +60,7 @@ def main():
...
@@ -60,9 +60,7 @@ def main():
"""Spawns a single-arm manipulator and applies commands through inverse kinematics control."""
"""Spawns a single-arm manipulator and applies commands through inverse kinematics control."""
# Load kit helper
# Load kit helper
sim
=
SimulationContext
(
sim
=
SimulationContext
(
physics_dt
=
0.01
,
rendering_dt
=
0.01
,
backend
=
"torch"
,
device
=
"cuda:0"
)
stage_units_in_meters
=
1.0
,
physics_dt
=
0.01
,
rendering_dt
=
0.01
,
backend
=
"torch"
,
device
=
"cuda:0"
)
# Set main camera
# Set main camera
set_camera_view
([
2.5
,
2.5
,
2.5
],
[
0.0
,
0.0
,
0.0
])
set_camera_view
([
2.5
,
2.5
,
2.5
],
[
0.0
,
0.0
,
0.0
])
# Enable GPU pipeline and flatcache
# Enable GPU pipeline and flatcache
...
...
source/standalone/demo/play_ridgeback_franka.py
View file @
6c317317
...
@@ -78,7 +78,7 @@ def main():
...
@@ -78,7 +78,7 @@ def main():
"""Spawns a mobile manipulator and applies random joint position commands."""
"""Spawns a mobile manipulator and applies random joint position commands."""
# Load kit helper
# Load kit helper
sim
=
SimulationContext
(
stage_units_in_meters
=
1.0
,
physics_dt
=
0.01
,
rendering_dt
=
0.01
,
backend
=
"torch"
)
sim
=
SimulationContext
(
physics_dt
=
0.01
,
rendering_dt
=
0.01
,
backend
=
"torch"
)
# Set main camera
# Set main camera
set_camera_view
([
1.5
,
1.5
,
1.5
],
[
0.0
,
0.0
,
0.0
])
set_camera_view
([
1.5
,
1.5
,
1.5
],
[
0.0
,
0.0
,
0.0
])
# Spawn things into stage
# Spawn things into stage
...
...
source/tools/convert_urdf.py
View file @
6c317317
...
@@ -164,7 +164,7 @@ def main():
...
@@ -164,7 +164,7 @@ def main():
# Open the stage with USD
# Open the stage with USD
stage_utils
.
open_stage
(
dest_path
)
stage_utils
.
open_stage
(
dest_path
)
# Load kit helper
# Load kit helper
sim
=
SimulationContext
(
stage_units_in_meters
=
1.0
)
sim
=
SimulationContext
()
# stage_utils.add_reference_to_stage(dest_path, "/Robot")
# stage_utils.add_reference_to_stage(dest_path, "/Robot")
# Reinitialize the simulation
# Reinitialize the simulation
# Run simulation
# Run simulation
...
...
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