Skip to content

[PyKDL] add vector version of JntToCart for fk pos and vel #497

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

MatthijsBurgh
Copy link
Collaborator

No description provided.

Copilot

This comment was marked as outdated.

@MatthijsBurgh MatthijsBurgh requested a review from Copilot July 24, 2025 09:37
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds vector-based versions of the JntToCart method for both forward kinematics position and velocity solvers in PyKDL. The changes enable computing forward kinematics for all segments in a kinematic chain simultaneously, returning results in a list format rather than computing individual segments one at a time.

Key changes:

  • Implements vector versions of JntToCart methods using lambda functions with pybind11
  • Adds comprehensive test coverage for both position and velocity vector forward kinematics
  • Replaces previously commented-out implementations with working solutions

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
python_orocos_kdl/PyKDL/kinfam.cpp Implements vector versions of JntToCart methods for ChainFkSolverPos and ChainFkSolverVel using lambda wrappers
python_orocos_kdl/tests/kinfamtest.py Adds test methods testFkPosVect and testFkVelVect to validate the new vector functionality

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