Skip to content
Discussion options

You must be logged in to vote

Hello @zdpisadaniu, and thanks for your interest in Pinocchio!

I took the liberty of moving your issue to the discussion tab of the repo to avoid gunking up the issue tracker.

If I understand correctly, what you want to do is compute the gravity compensation torque for the underactuated humanoid, correct?

The function you called is not that, not only because the Pinocchio model isn't aware of the foot contact constraint, but because the function you called computed the generalized gravity joint torque (the term $G(q)$ in the classical Lagrangian multibody equation, if you don't know what that is, look it up).

Furthermore you can't just get the motor torques because that is ill-posed, you'…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@zdpisadaniu
Comment options

Answer selected by jcarpent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2737 on August 01, 2025 07:12.