File tree 3 files changed +3
-3
lines changed
behavior_path_dynamic_avoidance_module/include/behavior_path_dynamic_avoidance_module
behavior_path_lane_change_module/include/behavior_path_lane_change_module
behavior_path_planner_common/include/behavior_path_planner_common/interface
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -345,7 +345,7 @@ class DynamicAvoidanceModule : public SceneModuleInterface
345
345
346
346
bool canTransitFailureState () override { return false ; }
347
347
348
- ModuleStatus setInitState () override { return ModuleStatus::IDLE; }
348
+ ModuleStatus setInitState () const override { return ModuleStatus::IDLE; }
349
349
350
350
bool isLabelTargetObstacle (const uint8_t label) const ;
351
351
void updateTargetObjects ();
Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ class LaneChangeInterface : public SceneModuleInterface
126
126
127
127
bool canTransitFailureState () override ;
128
128
129
- ModuleStatus setInitState () override { return ModuleStatus::WAITING_APPROVAL; };
129
+ ModuleStatus setInitState () const override { return ModuleStatus::WAITING_APPROVAL; };
130
130
131
131
void updateDebugMarker () const ;
132
132
Original file line number Diff line number Diff line change @@ -459,7 +459,7 @@ class SceneModuleInterface
459
459
/* *
460
460
* @brief Explicitly set the initial state
461
461
*/
462
- virtual ModuleStatus setInitState () { return ModuleStatus::RUNNING; }
462
+ virtual ModuleStatus setInitState () const { return ModuleStatus::RUNNING; }
463
463
464
464
/* *
465
465
* @brief Get candidate path. This information is used for external judgement.
You can’t perform that action at this time.
0 commit comments