Commit 1f9437f7 authored by Kelly Guo's avatar Kelly Guo Committed by Kelly Guo

Updates IMU demo script with renaming changes (#247)

# Description

Updates IMU demo script with renaming changes for Isaac Lab 2.0. Mainly
`omni.isaac.lab` imports have been renamed to `isaaclab`


## Type of change

<!-- As you go through the list, delete the ones that are not
applicable. -->

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



## Checklist

- [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`./isaaclab.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
- [ ] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there

<!--
As you go through the checklist above, you can mark something as done by
putting an x character in it

For example,
- [x] I have done this task
- [ ] I have not done this task
-->
parent 8d9ef6fa
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
import argparse import argparse
from omni.isaac.lab.app import AppLauncher from isaaclab.app import AppLauncher
# add argparse arguments # add argparse arguments
parser = argparse.ArgumentParser(description="Tutorial on adding sensors on a robot.") parser = argparse.ArgumentParser(description="Tutorial on adding sensors on a robot.")
...@@ -25,16 +25,16 @@ simulation_app = app_launcher.app ...@@ -25,16 +25,16 @@ simulation_app = app_launcher.app
import torch import torch
import omni.isaac.lab.sim as sim_utils import isaaclab.sim as sim_utils
from omni.isaac.lab.assets import AssetBaseCfg from isaaclab.assets import AssetBaseCfg
from omni.isaac.lab.scene import InteractiveScene, InteractiveSceneCfg from isaaclab.scene import InteractiveScene, InteractiveSceneCfg
from omni.isaac.lab.sensors import ImuCfg from isaaclab.sensors import ImuCfg
from omni.isaac.lab.utils import configclass from isaaclab.utils import configclass
## ##
# Pre-defined configs # Pre-defined configs
## ##
from omni.isaac.lab_assets.anymal import ANYMAL_C_CFG # isort: skip from isaaclab_assets.robots.anymal import ANYMAL_C_CFG # isort: skip
@configclass @configclass
......
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