Repository navigation
Add native actuator registration and lifecycle hooks - #9352
Draft
AntoineRichard wants to merge 1 commit into
Draft
AntoineRichard wants to merge 1 commit into
AntoineRichard wants to merge 1 commit into
Conversation
This branch has not been deployed
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
Custom actuator configs cannot currently opt into native execution, and asset actuator prims using custom schemas are replaced. Added
register_native_actuatorto pair a config and exact actuator class with anActuatorLayout, including custom Newton component schemas and an optional USD authoring callback.Optional per-group hooks cover preparation, startup parameters, solver readiness and reset on Newton, PhysX and OVPhysX. Contexts expose owned slots within merged actuators. Lab defers Newton component-state allocation until all articulations prepare and dispatches startup hooks after public collection access is ready. Changes stay in Lab; Newton and the existing BAM integration are unchanged.
Type of change
Validation
isaaclab_teleop.entrypoints.run_teleop_replay_agent_cli(Tensor | Nonetype evaluation duringmocked imports). The actuator pages produced no warnings.
Full local runs also exposed environment limits: 16 Newton manager cases explicitly require CUDA, and both existing
test_masked_reset_leaves_unselected_envs_untouchedCPU cases call CUDA cleanup unconditionally. Those two failures were reproduced using the original collection implementation. GPU and full simulator-backend execution remain for CI.Release backport
mainChecklist
isaaclab --formatCONTRIBUTORS.md