Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(behavior_path_planner): update pull over/out for new blinker logic #138

Conversation

kosuke55
Copy link

@kosuke55 kosuke55 commented Sep 24, 2022

Description

Update pull over for new winker logic of @purewater0901

Discussion pull over/out winker behavior (TIER IV internal links)

Related links

Merge the following PRs

Tests performed

  • pull over

shift pull over

shift_pull_over_winkeker_2022-09-24-17-34-20.mp4

arc forward

arc_foward_winker_2022-09-24-17-42-39.mp4

arc backward

arc_backward_winker_2022-09-24-17-46-06.mp4
  • pull out

Since pull_out wants to start driving immediately after approval, the 3 seconds need to be guaranteed by an operator.

back to shift_pull_out

back_pull_out_winker_2022-09-24-18-41-20.mp4

geometric pull out

geometric_pull_out_2022-09-24-18-48-49.mp4

Notes for reviewers

Pre-review checklist for the PR author

The PR author must check the checkboxes below when creating the PR.

In-review checklist for the PR reviewers

The PR reviewers must check the checkboxes below before approval.

  • The PR follows the pull request guidelines.
  • The PR has been properly tested.
  • The PR has been reviewed by the code owners.

Post-review checklist for the PR author

The PR author must check the checkboxes below before merging.

  • There are no open discussions or they are tracked via tickets.
  • The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

@kosuke55 kosuke55 force-pushed the feat/pull_over_out_new_winker branch from 9e80bfa to 0a3a3e0 Compare September 26, 2022 13:00
@kosuke55 kosuke55 changed the title feat(behavior_path_planner): update pull_over for new winker logic feat(behavior_path_planner): update pull_over for new blinker logic Sep 26, 2022
@kosuke55 kosuke55 changed the title feat(behavior_path_planner): update pull_over for new blinker logic feat(behavior_path_planner): update pull_over/out for new blinker logic Sep 26, 2022
@kosuke55 kosuke55 changed the title feat(behavior_path_planner): update pull_over/out for new blinker logic feat(behavior_path_planner): update pull over/out for new blinker logic Sep 26, 2022
// turn hazard light when backward driving
const Pose & current_pose = planner_data_->self_pose->pose;

// turn on hazard light when backward driving
Copy link

@purewater0901 purewater0901 Sep 27, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • add else
  • desired start point = start point of pull out
  • required start point = start point of pull out

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed in 09b7e45

const double distance_to_start =
calcSignedArcLength(full_path.points, current_pose.position, start_pose.position);
const bool is_before_start_pose = distance_to_start >= 0.0;
turn_signal.desired_start_point =

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

desired start point = 3 seconds before the start point of pullover

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed in f6663c5

Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
@codecov-commenter
Copy link

codecov-commenter commented Sep 27, 2022

Codecov Report

❗ No coverage uploaded for pull request base (feat/add-new-intersection-algorithm@af313b8). Click here to learn what that means.
Patch has no changes to coverable lines.

Additional details and impacted files
@@                          Coverage Diff                          @@
##             feat/add-new-intersection-algorithm    #138   +/-   ##
=====================================================================
  Coverage                                       ?   2.49%           
=====================================================================
  Files                                          ?      58           
  Lines                                          ?    6682           
  Branches                                       ?    3426           
=====================================================================
  Hits                                           ?     167           
  Misses                                         ?    6189           
  Partials                                       ?     326           
Flag Coverage Δ
differential 2.48% <0.00%> (?)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
@purewater0901 purewater0901 merged commit 598b715 into feat/add-new-intersection-algorithm Sep 27, 2022
@purewater0901 purewater0901 deleted the feat/pull_over_out_new_winker branch September 27, 2022 07:48
tkimura4 pushed a commit that referenced this pull request Oct 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants