Skip to content
Snippets Groups Projects
Commit 4533eaee authored by jcarpent's avatar jcarpent
Browse files

[C++] Add the computation of center of mass related quantities in computeAllTerms

parent b8ac8ba3
No related branches found
No related tags found
No related merge requests found
......@@ -21,6 +21,7 @@
#include "pinocchio/multibody/visitor.hpp"
#include "pinocchio/multibody/model.hpp"
#include "pinocchio/spatial/act-on-set.hpp"
#include "pinocchio/algorithm/center-of-mass.hpp"
#include <iostream>
......@@ -162,6 +163,9 @@ namespace se3
CATBackwardStep::run(model.joints[i],data.joints[i],
CATBackwardStep::ArgsType(model,data));
}
getJacobianComFromCrba(model, data);
centerOfMassAcceleration(model, data, q, v, v, true, false);
}
} // namespace se3
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment