Skip to content

fix(retargeting): correct indexing for partial-body retargeting - #207

Open
nico-bohlinger wants to merge 1 commit into
amazon-far:mainfrom
nico-bohlinger:fix/or-reduced-coordinates
Open

nico-bohlinger wants to merge 1 commit into
amazon-far:mainfrom
nico-bohlinger:fix/or-reduced-coordinates

Conversation

@nico-bohlinger

Copy link
Copy Markdown

Fix indexing bugs when retargeting only part of the robot, such as upper-body-only motion.

These modes mixed indices from the complete robot pose with indices in the smaller optimization vector. This could apply bounds and tracking costs to the wrong coordinates or cause indexing errors when Jacobian columns were selected twice. Initialization also failed to preserve coordinates that should stay locked. The fix consistently maps the selected coordinates into the optimization vector and keeps the rest of the robot pose intact.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

This branch has not been deployed

No deployments
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