File tree 1 file changed +8
-6
lines changed
planning/behavior_path_planner/autoware_behavior_path_lane_change_module
1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -837,12 +837,11 @@ while(Lane Following)
837
837
#Cyan:ABORT;
838
838
break
839
839
else (NO)
840
- #Yellow:CRUISE/STOP;
841
840
endif
842
841
endif
843
842
else (**NO**)
844
843
endif
845
-
844
+ #Yellow:CRUISE/STOP;
846
845
endif
847
846
endwhile (**YES**)
848
847
else (<color:red><b>UNSAFE</b></color>)
@@ -864,19 +863,22 @@ Lane change paths can oscillate when conditions switch between safe and unsafe.
864
863
skinparam defaultTextAlignment center
865
864
skinparam backgroundColor #WHITE
866
865
867
- title Abort Lane Change
866
+ title Hysteresis count flow for oscillation prevention
868
867
868
+ while (lane changing completed?) is (FALSE)
869
869
if (Perform collision check?) then (<color:green><b>SAFE</b></color>)
870
870
:Reset unsafe_hysteresis_count_;
871
871
else (<color:red><b>UNSAFE</b></color>)
872
872
:Increase unsafe_hysteresis_count_;
873
- if (unsafe_hysteresis_count_ > unsafe_hysteresis_threshold?) then (<color:green><b>FALSE</b></color>)
873
+ if (unsafe_hysteresis_count_ is more than\n unsafe_hysteresis_threshold?) then (<color:green><b>FALSE</b></color>)
874
874
else (<color:red><b>TRUE</b></color>)
875
875
#LightPink:Check abort condition;
876
- stop
876
+ -[hidden]->
877
+ detach
877
878
endif
878
879
endif
879
- :Continue lane changing;
880
+ endwhile (TRUE)
881
+ stop
880
882
@enduml
881
883
```
882
884
You can’t perform that action at this time.
0 commit comments