Commit 61d5bd1d authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

fix compatibility with pinocchio v2.4.5

ref https://github.com/stack-of-tasks/pinocchio/pull/1220
parent e296becb
......@@ -116,9 +116,9 @@ class RobotWrapper {
void frameClassicAcceleration(const Data& data, const Model::FrameIndex index, Motion& frameAcceleration) const;
void frameJacobianWorld(const Data& data, const Model::FrameIndex index, Data::Matrix6x& J) const;
void frameJacobianWorld(Data& data, const Model::FrameIndex index, Data::Matrix6x& J) const;
void frameJacobianLocal(const Data& data, const Model::FrameIndex index, Data::Matrix6x& J) const;
void frameJacobianLocal(Data& data, const Model::FrameIndex index, Data::Matrix6x& J) const;
protected:
void updateMd();
......
......@@ -166,11 +166,11 @@ void RobotWrapper::frameClassicAcceleration(const Data& data, const Model::Frame
frameAcceleration.linear() += v.angular().cross(v.linear());
}
void RobotWrapper::frameJacobianWorld(const Data& data, const Model::FrameIndex index, Data::Matrix6x& J) const {
void RobotWrapper::frameJacobianWorld(Data& data, const Model::FrameIndex index, Data::Matrix6x& J) const {
return pinocchio::getFrameJacobian(m_model, data, index, pinocchio::WORLD, J);
}
void RobotWrapper::frameJacobianLocal(const Data& data, const Model::FrameIndex index, Data::Matrix6x& J) const {
void RobotWrapper::frameJacobianLocal(Data& data, const Model::FrameIndex index, Data::Matrix6x& J) const {
return pinocchio::getFrameJacobian(m_model, data, index, pinocchio::LOCAL, J);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment