-
Notifications
You must be signed in to change notification settings - Fork 682
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 normal reroute implementation #3461
Conversation
Signed-off-by: yutaka <purewater0901@gmail.com>
Signed-off-by: yutaka <purewater0901@gmail.com>
Signed-off-by: yutaka <purewater0901@gmail.com>
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## main #3461 +/- ##
==========================================
- Coverage 15.10% 14.60% -0.51%
==========================================
Files 1332 1287 -45
Lines 94823 90476 -4347
Branches 27009 28211 +1202
==========================================
- Hits 14321 13210 -1111
+ Misses 64813 63100 -1713
+ Partials 15689 14166 -1523
*This pull request uses carry forward flags. Click here to find out more.
☔ View full report in Codecov by Sentry. |
|
||
// update (initialize) route | ||
if (!initialize_route_) { | ||
original_route_ = std::make_shared<LaneletRoute>(route); | ||
initialize_route_ = true; | ||
} |
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.
move this process to on_set_route
?
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.
fixed in 4e921cc, seems ok
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.
@isamu-takagi
assume that change_route is called after set_route, if change_route is called first original_route is not set. is it ok?
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.
or change_route
should change original_route?
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.
The change_route
interface only works after setting the route. So please add a check if the route state is SET
.
Signed-off-by: yutaka <purewater0901@gmail.com>
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.
LGTM
Description
Add normal reroute implementation to the mission planner
🤖 Generated by Copilot at e07f7a8
This pull request enhances the
mission_planner
component to support dynamic rerouting based on user or system inputs. It adds new functions and types to handle vector map and reroute messages, and a new parameter to configure the reroute time threshold. It also improves the readability and consistency of the existing code.Related links
Tests performed
Notes for reviewers
Interface changes
Effects on system behavior
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.