Skip to content

Commit b92522a

Browse files
committed
modify threashold
Signed-off-by: Masaya Kataoka <[email protected]>
1 parent fd865d6 commit b92522a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mock/cpp_mock_scenarios/src/metrics/traveled_distance.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class TraveledDistanceScenario : public cpp_mock_scenarios::CppScenarioNode
4949
} else if (const auto difference = std::abs(
5050
ego_entity.getCanonicalizedStatus().getLaneletPose().s -
5151
ego_entity.getTraveledDistance());
52-
difference > std::numeric_limits<double>::epsilon()) {
52+
difference > 0.001) {
5353
stop(cpp_mock_scenarios::Result::FAILURE);
5454
} // LCOV_EXCL_STOP
5555
else if (api_.getCurrentTime() >= 12) {

0 commit comments

Comments
 (0)