Repository navigation
Merge branch 'main' of github.com:isaac-sim/IsaacLab into develop - #4935
Conversation
…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 -->
Greptile SummaryThis PR merges Key points:
Confidence Score: 4/5
Important Files Changed
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
Last reviewed commit: 8805166 |
| _TELEOP_AVAILABLE = False | ||
| logging.getLogger(__name__).warning("isaaclab_teleop is not installed. XR teleoperation features will be disabled.") |
There was a problem hiding this comment.
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).
| _TELEOP_AVAILABLE = False | |
| logging.getLogger(__name__).warning("isaaclab_teleop is not installed. XR teleoperation features will be disabled.") | |
| _TELEOP_AVAILABLE = False |
| ) | ||
|
|
||
|
|
There was a problem hiding this comment.
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.
| ) | |
| ) | |
| 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!
|
@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 |
Signed-off-by: Kelly Guo <[email protected]>
Signed-off-by: Kelly Guo <[email protected]>
Description
Type of change
Checklist
pre-commitchecks with./isaaclab.sh --formatconfig/extension.tomlfileCONTRIBUTORS.mdor my name already exists there