We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eaa80bf commit 403fd2fCopy full SHA for 403fd2f
tesseract_state_solver/src/ofkt_nodes.cpp
@@ -72,11 +72,11 @@ const std::string& OFKTBaseNode::getJointName() const { return joint_name_; }
72
73
void OFKTBaseNode::storeJointValue(double joint_value)
74
{
75
- if (!tesseract_common::almostEqualRelativeAndAbs(joint_value_, joint_value, 1e-8))
76
- {
77
- joint_value_ = joint_value;
78
- joint_value_changed_ = true;
79
- }
+ if (tesseract_common::almostEqualRelativeAndAbs(joint_value_, joint_value, 1e-10))
+ return;
+
+ joint_value_ = joint_value;
+ joint_value_changed_ = true;
80
}
81
82
double OFKTBaseNode::getJointValue() const { return joint_value_; }
0 commit comments