Repository navigation
Adds In hand direct env to develop - #4827
Conversation
Greptile SummaryThis PR adds Newton physics backend support to the Allegro Hand and Shadow Hand in-hand manipulation environments, migrates to Key changes:
Issues found:
Confidence Score: 2/5
Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[InHandManipulationEnv.__init__] --> B{physics_manager is Newton?}
B -- Yes --> C[Bind mask-based write methods\nset_joint_position_target\nwrite_root_pose_to_sim\nwrite_root_velocity_to_sim\nwrite_joint_position_to_sim\nwrite_joint_velocity_to_sim]
B -- No --> D[Bind index-based write methods\nset_joint_position_target_index\nwrite_root_pose_to_sim_index\nwrite_root_velocity_to_sim_index\nwrite_joint_position_to_sim_index\nwrite_joint_velocity_to_sim_index]
A --> E[_setup_scene]
E --> F{object_cfg.class_type?}
F -- Newton --> G[Articulation object]
F -- PhysX --> H[RigidObject object]
G --> I[scene.rigid_objects --- object --- = self.object]
H --> I
I --> J[⚠️ Articulation registered as rigid_object\nwhen Newton is active]
subgraph Newton Cloning Pipeline
K[newton_replicate called\nwith positions in replicate_args] --> L[Build prototype from env_0\nin absolute world coords]
L --> M[For each env: delta_pos = positions - env0_pos]
M --> N[add_builder with delta xform]
end
subgraph PresetCfg Resolution
O[PhysicsCfg / ObjectCfg / EventCfg\nsubclass PresetCfg] --> P{CLI override?}
P -- No --> Q[Use default field]
P -- Yes --> R[Use named field e.g. newton or physx]
end
Last reviewed commit: 4c96558
|
| ^^^^^^^ | ||
|
|
There was a problem hiding this comment.
RST bullet-point continuation needs indentation
The cloning logic. continuation line starts at column 0, so RST parsers will treat it as a new paragraph outside the bullet list rather than the end of the same sentence. The continuation should be indented to align with the text that follows * :
| ^^^^^^^ | |
| * Passed ``default_env_origins`` to the Newton replication pipeline so environment offsets to adapt new newton | |
| cloning logic. |
fe84520 to
39cbad1
Compare
39cbad1 to
d7833d3
Compare
Signed-off-by: Kelly Guo <[email protected]>
Signed-off-by: Kelly Guo <[email protected]>
…_hand_env_cfg.py Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> Signed-off-by: Kelly Guo <[email protected]>
Description
This PR fixes bugs and brings inhand direct envs into isaaclab, notably, we have to migrate to newer newton, and
fixes bugs that the new usd importer brings.
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