From 44f32fe8a4017411b1a8a874ccb4a48bea228c4d Mon Sep 17 00:00:00 2001 From: Tomoya Kimura Date: Wed, 15 May 2024 16:26:30 +0900 Subject: [PATCH] chore(simple_planning_simulator): publish control mode before the self-position is given (#7008) Signed-off-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; }