-
Notifications
You must be signed in to change notification settings - Fork 673
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat/behavior velocity memorize last observed tl (#37)
Signed-off-by: Mamoru Sobue <[email protected]> Before this commit, is_permanent_go_ became TRUE if ego is - before default stop line OR - over (1st) pass judge line OR - middle speed (larger than keep_detection_velocity_threshold) AND - over default stop line AND - over (1st) pass judge line AND - is_go_out_ AND - previously SAFE , which is equal to - over default stop line AND - over (1st) pass judge line AND - middle speed AND - is_go_out_ AND - previously SAFE . With this commit, is_go_out_ condition is removed because it is equivalent to "previously SAFE" when auto-mode, and when manual-mode still it is equivaent to it for the following reason: - even if occlusion/collision does not exist but the occlusion is disapproved, this module calculates "ext_occlusion_requested" and this state is judged as occluded. So the previous state is OCCLUDED, which means "previously SAFE" == false and it matches is_go_out_(this value is set to false by occlusion_activated_ through RTC) In manual-mode RTC approval is used regardless of how this module judges, so when both "intersection" and "intersection_occlusion" is disapproved, ego will keep stopping at the default_stopline(if disapproval is not too late and did not pass the sole pass judge line) although the internal state changes from "FirstWaitBefoPeeking" to "PeekingTowardOcclusion". Then if "intersection" is approved, still the state is OCCLUDED(because ext_occlusion_requested) and "previously SAFE" == false matches is_go_out_ == false. If only "intersection_occlusion" is approved and "intersection" is disapproved, it is expected that ego is NOT after default_stopline(maybe this is not the case due to low control precision) and NOT after pass_judge_line(it is highly expected because if ego is stopped at the default stopline pass judge line is almost at the first_attention_area_stopline) so it will keep stopping. The time when ego passed 1st/2nd pass judge line safely is stored, and the visualization of each pass judge line pose is red if ego passed the pass judge line safely. Signed-off-by: Mamoru Sobue <[email protected]>
- Loading branch information
Showing
5 changed files
with
94 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters