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(default_ad_api_helpers): support goal modification for rviz #3370

Conversation

isamu-takagi
Copy link
Contributor

@isamu-takagi isamu-takagi commented Apr 12, 2023

Description

Add new goal pose topic with goal modification for rviz.

Related links

autowarefoundation/autoware#3406

Tests performed

Check allow_goal_modification value using /service_log topic.

  • False by default
  • True if change the rviz goal topic to /rviz/routing/rough_goal

Notes for reviewers

None

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.

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>
@isamu-takagi isamu-takagi requested review from tkhmy, kenji-miyake, yabuta and a team as code owners April 12, 2023 06:17
@github-actions github-actions bot added type:documentation Creating or refining documentation. (auto-assigned) component:system System design and integration. (auto-assigned) labels Apr 12, 2023
@codecov
Copy link

codecov bot commented Apr 12, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.01 ⚠️

Comparison is base (6b6fe15) 12.31% compared to head (df187e2) 12.31%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3370      +/-   ##
==========================================
- Coverage   12.31%   12.31%   -0.01%     
==========================================
  Files        1381     1381              
  Lines       96793    96801       +8     
  Branches    28020    28020              
==========================================
  Hits        11919    11919              
- Misses      72245    72253       +8     
  Partials    12629    12629              
Flag Coverage Δ *Carryforward flag
differential 0.00% <0.00%> (?)
total 12.31% <ø> (+<0.01%) ⬆️ Carriedforward from 6b6fe15

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

Impacted Files Coverage Δ
...pi_helpers/ad_api_adaptors/src/routing_adaptor.cpp 0.00% <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 in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Contributor

@kosuke55 kosuke55 left a comment

Choose a reason for hiding this comment

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

thanks! works fine!

allow_goal_modification-2023-04-12_22.33.18.mp4

@kosuke55
Copy link
Contributor

@tkhmy @yabuta @kenji-miyake
Could you please check as a code owner?

@kenji-miyake
Copy link
Contributor

@kosuke55 @isamu-takagi Could you explain some items?

  • Why does the goal from RViz need to be rough?
  • How does it behave when you give a rough goal from RViz?

I can approve this after they become clear and seem to be rational.

@kosuke55
Copy link
Contributor

@kenji-miyake

  • We are evolving pull_over to create a goal_planner
    • This module determines the goal position according to Autoware's decision when goal modification is allowed.
      • To avoid obstacles
      • Refine the goal according to a certain policy (e.g. right-align, left-align)
    • When the goal is not modified, it behaves as before.
      • Simply stop against the original goal by just lane following.

For above,

Why does the goal from RViz need to be rough?

  • This is an option to allow goal modification and to trigger the goal_planner.
  • The API to allow goal modification is provided, and here we create a means to call it from rviz.
  • For now, we temporarily support just rough goal in rviz, but in the future there will be a panel of tools to manipulate various Route API from rviz.

How does it behave when you give a rough goal from RViz?

  • It behaves by modifying the goal for avoiding obstacles, stopping at the lane edge, etc.

Copy link
Contributor

@kenji-miyake kenji-miyake left a comment

Choose a reason for hiding this comment

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

Looks cool with #3370 (comment).

@isamu-takagi isamu-takagi merged commit 4f0769f into autowarefoundation:main Apr 13, 2023
@isamu-takagi isamu-takagi self-assigned this Apr 13, 2023
@isamu-takagi isamu-takagi deleted the feat/routing-adaptor-goal-modification branch April 13, 2023 04:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:system System design and integration. (auto-assigned) type:documentation Creating or refining documentation. (auto-assigned)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants