Unverified Commit 1bf9f120 authored by David Hoeller's avatar David Hoeller Committed by GitHub

Adds or fixes AppLauncher for several sensor tutorial scripts (#306)

# Description

This MR changes several sensor tutorial scripts to make correct use of the AppLauncher

## Type of change

- Bug fix (non-breaking change which fixes an issue)

## Checklist

- [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`./orbit.sh --format`
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] I have updated the changelog and the corresponding version in the
extension's `config/extension.toml` file
- [x] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there
parent d58259af
...@@ -71,7 +71,7 @@ def add_sensor(): ...@@ -71,7 +71,7 @@ def add_sensor():
# Setup camera sensor # Setup camera sensor
camera_cfg = RayCasterCameraCfg( camera_cfg = RayCasterCameraCfg(
prim_path="/World/CameraSensor_*", prim_path="/World/CameraSensor_.*",
mesh_prim_paths=["/World/ground"], mesh_prim_paths=["/World/ground"],
update_period=0, update_period=0,
offset=RayCasterCameraCfg.OffsetCfg(pos=(0.0, 0.0, 0.0), rot=(1.0, 0.0, 0.0, 0.0)), offset=RayCasterCameraCfg.OffsetCfg(pos=(0.0, 0.0, 0.0), rot=(1.0, 0.0, 0.0, 0.0)),
......
...@@ -108,7 +108,7 @@ def add_sensor(): ...@@ -108,7 +108,7 @@ def add_sensor():
prim_utils.create_prim("/World/CameraSensor_00", "Xform") prim_utils.create_prim("/World/CameraSensor_00", "Xform")
prim_utils.create_prim("/World/CameraSensor_01", "Xform") prim_utils.create_prim("/World/CameraSensor_01", "Xform")
camera_cfg = CameraCfg( camera_cfg = CameraCfg(
prim_path="/World/CameraSensor_*/Cam", prim_path="/World/CameraSensor_.*/Cam",
update_period=0, update_period=0,
height=480, height=480,
width=640, width=640,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment