Skip to content

refactor: optimize forward kinematics compilation in BaseSolver#275

Closed
lookangela wants to merge 1 commit into
mainfrom
Fix/fk-freeze
Closed

refactor: optimize forward kinematics compilation in BaseSolver#275
lookangela wants to merge 1 commit into
mainfrom
Fix/fk-freeze

Conversation

@lookangela
Copy link
Copy Markdown
Collaborator

This pull request updates the forward kinematics (FK) computation in the base solver to improve efficiency and correctness. The main changes involve how the FK function is compiled and how its output is handled in the get_fk method.

Forward Kinematics Improvements:

  • Refactored the compiled FK function to use a new helper (_fk_end_matrix) that returns only the end-effector transformation matrix, streamlining FK computation.
  • Updated the get_fk method to use the new FK output directly, removing the unnecessary indexing step since the compiled function now returns only the end-effector pose.

@yuecideng yuecideng closed this May 21, 2026
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.

2 participants