Skip to content

Commit eb72adb

Browse files
committed
fix(start_planner): start prepare blinker when autonomous mode is available
Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
1 parent 82cc35a commit eb72adb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

planning/behavior_path_start_planner_module/src/start_planner_module.cpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,9 @@ void StartPlannerModule::updateData()
176176
DEBUG_PRINT("StartPlannerModule::updateData() received new route, reset status");
177177
}
178178

179-
if (!status_.first_approved_time && isActivated()) {
179+
if (
180+
planner_data_->operation_mode->mode == OperationModeState::AUTONOMOUS &&
181+
!status_.first_approved_time && isActivated()) {
180182
status_.first_approved_time = clock_->now();
181183
}
182184

0 commit comments

Comments
 (0)