• lgulich's avatar
    Fixes action plotting import (#258) · 18e45115
    lgulich authored
    Without this fix I get the following error when enabling the action plot
    in the IsaacSim GUI:
    
    ```
    2025-01-28 08:28:06 [594,911ms] [Error] [omni.ui.python] NameError: name 'isaacsim' is not defined
    
    At:
      IsaacLab/source/isaaclab/isaaclab/ui/widgets/line_plot.py(501): _build_filter_frame
      IsaacLab/source/isaaclab/isaaclab/sim/simulation_context.py(508): render
      IsaacLab/source/isaaclab/isaaclab/envs/manager_based_rl_env.py(193): step
      venv/lib/python3.10/site-packages/gymnasium/core.py(322): step
      venv/lib/python3.10/site-packages/gymnasium/wrappers/common.py(393): step
      IsaacLab/scripts/environments/inference_agent.py(104): main
      IsaacLab/scripts/environments/inference_agent.py(110): <module>
    ```
    
    - Bug fix (non-breaking change which fixes an issue)
    
    - [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
    - [x] I have added my name to the `CONTRIBUTORS.md` or my name already
    exists there
    18e45115
Name
Last commit
Last update
.aws Loading commit data...
.github Loading commit data...
.vscode Loading commit data...
apps Loading commit data...
docker Loading commit data...
docs Loading commit data...
scripts Loading commit data...
source Loading commit data...
tools Loading commit data...
.dockerignore Loading commit data...
.flake8 Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.pre-commit-config.yaml Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS.md Loading commit data...
LICENSE Loading commit data...
LICENSE-mimic Loading commit data...
README.md Loading commit data...
VERSION Loading commit data...
isaaclab.bat Loading commit data...
isaaclab.sh Loading commit data...
pyproject.toml Loading commit data...