From 6fd9882fb45bb41fb5736e67624b16d7b5f4c1d5 Mon Sep 17 00:00:00 2001 From: Daniel Sanchez Date: Thu, 26 Sep 2024 12:45:37 +0900 Subject: [PATCH] fix emergency hazard timestamp Signed-off-by: Daniel Sanchez --- .../src/emergency_handler/emergency_handler_core.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/system/emergency_handler/src/emergency_handler/emergency_handler_core.cpp b/system/emergency_handler/src/emergency_handler/emergency_handler_core.cpp index b2ee12afc9c76..bbb7d8ae88575 100644 --- a/system/emergency_handler/src/emergency_handler/emergency_handler_core.cpp +++ b/system/emergency_handler/src/emergency_handler/emergency_handler_core.cpp @@ -106,6 +106,7 @@ autoware_vehicle_msgs::msg::HazardLightsCommand EmergencyHandler::createHazardCm } else { msg.command = HazardLightsCommand::NO_COMMAND; } + msg.stamp = this->now(); return msg; }