-
Notifications
You must be signed in to change notification settings - Fork 668
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(behavior_path_planner): fix unnecessary output of behavior_path_planner #1481
fix(behavior_path_planner): fix unnecessary output of behavior_path_planner #1481
Conversation
Signed-off-by: jack.song <jack.song@autocore.ai>
Signed-off-by: jack.song <jack.song@autocore.ai>
@@ -2159,6 +2159,7 @@ CandidateOutput AvoidanceModule::planCandidate() const | |||
{ | |||
DEBUG_PRINT("AVOIDANCE planCandidate start"); | |||
CandidateOutput output; | |||
output.distance_to_path_change = 0.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.
@shulanbushangshu
I think this line is not necessary.
because distance_to_path_change is initialized by {std::numeric_limits::lowest()}
Codecov Report
@@ Coverage Diff @@
## main #1481 +/- ##
==========================================
+ Coverage 10.18% 10.38% +0.20%
==========================================
Files 1135 1059 -76
Lines 78538 69873 -8665
Branches 17891 17437 -454
==========================================
- Hits 7998 7257 -741
+ Misses 62922 55259 -7663
+ Partials 7618 7357 -261
*This pull request uses carry forward flags. Click here to find out more.
Continue to review full report at Codecov.
|
@rej55 COuld you please check this PR? This is related to the RTC function. |
@shulanbushangshu |
…d_gate_check_cmd_continuity feat(autoware_vehicle_cmd_gate): check the timestamp of input topics to avoid using old topics
Description
Add conditions to limit unnecessary output without new obstacle avoidance information
Related links
#1476
Tests performed
simulation after adding conditions:
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.