Skip to content

Refresh IsaacArticulationState when robot target changes - #789

Open
sylvesterkaczmarek wants to merge 2 commits into
isaac-sim:developfrom
sylvesterkaczmarek:fix/articulation-state-retarget
Open

Refresh IsaacArticulationState when robot target changes#789
sylvesterkaczmarek wants to merge 2 commits into
isaac-sim:developfrom
sylvesterkaczmarek:fix/articulation-state-retarget

Conversation

@sylvesterkaczmarek

Copy link
Copy Markdown

Description

Make IsaacArticulationState follow runtime changes to robotPath or targetPrim.

The node currently resolves the articulation only while state.initialized is false. After the first successful compute, changing the robot input leaves the cached Articulation bound to the previous robot, so the node continues publishing state from the old articulation while the graph points at the new target.

Resolve the requested robot path on every compute and rebuild the articulation handle when that path changes. Reinitialization also clears the cached DOF/link selection so the current joint selection is resolved against the new articulation rather than reusing indices from the previous robot.

Validation

  • focused regression test starts with cached /RobotA state and retargets the input to /RobotB
  • verifies the articulation initialization path is invoked for /RobotB
  • verifies the DOF selection is re-resolved after the target change
  • unchanged robot targets retain the existing cached handle

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant