Skip to content

Commit 3e3ea99

Browse files
revise flow chart
Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
1 parent c393079 commit 3e3ea99

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

planning/behavior_path_planner/autoware_behavior_path_lane_change_module/README.md

+8-6
Original file line numberDiff line numberDiff line change
@@ -837,12 +837,11 @@ while(Lane Following)
837837
#Cyan:ABORT;
838838
break
839839
else (NO)
840-
#Yellow:CRUISE/STOP;
841840
endif
842841
endif
843842
else (**NO**)
844843
endif
845-
844+
#Yellow:CRUISE/STOP;
846845
endif
847846
endwhile (**YES**)
848847
else (<color:red><b>UNSAFE</b></color>)
@@ -864,19 +863,22 @@ Lane change paths can oscillate when conditions switch between safe and unsafe.
864863
skinparam defaultTextAlignment center
865864
skinparam backgroundColor #WHITE
866865
867-
title Abort Lane Change
866+
title Hysteresis count flow for oscillation prevention
868867
868+
while (lane changing completed?) is (FALSE)
869869
if (Perform collision check?) then (<color:green><b>SAFE</b></color>)
870870
:Reset unsafe_hysteresis_count_;
871871
else (<color:red><b>UNSAFE</b></color>)
872872
: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>)
874874
else (<color:red><b>TRUE</b></color>)
875875
#LightPink:Check abort condition;
876-
stop
876+
-[hidden]->
877+
detach
877878
endif
878879
endif
879-
:Continue lane changing;
880+
endwhile (TRUE)
881+
stop
880882
@enduml
881883
```
882884

0 commit comments

Comments
 (0)