Skip to content

Adds support for conda environment - #42

Merged
Mayankm96 merged 10 commits into
mainfrom
feature/vscode
Mar 28, 2023
Merged

Mayankm96 merged 10 commits into
mainfrom
feature/vscode

Conversation

@Mayankm96

@Mayankm96 Mayankm96 commented Mar 27, 2023 •

Copy link
Copy Markdown
Contributor

Description

This PR updates the shell script orbit.sh to provide a new argument --conda that allows users to create a virtual environment. It uses the environment.yaml file provided by Isaac Sim to configure the conda environment and adds activation and deactivation scripts to the conda environment for safely dealing with environment variables.

To setup the conda environment:

# create conda env
./orbit.sh --conda  # optional environment name. Default is "orbit".
# activate conda env
conda activate orbit
# install all python dependencies
./orbit.sh --install --extra

Fixes: Forum Issue 242951

Type of change

  • New feature (non-breaking change which adds functionality)
  • This change requires a documentation update

Screenshots

Please attach before and after screenshots of the change if applicable.

Checklist

  • I have run the pre-commit checks with ./orbit.sh --format
  • I have made corresponding changes to the documentation
  • 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

@Mayankm96 Mayankm96 changed the title Updates orbit.sh to support conda environment Adds support for conda environment Mar 27, 2023
@Mayankm96 Mayankm96 added the enhancement New feature or request label Mar 27, 2023
@Mayankm96
Mayankm96 merged commit 712ddf2 into main Mar 28, 2023
@Mayankm96
Mayankm96 deleted the feature/vscode branch March 28, 2023 08:53
Mayankm96 added a commit that referenced this pull request Jul 24, 2023
# Description

<!--
Thank you for your interest in sending a pull request. Please make sure
to check the contribution guidelines.

Link: https://isaac-orbit.github.io/orbit/source/refs/contributing.html
-->

As a step towards supporting sensors as "Views", this PR upgrades the
`SensorBase` class to follow a similar definition as `RobotBase` and
updates the sensor implementations as well. Now, the following sensors
are supported:

* `Camera`: This spawns a USD camera object and instantiates it with
replicator OmniGraph for different synthetic data
* `RayCaster`: This is a virtual sensor that uses a warp kernel for
raycasting against static meshes.
* `ContactSensor`: This wraps around the `RigidContactView` from PhysX
to provide the contact forces on encapsulated prims.

Note: Currently camera rendering is not truly parallelized. They are
called sequentially inside the `Camera` to fetch their data.
Additionally, some camera data such as bounding boxes are not possible
to get in the torch backend. Due to this, they are not supported in the
new `Camera` class.

Old the old sensor implementations have been moved to the
`omni.isaac.orbit.compat.sensors` module for backwards compatibility. We
will remove them once we have moved to v1.0.

Fixes #3

<!-- As a practice, it is recommended to open an issue to have
discussions on the proposed pull request.
This makes it easier for the community to keep track of what is being
developed or added, and if a given feature
is demanded by more than one party. -->

## Type of change

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

- New feature (non-breaking change which adds functionality)
- Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- This change requires a documentation update

## Checklist

