Idyntree: Compute partial derivatives of jacobian columns w.r.t. to joint positions AKA Hessians

Created on 4 Jul 2018  路  14Comments  路  Source: robotology/idyntree

All 14 comments

What about the floating base part? Should we consider a 6dof joint there?
Also, is there any possibility to use these computations also for the matrix mapping base velocity and joints velocity to the robot momentum?

It depends what you need to compute for the floating base part. Depending on the choice of the frame velocity representation, the joint part of the jacobian may or may not depend on the floating base position/orientation, while for the derivatives of the adjoint transform (i.e. that may be the base part of the jacobian, again depending on the velocity representation) the procedure is a bit more complicated.
If you write down formally the quantity you want to derive, I think it will be easier to explain.
For the robot momentum it is a bit more complicated because you have to account for all the composite rigid body inertia present in the formula of the momentum jacobian.

FYI @mpbos This is a bit hard to understand know, but it is definitely related to your master thesis work.

Aren't those related to time derivative? :thinking:

Yep, but if you expand the use of any velocity with $\mathrm{v} = J \nu$, you almost obtain the partial derivatives w.r.t. to the joint positions.

Dear iDynTree developers,

I have implemented such kind of derivatives here:
https://github.com/stack-of-tasks/pinocchio/blob/devel/src/algorithm/kinematics-derivatives.hxx

I never explicitly compute the tensor H of dimension 6 x nv x nv (where nv is the dimension of the tangent vector - aka joint velocity) but rather H*v (v being the joint velocity).
If you have any question on the code, I will be pleased to help you.

Best,

Justin

Thanks @jcarpent for the useful insight and references.

Thanks @jcarpent! I will definitely go though that. I updated the above comment to have the references all together.

By any chance, do you have any document about the mathematical derivation you implemented?

A bit is explained here:
https://hal.laas.fr/hal-01790971
When deriving RNEA derivatives, you can get for free the derivatives of the kinematics too.
I will try to make these things clearer in a companion document that I need to write.

If you have any questions, I will be pleased to answer them.

Thanks again!

I think that sooner or later we have to implement the Hessian. Let's discuss this in view of the current lab activities, and understand a possible timeline

CC
@S-Dafarra

Was this page helpful?
0 / 5 - 0 ratings