Computation of Jacobian of $Ag(q) v$ with respect to $q$, when $n_q > n_v$ #2244
Replies: 1 comment
-
The notebook from JNRH'2023 may give some ideas:
|
Beta Was this translation helpful? Give feedback.
-
The notebook from JNRH'2023 may give some ideas:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Closed due to my basic mathematical mistake
$h = Ag(q) v$ is a frequently appearing equation in literature on trajectory optimization using centroidal dynamics, where $h$ is the centroidal angular momentum, Ag is CMM, $q$ and $v$ are generalized position and velocity. (e.g. Eq. (7c) in Dai+2014, Eq. (5) in Kuindersma+2016)
To enforce this relation as equality constraints in trajectory optimization, we need to compute the Jacobian$J = \frac{\partial A_g(q) v}{\partial q}$ . If $n_q = n_v$ , we can compute the Jacobian using a pinocchio-provided function dccrba which computes the $dA_g(q)/dt$ matrix. Namely $dA_g(q)/dt = \frac{\partial A_g(q)}{\partial q} \cdot \frac{dq}{dt} = J$ .$q$ has a redundant dimension and $n_q > n_v$ .
However, this is not possible if the pinocchio representation of the floating body's orientation uses a quaternion. In this case, the representation of
If anybody has worked on the computation of the Jacobian in such a case, I'd be grateful if you could give me some ideas.
reference
Beta Was this translation helpful? Give feedback.
All reactions