- [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`./orbit.sh --format`
- [x] 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
- [x] I have updated the changelog and the corresponding version in the
extension's `config/extension.toml` file

<!--
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
-->
Mayankm96 added a commit that referenced this pull request Dec 11, 2023
# Description

Previously, we did not add the Orbit repo to the RSL-RL git repositories
list. This resulted in the git state of the runs not being logged when
using RSL-RL. This MR allows RSL-RL to log the git state of the orbit
repository.

If the argument `--run_name` is passed with the command line interface,
it overrides the default `run_name` in the agent cfg.

Additionally, the MR adds support for different logging types. These
changes were suggested in #36.

If the argument `--logger` is passed with the command line interface, it
overrides the default `logger` in the agent cfg to be one of
tensorboard, wandb or neptune.

## Type of change

- New feature (non-breaking change which adds functionality)

## 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

---------

Co-authored-by: Mayank Mittal <[email protected]>
elin-bdai pushed a commit to fyu-bdai/IsaacLab that referenced this pull request Feb 11, 2025
LJones-alt pushed a commit to LJones-alt/IsaacLab-Laura that referenced this pull request Jul 1, 2026
* adds creating conda envronment using orbit.sh (-c)
* fixes running of formatter in orbit.sh (-f)
* adds docs building to orbit.sh (-d)
* updates docs with orbit.sh help, vscode instructions and state machine sample
LJones-alt pushed a commit to LJones-alt/IsaacLab-Laura that referenced this pull request Jul 1, 2026
# Description

<!--
Thank you for your interest in sending a pull request. Please make sure
to check the contribution guidelines.

Link: https://isaac-orbit.github.io/orbit/source/refs/contributing.html
-->

As a step towards supporting sensors as "Views", this PR upgrades the
`SensorBase` class to follow a similar definition as `RobotBase` and
updates the sensor implementations as well. Now, the following sensors
are supported:

* `Camera`: This spawns a USD camera object and instantiates it with
replicator OmniGraph for different synthetic data
* `RayCaster`: This is a virtual sensor that uses a warp kernel for
raycasting against static meshes.
* `ContactSensor`: This wraps around the `RigidContactView` from PhysX
to provide the contact forces on encapsulated prims.

Note: Currently camera rendering is not truly parallelized. They are
called sequentially inside the `Camera` to fetch their data.
Additionally, some camera data such as bounding boxes are not possible
to get in the torch backend. Due to this, they are not supported in the
new `Camera` class.

Old the old sensor implementations have been moved to the
`omni.isaac.orbit.compat.sensors` module for backwards compatibility. We
will remove them once we have moved to v1.0.

Fixes aarch-uol#3

<!-- As a practice, it is recommended to open an issue to have
discussions on the proposed pull request.
This makes it easier for the community to keep track of what is being
developed or added, and if a given feature
is demanded by more than one party. -->

## Type of change

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

- New feature (non-breaking change which adds functionality)
- Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- This change requires a documentation update

## Checklist

- [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`./orbit.sh --format`
- [x] 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
- [x] I have updated the changelog and the corresponding version in the
extension's `config/extension.toml` file

<!--
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
-->
LJones-alt pushed a commit to LJones-alt/IsaacLab-Laura that referenced this pull request Jul 1, 2026
# Description

Previously, we did not add the Orbit repo to the RSL-RL git repositories
list. This resulted in the git state of the runs not being logged when
using RSL-RL. This MR allows RSL-RL to log the git state of the orbit
repository.

If the argument `--run_name` is passed with the command line interface,
it overrides the default `run_name` in the agent cfg.

Additionally, the MR adds support for different logging types. These
changes were suggested in isaac-sim#36.

If the argument `--logger` is passed with the command line interface, it
overrides the default `logger` in the agent cfg to be one of
tensorboard, wandb or neptune.

## Type of change

- New feature (non-breaking change which adds functionality)

## 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

---------

Co-authored-by: Mayank Mittal <[email protected]>
RLRK-dev added a commit to RLRK-dev/IsaacLab that referenced this pull request Jul 27, 2026
RS71-System-Spec-SSOT.md:15 states the environment in the spec body,
so the queued newton/mujoco update falsifies that line the moment it
runs. Measured here: the installed stack still matches the line, so it
is true today and the dependency has not fired; the same line's HEAD
pin is 1517 commits stale; and the line names neither mujoco_warp nor
warp-lang, so it cannot serve as the collation surface for an env claim
that requires all four.

Record it as DDR isaac-sim#42 so the correction of the spec line and the env-axis
re-collation of existing evidence are both scheduled at firing time.
The update content itself is relayed, not measured here, and marked so.
RLRK-dev added a commit to RLRK-dev/IsaacLab that referenced this pull request Jul 29, 2026
The row was registered as pending on exactly this event. The upgrade ran
and all four axes changed, read from the installed distributions rather
than from the report, while the spec still states the old two, so the
line is false as it stands.

Both consequences the row named come due together: the spec correction,
which is Rs's to make, and the env-axis re-collation of every piece of
evidence produced on the old stack. Timestamp the pre-upgrade reading so
it is not read as current, and pin the upgrade report as read, since it
is not banked.
RLRK-dev added a commit to RLRK-dev/IsaacLab that referenced this pull request Jul 29, 2026
DDR isaac-sim#42's second consequence: today's evidence was produced on mujoco
3.8.1 and the cell now runs 3.10.0.  Split by whether physics is
integrated at all -- the AST reads and the file queries cannot move --
and re-ran the five that do: the sweep, the claw floor, the release
bisection, the reach below the cable, and the saddle windows.

All five reproduce.  The 23-point sweep is byte-identical to the banked
baseline, so it is the same computation rather than a close one.  This
covers probes only: the cell has not been run, and the evidence I did not
produce is outside this.
RLRK-dev added a commit to RLRK-dev/IsaacLab that referenced this pull request Aug 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant