minor changes#3
Conversation
There was a problem hiding this comment.
Pull request overview
This PR contains multiple experimental changes primarily focused on robotic manipulation tasks, including adjustments to task configurations, termination conditions, backup controller implementations, and dependency updates. The changes appear to be exploratory and developmental in nature, involving modifications to vial insertion tasks, object stacking logic, and ensemble-based policy execution.
Changes:
- Updated termination logic for object insertion and stacking tasks with modified thresholds
- Added new backup controller implementations for different task types (place, insert)
- Modified ensemble evaluation parameters and switching logic
- Updated dependency versions and Docker configuration settings
Reviewed changes
Copilot reviewed 46 out of 49 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| terminations.py | Modified return value for object insertion and adjusted threshold parameters |
| observations.py | Added new observation function and changed threshold value |
| franka_stack_events.py | New file containing event handling functions for stacking tasks |
| lift_env_cfg.py | Changed episode length and commented out observation terms |
| Multiple config files | Added new environment configurations for vision-based and insertion tasks |
| backup_controller files | New controller implementations for place and insert tasks |
| setup.py | Updated dependency versions and architecture support |
| pyproject.toml | Completely restructured from isort to ruff configuration |
| Docker files | Modified base image version and package installation |
Comments suppressed due to low confidence (4)
source/isaaclab_tasks/isaaclab_tasks/manager_based/manipulation/cube_lift/mdp/terminations.py:1
- The function
object_inserted_uprightis returningstackedinstead of the locally-definedinsertedvariable (which was the original return value on line 214). This changes the function's behavior from checking if an object is properly inserted upright to only checking if it's stacked, ignoring the upright validation. This appears to be an unintended logic change that could break insertion task validation.
source/isaaclab_tasks/isaaclab_tasks/manager_based/manipulation/cube_lift/mdp/terminations.py:1 - Uncommented debug print statement should be removed or replaced with proper logging. Debug print statements left in production code can clutter output and impact performance.
source/isaaclab_tasks/isaaclab_tasks/manager_based/manipulation/cube_lift/lift_env_cfg.py:1 - Episode length changed from 500 to 5000 seconds. This appears to be a 10x increase that likely represents 5000 timesteps rather than 5000 seconds. The variable name
episode_length_ssuggests seconds, which would make this an unrealistically long episode (over 83 minutes). Either the value is incorrect or the variable is misnamed.
source/isaaclab/setup.py:1 - The version 'flatdict==4.0.0' does not exist. The latest available version of flatdict is 4.0.1. This will cause installation failures.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| if counts >2: | ||
| if not self.triggered: | ||
| self.triggered = True | ||
| print(f"Uncertaity in joint {joint_num} triggered") |
There was a problem hiding this comment.
Corrected spelling of 'Uncertaity' to 'Uncertainty'.
| print(f"Uncertaity in joint {joint_num} triggered") | |
| print(f"Uncertainty in joint {joint_num} triggered") |
| ISAACSIM_BASE_IMAGE=nvcr.io/nvidia/isaac-sim | ||
| # NVIDIA Isaac Sim version to use (e.g. 5.0.0) | ||
| ISAACSIM_VERSION=5.1.0 | ||
| ISAACSIM_VERSION=5.0.0 |
There was a problem hiding this comment.
Isaac Sim version downgraded from 5.1.0 to 5.0.0. While setup.py was updated to support Isaac Sim 5.1.0 (line 84), the Docker configuration uses an older version. This version mismatch could lead to compatibility issues.
|
|
||
| variance = std.pow(2) | ||
| #print(f"ens variance : {variance}") | ||
| diff = 0 |
There was a problem hiding this comment.
The variable 'diff' is hardcoded to 0 and never calculated, yet it's returned in the metrics dictionary. Either implement the intended calculation or remove this unused metric.
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context.
List any dependencies that are required for this change.
Fixes # (issue)
Type of change
Screenshots
Please attach before and after screenshots of the change if applicable.
Checklist
pre-commitchecks with./isaaclab.sh --formatconfig/extension.tomlfileCONTRIBUTORS.mdor my name already exists there