This PR aims at providing a member function to set on the fly the gravity vector used in CentroidalDynamics.h.
For example, when the reference frame is changed from the world one to a local one, and we want to write the centroidal dynamics in this new local frame, it might be needed to set a new gravity vector.
This PR aims at providing a member function to set on the fly the gravity vector used in CentroidalDynamics.h.
For example, when the reference frame is changed from the
world
one to alocal
one, and we want to write the centroidal dynamics in this newlocal frame
, it might be needed to set a new gravity vector.