Commit 7cd75ac1 authored by Joseph Mirabel's avatar Joseph Mirabel Committed by Joseph Mirabel
Browse files

Fix bug: set Device::upToDate_ to false when the root joint position is changed

* otherwise the kinematic will not be update when calling
* computeForwardKinematics
parent 9e5512e7
......@@ -465,6 +465,7 @@ namespace hpp {
throw std::runtime_error ("The device has no root joint.");
}
rootJoint_->positionInParentFrame_ = position;
upToDate_ = false;
}
JointPtr_t Device::rootJoint () const
......
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