Skip to content

Conversation

@christophfroehlich
Copy link
Contributor

@justagist is the original author, but we discussed to move it into this repo to get proper maintenance

justagist/kinematics_interface_pinocchio#11 (comment)

justagist and others added 12 commits August 5, 2024 12:11
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
…s/checkout-4

Bump actions/checkout from 3 to 4
* bump version: changes to support rolling distro

* Add virtual function to avoid compilation error.

Signed-off-by: Marco A. Gutierrez <[email protected]>

* implement inv jacobian function and tests similar to pinocchio_interface_kdl

---------

Signed-off-by: Marco A. Gutierrez <[email protected]>
Co-authored-by: Marco A. Gutierrez <[email protected]>
* Modernize CMakeLists

* Add calculate_frame_difference
@codecov
Copy link

codecov bot commented Oct 3, 2025

Codecov Report

❌ Patch coverage is 84.74576% with 27 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (test/template@7a9ce64). Learn more about missing BASE report.

Files with missing lines Patch % Lines
...e_pinocchio/src/kinematics_interface_pinocchio.cpp 84.39% 13 Missing and 14 partials ⚠️
Additional details and impacted files
@@               Coverage Diff                @@
##             test/template     #199   +/-   ##
================================================
  Coverage                 ?   86.42%           
================================================
  Files                    ?        7           
  Lines                    ?      464           
  Branches                 ?       78           
================================================
  Hits                     ?      401           
  Misses                   ?       34           
  Partials                 ?       29           
Flag Coverage Δ
unittests 86.42% <84.74%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
...lude/kinematics_interface/kinematics_interface.hpp 100.00% <ø> (ø)
...terface/test/kinematics_interface_common_tests.hpp 100.00% <ø> (ø)
...cchio/test/test_kinematics_interface_pinocchio.cpp 100.00% <100.00%> (ø)
...e_pinocchio/src/kinematics_interface_pinocchio.cpp 84.39% <84.39%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@christophfroehlich christophfroehlich marked this pull request as draft October 3, 2025 19:01
@christophfroehlich
Copy link
Contributor Author

I'll draft it, because the plugin has some issues. The jacobian is not well-defined if the tool frame is not the end of the chain (it always has the size of DOF) -> this results in numerical flakiness and failing tests.

@qleonardolp
Copy link

qleonardolp commented Oct 17, 2025

I'll draft it, because the plugin has some issues. The jacobian is not well-defined if the tool frame is not the end of the chain (it always has the size of DOF) -> this results in numerical flakiness and failing tests.

I faced a similar issue writing my impedance controller. In my case, the jacobian was always considering the world frame as the base frame, thus a leg with 3-Dof was given a 3+6 dof Jacobian. My workaround was splitting the robot urdf between the part I need to pass to pinocchio, and the "whole" urdf to pass to Gazebo/Rviz2...

I'd love to her from you about this approach and how it could benefit the ros2_control framework with Pinocchio.

https://github.com/qleonardolp/ros2_impedance_controller
https://github.com/qleonardolp/ros2_descriptions

By the way, what do you guys think about a new impedance controller on ros2_controllers? 👀

@christophfroehlich
Copy link
Contributor Author

Thanks for confirmation that there is no obvious fix ;) @saikishor mentioned that he might have an idea maybe?

@saikishor
Copy link
Member

Thanks for confirmation that there is no obvious fix ;) @saikishor mentioned that he might have an idea maybe?

Yes, we can build a partial model out of the whole model and do the inverse kinematics etc

@christophfroehlich christophfroehlich changed the base branch from master to test/template October 21, 2025 08:17
@mergify
Copy link

mergify bot commented Oct 21, 2025

This pull request is in conflict. Could you fix it @christophfroehlich?

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.

4 participants