Skip to content

Commit

Permalink
fix(motion_velocity_planner): relax test precision to prevent random …
Browse files Browse the repository at this point in the history
…failures (#8799)

Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp>
maxime-clem authored Sep 6, 2024
1 parent 7f1997d commit e228eeb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -60,7 +60,7 @@ Polygon2d random_polygon()
bool all_within(const MultiPoint2d & pts1, const MultiPoint2d & pts2)
{
// results from the collision checker and the direct checks can have some small precision errors
constexpr auto eps = 1e-3;
constexpr auto eps = 1e-2;
for (const auto & p1 : pts1) {
bool found = false;
for (const auto & p2 : pts2) {

0 comments on commit e228eeb

Please sign in to comment.