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 fd865d6 commit b92522aCopy full SHA for b92522a
mock/cpp_mock_scenarios/src/metrics/traveled_distance.cpp
@@ -49,7 +49,7 @@ class TraveledDistanceScenario : public cpp_mock_scenarios::CppScenarioNode
49
} else if (const auto difference = std::abs(
50
ego_entity.getCanonicalizedStatus().getLaneletPose().s -
51
ego_entity.getTraveledDistance());
52
- difference > std::numeric_limits<double>::epsilon()) {
+ difference > 0.001) {
53
stop(cpp_mock_scenarios::Result::FAILURE);
54
} // LCOV_EXCL_STOP
55
else if (api_.getCurrentTime() >= 12) {
0 commit comments