You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Really appreciate for the efforts and work in creating and sharing this valuable repo with the robotics community! It has been a great resource for many developers and researchers!
Recently I have been reading and learning the code of ocs2. And I've just come across an tiny inconsistency in the way the angular velocities are represented in the code. Particularly when calculating the inverse dynamics per rnea() and the derivative of the centroidal momentum matrix Adot using Pinocchio library functions.
In computing the Adot, the vPinocchio is used as function input. The vPinocchio is defined in as follows, where base_orientation_zyx_derivatives is used to represent the change of base orientation.
However, when computing the rnea(), the vDesired contains the base angular velocities expressed in the world frame, since it consists of the output from computeBaseKinematicsFromCentroidalModel().
Hi ocs2 team,
Really appreciate for the efforts and work in creating and sharing this valuable repo with the robotics community! It has been a great resource for many developers and researchers!
Recently I have been reading and learning the code of ocs2. And I've just come across an tiny inconsistency in the way the angular velocities are represented in the code. Particularly when calculating the inverse dynamics per rnea() and the derivative of the centroidal momentum matrix Adot using Pinocchio library functions.
ocs2/ocs2_pinocchio/ocs2_centroidal_model/src/CentroidalModelRbdConversions.cpp
Line 225 in ebde452
ocs2/ocs2_pinocchio/ocs2_centroidal_model/src/CentroidalModelRbdConversions.cpp
Line 84 in ebde452
In computing the Adot, the vPinocchio is used as function input. The vPinocchio is defined in as follows, where base_orientation_zyx_derivatives is used to represent the change of base orientation.
ocs2/ocs2_pinocchio/ocs2_centroidal_model/include/ocs2_centroidal_model/CentroidalModelPinocchioMapping.h
Line 58 in ebde452
However, when computing the rnea(), the vDesired contains the base angular velocities expressed in the world frame, since it consists of the output from computeBaseKinematicsFromCentroidalModel().
ocs2/ocs2_pinocchio/ocs2_centroidal_model/src/CentroidalModelRbdConversions.cpp
Line 186 in ebde452
ocs2/ocs2_pinocchio/ocs2_centroidal_model/src/CentroidalModelRbdConversions.cpp
Line 82 in ebde452
I'm curious as to the convention used here. Is there something crucial I'm missing or some specific requirements related to the Pinocchio library?
The text was updated successfully, but these errors were encountered: