Repository navigation
Accelerate and strengthen asset tests [12/13] - #8154
Closed
AntoineRichard wants to merge 14 commits into
Closed
AntoineRichard wants to merge 14 commits into
AntoineRichard wants to merge 14 commits into
Conversation
AntoineRichard
requested review from
StafaH,
hujc7 and
kellyguo11
as code owners
September 29, 2026 12:48
7 tasks done
Contributor
|
| term = randomize_rigid_body_material( | ||
| EventTermCfg(func=randomize_rigid_body_material, mode="startup", params=params), env | ||
| ) | ||
| term(env, torch.tensor([num_cubes - 1], device=device), **params) |
Contributor
There was a problem hiding this comment.
AntoineRichard
marked this pull request as draft
September 29, 2026 12:55
…/asset-tests-p21-newton-rigid-object
…/asset-tests-p22-newton-rigid-object-collection
…/asset-tests-p21-newton-rigid-object
…/asset-tests-p22-newton-rigid-object-collection
…scene ordering constraint
… body with the scene
6 of 8 tasks
6 of 7 tasks
Collaborator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Part 12/13 of the asset-test series (tracker: #7282). Scope: Newton rigid object and rigid object collection. Depends on #8151; this branch contains their commits until they merge.
What changed
source/isaaclab_newton/test/assets/test_rigid_object.pyandtest_rigid_object_collection.pyrun kitless on locally spawned cubes from #8151's scene helpers, not the Nucleus DexCube and ground plane.test_write_root_statenow also snapshotsbody_link_vel_wbefore any root-frame cache is read. [Tests] Prune Newton tests with the test-audit skill #8008 reportedbody_link_vel_wstale after a COM-velocity write; that does not reproduce on currentdevelop, and the snapshot guards the fix..viewbecoming.reshapeintest_write_object_state: with the sibling interleaved, the collection's pose view is strided.developtest keeps its name and assertions. Ondevelop, the rigid-objectarticulation_rootinitialization row loaded a Nucleus asset that is only anover "object"layer with no defined prims, so it repeated thenonecase; the local row is a real articulation rooted on a rigid body.Disposition
developtest_rigid_object.py::test_initialization_rejects_non_rigid_body_prims[none, articulation_root][none, articulation]expected_num_matches=Noneturns thearticulationrow redtest_rigid_object.py::test_write_root_state[(2,com),(2,link),(2,root),(1,root)]test_write_root_stateloops over the three locations;test_single_instance_initialization_and_root_state_writecovers the single-instance rowbody_link_vel_wview turns it redtest_rigid_object.py:test_external_force_on_single_body,test_rigid_body_set_material_properties,test_rigid_body_set_mass,test_gravity_vec_w_tracks_model_gravity,test_body_root_state_properties,test_body_link_pose_w_fresh_after_root_pose_writetest_rigid_object_collection.py::test_initialization[(1,1,False),(2,3,True)]test_initialization(two envs, three cubes, sibling, pose check) andtest_single_instance_initialization(1×1)test_rigid_object_collection.py:test_set_body_inertial_properties_updates_inverses,test_initialization_with_no_rigid_body,test_external_force_on_single_body,test_gravity_vec_w_tracks_model_gravity,test_object_state_properties,test_write_object_state[com/link/root],test_body_pose_write_marks_fk_reset_maskDevice scope and CI routing
test_devices()(CPU and CUDA by default), as ondevelop. The scenes disable CUDA-graph capture, whichdevelop's defaultNewtonCfgenabled on CUDA; the captured-graph path is covered for articulations in Accelerate and strengthen asset tests [13/13] #8156.developmarked keep@pytest.mark.isaacsim_ci(eight in the rigid-object file;test_gravity_vec_w_tracks_model_gravityandtest_body_pose_write_marks_fk_reset_maskin the collection file), so both files stay selected by Isaac Sim's short CI (ISAACSIM_CI_SHORT).Product observations (not fixed here)
RigidObjectaccepts a single rigid body that carriesArticulationRootAPI. It only rejects a prim path when it finds more than one rigid body. This may differ from PhysX.ArticulationViewmisaddresses per-environment shapes for collections. It does not reproduce with the local single-shape cubes on CPU or CUDA: a maskedset_attribute("shape_material_mu")changes only the selected environment and body in the flat model.randomize_rigid_body_materialrejectsRigidObjectCollectionoutright, so no Isaac Lab path exercises this, and this PR adds no test for it.Timing
Warm Warp cache, repository orchestrator, one process per file, RTX 5090. The second of two runs is reported.
developassets/test_rigid_object.pyassets/test_rigid_object_collection.pyType of change
Release backport
developChecklist
Docker and GPU tests run on demand. Push the commits you want tested, then
comment
run-cion the pull request.pre-commitchecks withuv run isaaclab --formatsource/<pkg>/changelog.d/for every touched package (do not editCHANGELOG.rstor bump package versions — CI handles that)CONTRIBUTORS.mdor my name already exists there