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

fix(behavior_path_planner): fix unnecessary output of behavior_path_planner #1481

Closed
wants to merge 3 commits into from
Closed

fix(behavior_path_planner): fix unnecessary output of behavior_path_planner #1481

wants to merge 3 commits into from

Conversation

shulanbushangshu
Copy link
Contributor

@shulanbushangshu shulanbushangshu commented Aug 1, 2022

Description

Add conditions to limit unnecessary output without new obstacle avoidance information

Related links

#1476

Tests performed

simulation after adding conditions:
Screenshot from 2022-08-01 15-52-33
no_output

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.

shulanbushangshu and others added 3 commits August 1, 2022 15:43
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;
Copy link
Contributor

@taikitanaka3 taikitanaka3 Aug 1, 2022

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
Copy link

codecov bot commented Aug 1, 2022

Codecov Report

Merging #1481 (2361eb7) into main (420b591) will increase coverage by 0.20%.
The diff coverage is 0.00%.

@@            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     
Flag Coverage Δ *Carryforward flag
differential 0.79% <0.00%> (?)
total 10.45% <0.00%> (+0.28%) ⬆️ Carriedforward from 420b591

*This pull request uses carry forward flags. Click here to find out more.

Impacted Files Coverage Δ
...lanner/scene_module/avoidance/avoidance_module.hpp 0.00% <0.00%> (ø)
...er/src/scene_module/avoidance/avoidance_module.cpp 0.00% <0.00%> (ø)
system/default_ad_api/src/interface.cpp 0.00% <0.00%> (-71.43%) ⬇️
..._ad_api_msgs/msg/response_status__type_support.cpp 0.00% <0.00%> (-66.67%) ⬇️
...ng_simulator/vehicle_model/sim_model_interface.hpp 0.00% <0.00%> (-66.67%) ⬇️
...d_api_msgs/srv/interface_version__type_support.cpp 0.00% <0.00%> (-54.55%) ⬇️
.../_autoware_ad_api_msgs_s.ep.rosidl_typesupport_c.c 0.00% <0.00%> (-47.46%) ⬇️
...auto_common/include/helper_functions/type_name.hpp 66.66% <0.00%> (-33.34%) ⬇️
...l/dds_fastrtps/interface_version__type_support.cpp 0.00% <0.00%> (-32.72%) ⬇️
...s/srv/detail/interface_version__type_support_c.cpp 0.00% <0.00%> (-31.00%) ⬇️
... and 753 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 420b591...2361eb7. Read the comment docs.

@TakaHoribe
Copy link
Contributor

@rej55 COuld you please check this PR? This is related to the RTC function.

@TakaHoribe TakaHoribe added the component:planning Route planning, decision-making, and navigation. (auto-assigned) label Aug 5, 2022
@taikitanaka3
Copy link
Contributor

@shulanbushangshu
@rej55 -san solved this issue with this PR if this solves this problem please open PR
#1510

saka1-s pushed a commit to saka1-s/autoware.universe that referenced this pull request Aug 21, 2024
…d_gate_check_cmd_continuity

feat(autoware_vehicle_cmd_gate): check the timestamp of input topics to avoid using old topics
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:planning Route planning, decision-making, and navigation. (auto-assigned)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants