From c1c1474ab2d9cb18af27f7c8bba0e8ebd6a7e480 Mon Sep 17 00:00:00 2001 From: Daniel Sanchez Date: Tue, 16 Apr 2024 15:25:09 +0900 Subject: [PATCH] remove offset Signed-off-by: Daniel Sanchez --- control/autonomous_emergency_braking/src/node.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/control/autonomous_emergency_braking/src/node.cpp b/control/autonomous_emergency_braking/src/node.cpp index 0f9a363dfcd77..7b81d5b92148c 100644 --- a/control/autonomous_emergency_braking/src/node.cpp +++ b/control/autonomous_emergency_braking/src/node.cpp @@ -314,7 +314,7 @@ bool AEB::checkCollision(MarkerArray & debug_markers) } // step2. create velocity data check if the vehicle stops or not - const double current_v = current_velocity_ptr_->longitudinal_velocity + 2.25; + const double current_v = current_velocity_ptr_->longitudinal_velocity; if (current_v < 0.1) { return false; }