From 78a31ca9455ab2f7963d62e74a9eb65b268d55a6 Mon Sep 17 00:00:00 2001 From: AMRL user Date: Sat, 12 Oct 2024 03:45:57 -0500 Subject: [PATCH] bugfix: was failing on jackal; so uncomment --- src/navigation/navigation.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/navigation/navigation.cc b/src/navigation/navigation.cc index 616fdc6..123d168 100644 --- a/src/navigation/navigation.cc +++ b/src/navigation/navigation.cc @@ -792,7 +792,7 @@ bool Navigation::GetCarrot(Vector2f& carrot, bool global, float carrot_dist) { } const float kSqCarrotDist = Sq(carrot_dist); - CHECK_GE(plan_path.size(), 2u); + // CHECK_GE(plan_path.size(), 2u); if ((plan_path[0].loc - robot_loc_).squaredNorm() < kSqCarrotDist) { // Goal is within the carrot dist.