You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: planning/behavior_path_planner_common/include/behavior_path_planner_common/interface/scene_module_interface.hpp
+6-9
Original file line number
Diff line number
Diff line change
@@ -373,13 +373,10 @@ class SceneModuleInterface
373
373
RCLCPP_DEBUG(getLogger(), "%s", message.data());
374
374
};
375
375
if (current_state_ == ModuleStatus::IDLE) {
376
-
if (canTransitIdleToRunningState()) {
377
-
log_debug_throttled("transiting from IDLE to RUNNING");
378
-
return ModuleStatus::RUNNING;
379
-
}
380
-
381
-
log_debug_throttled("transiting from IDLE to IDLE");
382
-
return ModuleStatus::IDLE;
376
+
auto init_state = setInitState();
377
+
RCLCPP_DEBUG(
378
+
getLogger(), "transiting from IDLE to %s", magic_enum::enum_name(init_state).data());
379
+
return init_state;
383
380
}
384
381
385
382
if (current_state_ == ModuleStatus::RUNNING) {
@@ -460,9 +457,9 @@ class SceneModuleInterface
460
457
virtualboolcanTransitFailureState() = 0;
461
458
462
459
/**
463
-
* @brief State transition condition IDLE -> RUNNING
0 commit comments