-
Notifications
You must be signed in to change notification settings - Fork 650
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
fix(obstacle_avoidance_planner): solution of changing the sampling distance of behavior velocity planner causing obstacle avoidance planner to die #1369
fix(obstacle_avoidance_planner): solution of changing the sampling distance of behavior velocity planner causing obstacle avoidance planner to die #1369
Conversation
…er-causing-obstacle_avoidance_planner-to-die Signed-off-by: jack.song <jack.song@autocore.ai>
…stance-of-behavior_velocity_planner-causing-obstacle_avoidance_planner-to-die Signed-off-by: jack.song <jack.song@autocore.ai>
Codecov Report
@@ Coverage Diff @@
## main #1369 +/- ##
========================================
- Coverage 9.63% 9.44% -0.20%
========================================
Files 1097 1096 -1
Lines 77242 76707 -535
Branches 17748 16991 -757
========================================
- Hits 7445 7244 -201
- Misses 62548 62851 +303
+ Partials 7249 6612 -637
*This pull request uses carry forward flags. Click here to find out more.
Continue to review full report at Codecov.
|
@shulanbushangshu |
@taikitanaka3 .Thank you for your review,I will confirm the code and retest |
@taikitanaka3 @kosuke55 ,I have confirmed the code and retest: Modified simulation: |
@shulanbushangshu |
…stance-of-behavior_velocity_planner-causing-obstacle_avoidance_planner-to-die Signed-off-by: jack.song <jack.song@autocore.ai>
@shulanbushangshu I've tested with this PR as you suggests ego can't goal Do you have any good suggestion to arrive goal? |
Thank you for your discussion. |
Signed-off-by: jack.song <jack.song@autocore.ai>
Signed-off-by: jack.song <jack.song@autocore.ai>
@taikitanaka3 @takayuki5168 |
@shulanbushangshu |
@@ -1486,6 +1486,9 @@ ObstacleAvoidancePlanner::alignVelocity( | |||
size_t prev_begin_idx = 0; | |||
for (size_t i = 0; i < fine_traj_points_with_vel.size(); ++i) { | |||
const auto truncated_points = points_utils::clipForwardPoints(path_points, prev_begin_idx, 5.0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const auto truncated_points = points_utils::clipForwardPoints(path_points, prev_begin_idx, 5.0); | |
auto truncated_points = points_utils::clipForwardPoints(path_points, prev_begin_idx, 5.0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think truncated_points.assign(path_points.begin(), path_points.end());
is O
but I found an odd behavior please wait for murooka-san
https://user-images.githubusercontent.com/65527974/179894007-63cfcd49-b4a1-47b3-8e65-1be2bfa0add3.mp4
Signed-off-by: jack.song <jack.song@autocore.ai>
…sampling-distance-of-behavior_velocity_planner-causing-obstacle_avoidance_planner-to-die
@taikitanaka3 Yes,I forget to change the "const".I fix it. |
@shulanbushangshu |
@taikitanaka3 OK,we can set this PR low priority |
@shulanbushangshu can you provide steps to reproduce this issue and show that your solution fixes it? @Sharrrrk will discuss this PR internally. |
@shulanbushangshu @xmfcx @Sharrrrk cc @mitsudome-r |
@shulanbushangshu @taikitanaka3 |
@shulanbushangshu @xmfcx @Sharrrrk |
@takayuki5168 |
…-election-converter feat: add leader election converter
Description
When changing the sampling length in the"behavior_velocity_planner" node, the "obstacle_avoidance_planner"node will die.
The length in the "obstacle_avoidance_planner" node is 5 (fixed). When it is changed to a value greater than 5 in the "behavior_velocity_planner"node, the "obstacle_avoidance_planner" node will die when the vehicle reaches the destination.
Related links
#798
Tests performed
Current simulation:
Modified simulation:
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.
Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.
After all checkboxes are checked, anyone who has write access can merge the PR.