From e6164ac9513dc788fe6c11f4ca06574d43eaaac5 Mon Sep 17 00:00:00 2001 From: Tomohito ANDO Date: Fri, 17 May 2024 08:40:36 +0900 Subject: [PATCH] =?UTF-8?q?chore(simple=5Fplanning=5Fsimulator):=20publish?= =?UTF-8?q?=20control=20mode=20before=20the=20sel=E2=80=A6=20(#1302)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit chore(simple_planning_simulator): publish control mode before the self-position is given (#7008) Signed-off-by: tomoya.kimura Co-authored-by: Tomoya Kimura --- .../simple_planning_simulator/simple_planning_simulator_core.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/simulator/simple_planning_simulator/src/simple_planning_simulator/simple_planning_simulator_core.cpp b/simulator/simple_planning_simulator/src/simple_planning_simulator/simple_planning_simulator_core.cpp index 8de5be9d71503..c3b1731de84ec 100644 --- a/simulator/simple_planning_simulator/src/simple_planning_simulator/simple_planning_simulator_core.cpp +++ b/simulator/simple_planning_simulator/src/simple_planning_simulator/simple_planning_simulator_core.cpp @@ -343,6 +343,7 @@ double SimplePlanningSimulator::calculate_ego_pitch() const void SimplePlanningSimulator::on_timer() { if (!is_initialized_) { + publish_control_mode_report(); RCLCPP_INFO_THROTTLE(get_logger(), *get_clock(), 5000, "waiting initialization..."); return; }