Skip to content

Commit 403fd2f

Browse files
Increase OKFT joint change tolerance to 1e-10
1 parent eaa80bf commit 403fd2f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tesseract_state_solver/src/ofkt_nodes.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@ const std::string& OFKTBaseNode::getJointName() const { return joint_name_; }
7272

7373
void OFKTBaseNode::storeJointValue(double joint_value)
7474
{
75-
if (!tesseract_common::almostEqualRelativeAndAbs(joint_value_, joint_value, 1e-8))
76-
{
77-
joint_value_ = joint_value;
78-
joint_value_changed_ = true;
79-
}
75+
if (tesseract_common::almostEqualRelativeAndAbs(joint_value_, joint_value, 1e-10))
76+
return;
77+
78+
joint_value_ = joint_value;
79+
joint_value_changed_ = true;
8080
}
8181

8282
double OFKTBaseNode::getJointValue() const { return joint_value_; }

0 commit comments

Comments
 (0)