Skip to content

Commit 6b3fb9b

Browse files
tkimura4vividf
authored andcommitted
chore(simple_planning_simulator): publish control mode before the self-position is given (autowarefoundation#7008)
Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> Signed-off-by: vividf <yihsiang.fang@tier4.jp>
1 parent 14be153 commit 6b3fb9b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

simulator/simple_planning_simulator/src/simple_planning_simulator/simple_planning_simulator_core.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,7 @@ double SimplePlanningSimulator::calculate_ego_pitch() const
358358
void SimplePlanningSimulator::on_timer()
359359
{
360360
if (!is_initialized_) {
361+
publish_control_mode_report();
361362
RCLCPP_INFO_THROTTLE(get_logger(), *get_clock(), 5000, "waiting initialization...");
362363
return;
363364
}

0 commit comments

Comments
 (0)