update inverse kinematics to support multiple sites by vittorione94 · Pull Request #399 · google-deepmind/dm_control
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a widely used function, that we don't want to break API compatibility on.
Can you instead add a new function, qpos_from_site_poses which takes a parameter (called site_names rather than sites_names, BTW)?
The existing qpos_from_site_pose function could call down to the new qpos_from_site_poses.