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(mission_planner): add reroute interface for mrm #3299

Merged

Conversation

isamu-takagi
Copy link
Contributor

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

Description

Add reroute interface for mrm.
autowarefoundation/autoware#3406

Tests performed

Not applicable.

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.

  • There are no open discussions or they are tracked via tickets.

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

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>
@github-actions github-actions bot added type:documentation Creating or refining documentation. (auto-assigned) component:planning Route planning, decision-making, and navigation. (auto-assigned) labels Apr 6, 2023
@isamu-takagi isamu-takagi self-assigned this Apr 6, 2023
@isamu-takagi isamu-takagi requested a review from yukkysaito April 6, 2023 11:34
@codecov
Copy link

codecov bot commented Apr 6, 2023

Codecov Report

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

Comparison is base (1d1fcac) 13.25% compared to head (aa320bc) 12.54%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3299      +/-   ##
==========================================
- Coverage   13.25%   12.54%   -0.72%     
==========================================
  Files        1384     1366      -18     
  Lines       97016    94639    -2377     
  Branches    28212    26769    -1443     
==========================================
- Hits        12857    11868     -989     
+ Misses      70351    70234     -117     
+ Partials    13808    12537    -1271     
Flag Coverage Δ *Carryforward flag
differential 20.50% <0.00%> (?)
total 12.54% <ø> (-0.71%) ⬇️ Carriedforward from 0d0442e

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

Impacted Files Coverage Δ
...on_planner/src/mission_planner/mission_planner.cpp 0.00% <0.00%> (ø)

... and 193 files with indirect coverage changes

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.

| `/planning/routing/clear_route` | autoware_adapi_v1_msgs/srv/ClearRoute | route clear request |
| `/planning/routing/set_route_points` | autoware_adapi_v1_msgs/srv/SetRoutePoints | route request with pose waypoints |
| `/planning/routing/set_route` | autoware_planning_msgs/srv/SetRoute | route request with HAD map format |
| `~/srv/set_mrm` | autoware_planning_msgs/srv/SetPoseWithUuidStamped | set emergency route |
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
| `~/srv/set_mrm` | autoware_planning_msgs/srv/SetPoseWithUuidStamped | set emergency route |
| `~/srv/set_mrm_goal` | autoware_planning_msgs/srv/SetPoseWithUuidStamped | set emergency route |

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done 9d8573f.

| `/planning/routing/clear_route` | autoware_adapi_v1_msgs/srv/ClearRoute | route clear request |
| `/planning/routing/set_route_points` | autoware_adapi_v1_msgs/srv/SetRoutePoints | route request with pose waypoints |
| `/planning/routing/set_route` | autoware_planning_msgs/srv/SetRoute | route request with HAD map format |
| `~/srv/set_mrm_goal` | autoware_planning_msgs/srv/SetPoseWithUuidStamped | set emergency route |
Copy link
Contributor

Choose a reason for hiding this comment

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

mrm_goal is good for me since currently only one goal is sent for rerouting, but would you prefer mrm_route?

Copy link
Contributor

Choose a reason for hiding this comment

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

@isamu-takagi how about this?:pray: I saw the comment (tier4 internal link)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sorry for late reply. I renamed them 4605211.

Copy link
Contributor

Choose a reason for hiding this comment

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

ok, thanks
just a comment, that the name is mrm_route but the type is PoseWithUuidStamped is a little confusing, but it's ok for me.

Copy link
Contributor Author

@isamu-takagi isamu-takagi Apr 18, 2023

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Change service type aa320bc.


namespace mission_planner
{

struct SetMrmGoal
Copy link
Contributor

Choose a reason for hiding this comment

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

how about here? SetMrmRoute?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thank you. Fixed it f02299e.

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>
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.

LGTM

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>
@kosuke55 kosuke55 merged commit cab563a into autowarefoundation:main Apr 18, 2023
@isamu-takagi isamu-takagi deleted the feat/mission-planner-reroute-mrm branch April 18, 2023 07:19
Mingyu1991 pushed a commit to Mingyu1991/autoware.universe that referenced this pull request Jun 26, 2023
…ion#3299)

* feat(mission_planner): add reroute interface for mrm

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>

* feat: fix readme

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>

* feat: rename mrm interface

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>

* feat: rename mrm interface

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>

* feat: change route service type

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>

---------

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>
Signed-off-by: Mingyu Li <mingyu.li@tier4.jp>
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) type:documentation Creating or refining documentation. (auto-assigned)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants