Skip to content

Merge branch 'main' of github.com:isaac-sim/IsaacLab into develop - #4935

Merged
kellyguo11 merged 10 commits into
isaac-sim:developfrom
kellyguo11:merge-main-0310
Mar 12, 2026
Merged

kellyguo11 merged 10 commits into
isaac-sim:developfrom
kellyguo11:merge-main-0310

Conversation

@kellyguo11

Copy link
Copy Markdown
Contributor

Description

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (existing functionality will not work without user modification)
  • Documentation update

Checklist

  • I have read and understood the contribution guidelines
  • I have run the pre-commit checks with ./isaaclab.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
  • I have added my name to the CONTRIBUTORS.md or my name already exists there

nv-caelan and others added 4 commits March 7, 2026 20:23
…ck orders (isaac-sim#4875)

# Description

This PR adds 4 new Isaac-Stack-Cube-Franka-IK-Rel-v0 task variants
corresponding to stacking [Red, Green], [Red, Green, Blue], [Blue,
Green], and [Blue, Green, Red]. The objective is to create a test bed
for different success conditions in the same scene.

## Type of change

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

## Checklist

- [x] I have read and understood the [contribution
guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html)
- [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
- [x] 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
Just a few docstring changes for consistency. Low priority and low risk.

## Type of change

- Documentation update

## Checklist

- [x] I have read and understood the [contribution
guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html)
- [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`./isaaclab.sh --format`
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
# Description

Updates Newton docs on main for 3.0 beta changes


## Type of change

- Documentation update


## Checklist

- [x] I have read and understood the [contribution
guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html)
- [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`./isaaclab.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
- [ ] 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
-->
@github-actions github-actions Bot added the isaac-lab Related to Isaac Lab team label Mar 10, 2026
@greptile-apps

greptile-apps Bot commented Mar 11, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR merges main into develop, bringing in two changes: (1) four new Franka cube-stacking task variants with different cube-order termination conditions (Isaac-Stack-Cube-RedGreen/RedGreenBlue/BlueGreen/BlueGreenRed-Franka-IK-Rel-v0), and (2) minor docstring standardisation across RSL-RL config classes ("Default is X" → "Defaults to X").

Key points:

  • The cube-color mapping (cube_1=blue, cube_2=red, cube_3=green) and the bottom-to-top naming convention for the new tasks are internally consistent and verified against stack_joint_pos_env_cfg.py.
  • cubes_stacked in terminations.py is correctly extended to support 2-cube stacking by making cube_3_cfg optional; the conditional logic is sound.
  • The optional isaaclab_teleop import emits a WARNING-level log on every module import, which will be noisy for the many users who do not use XR teleoperation. Recommend suppressing or downgrading to DEBUG.
  • There is a minor double-blank-line inconsistency in __init__.py between two gym.register blocks.

Confidence Score: 4/5

  • Safe to merge with one minor UX concern (import-time warning) that does not affect correctness.
  • All new environment configs are logically correct, cube-color/naming conventions are consistent, and the optional cube_3_cfg path in cubes_stacked handles both 2- and 3-cube stacking properly. The only non-trivial issue is the module-level WARNING log for a missing optional dependency, which is noisy but not a runtime error.
  • source/isaaclab_tasks/isaaclab_tasks/manager_based/manipulation/stack/config/franka/stack_ik_rel_env_cfg.py — import-time warning for missing optional dependency.

Important Files Changed

Filename Overview
source/isaaclab_tasks/isaaclab_tasks/manager_based/manipulation/stack/mdp/terminations.py Makes cube_3_cfg optional (None) so the function supports 2-cube stacking. The conditional block correctly computes cube_2/cube_3 checks only when needed. Logic and type annotations look correct.
source/isaaclab_tasks/isaaclab_tasks/manager_based/manipulation/stack/config/franka/stack_ik_rel_env_cfg.py Adds four new env configs (RedGreen, RedGreenBlue, BlueGreen, BlueGreenRed) and a lazy IsaacTeleop pipeline builder. Cube-to-color mappings (cube_1=blue, cube_2=red, cube_3=green) and bottom-to-top naming convention are internally consistent. Minor issue: module-level WARNING log fires on every import even when teleop is unused.
source/isaaclab_tasks/isaaclab_tasks/manager_based/manipulation/stack/config/franka/init.py Registers four new Gym environments, pointing to the correct config classes. Minor double-blank-line inconsistency between two registration blocks.
source/isaaclab_rl/isaaclab_rl/rsl_rl/rl_cfg.py Docstring-only changes: standardises "Default is X" → "Defaults to X" phrasing throughout. No functional changes.
source/isaaclab_rl/isaaclab_rl/rsl_rl/rnd_cfg.py Docstring improvements: standardised phrasing and added missing docstrings for LinearWeightScheduleCfg.mode and StepWeightScheduleCfg.mode. No functional changes.
source/isaaclab_tasks/docs/CHANGELOG.rst Bumps version entries from 1.5.6→1.5.7, 1.5.5→1.5.6, 1.5.4→1.5.5 and inserts a new 0.11.15 section for the develop-branch tracking the new stack environments.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[cubes_stacked called] --> B[Resolve cube_1 and cube_2 from scene]
    B --> C[Compute pos_diff_c12, xy_dist_c12, h_dist_c12]
    C --> D{stacked = xy aligned AND height correct AND cube_2 above cube_1}
    D --> E{cube_3_cfg is None?}
    E -- Yes --> F[Skip 3rd-cube checks]
    E -- No --> G[Resolve cube_3 from scene]
    G --> H[Compute pos_diff_c23, xy_dist_c23, h_dist_c23]
    H --> I[AND: cube_3 xy-aligned, height correct, above cube_2]
    I --> J[stacked updated]
    F --> J
    J --> K{surface_grippers present?}
    K -- Yes --> L[Check suction cup open]
    K -- No --> M{gripper_joint_names in cfg?}
    M -- Yes --> N[Check both fingers at open_val]
    M -- No --> O[Raise ValueError]
    L --> P[Return stacked tensor]
    N --> P
Loading

Last reviewed commit: 8805166

Comment on lines +20 to +21
_TELEOP_AVAILABLE = False
logging.getLogger(__name__).warning("isaaclab_teleop is not installed. XR teleoperation features will be disabled.")

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Import-time warning for optional dependency

The logging.warning(...) call fires at module import time — even for every user who has never heard of XR teleoperation. This means any training or data-collection script that imports a stack IK-rel environment will emit a noisy WARNING log line on every startup.

Consider using logging.debug here, or suppressing the warning entirely and only emitting it when a user explicitly tries to construct IsaacTeleopCfg (i.e., move the warning inside __post_init__ behind the if _TELEOP_AVAILABLE guard).

Suggested change
_TELEOP_AVAILABLE = False
logging.getLogger(__name__).warning("isaaclab_teleop is not installed. XR teleoperation features will be disabled.")
_TELEOP_AVAILABLE = False

Comment on lines +92 to +94
)


Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Extra blank line between gym registrations

There are two consecutive blank lines between the Isaac-Stack-Cube-RedGreenBlue-Franka-IK-Rel-v0 and Isaac-Stack-Cube-BlueGreen-Franka-IK-Rel-v0 blocks, while every other registration block in the file is separated by a single blank line. This is a minor inconsistency with the surrounding style.

Suggested change
)
)
gym.register(

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

@kellyguo11

Copy link
Copy Markdown
Contributor Author

@nv-caelan @njawale42 - could you please help review the changes to the Franka stack environment and see if they look correct? I didn't realize the previous PR went into main, so merging those updates back to develop.

@nv-caelan

Copy link
Copy Markdown
Contributor

@nv-caelan @njawale42 - could you please help review the changes to the Franka stack environment and see if they look correct? I didn't realize the previous PR went into main, so merging those updates back to develop.

LGTM

@kellyguo11
kellyguo11 merged commit 9ab5d5b into isaac-sim:develop Mar 12, 2026
11 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

isaac-lab Related to Isaac Lab team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants