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): reroute for modified goal #3826

Closed
wants to merge 3 commits into from

Conversation

purewater0901
Copy link
Contributor

@purewater0901 purewater0901 commented May 25, 2023

Description

Add a function to enable rerouting when it receives a modified goal.

Related links

Tests performed

Planning Simulator

Notes for reviewers

Interface changes

No interface changes

Effects on system behavior

No effects

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.

@github-actions github-actions bot added the component:planning Route planning, decision-making, and navigation. (auto-assigned) label May 25, 2023
@codecov
Copy link

codecov bot commented May 25, 2023

Codecov Report

Patch coverage has no change and project coverage change: +0.95 🎉

Comparison is base (712c11c) 14.11% compared to head (0669c0a) 15.06%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3826      +/-   ##
==========================================
+ Coverage   14.11%   15.06%   +0.95%     
==========================================
  Files        1438     1332     -106     
  Lines      101526    95069    -6457     
  Branches    27045    27045              
==========================================
- Hits        14328    14326       -2     
+ Misses      71513    65057    -6456     
- Partials    15685    15686       +1     
Flag Coverage Δ *Carryforward flag
differential 12.96% <0.00%> (?)
total 15.10% <ø> (+0.98%) ⬆️ Carriedforward from ec8961a

*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 109 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

return;
}

if (mrm_route_ && mrm_route_->uuid == msg->uuid) {
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
if (mrm_route_ && mrm_route_->uuid == msg->uuid) {
if (is_emergency_ && mrm_route_ && mrm_route_->uuid == msg->uuid) {

?

Copy link
Contributor

Choose a reason for hiding this comment

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

maybe it is not needed if alwawy set mrm_route_ when emegency and clear mrm_route when not emegeryc.

@mitsudome-r mitsudome-r deleted the feat/add-modified-goal branch December 13, 2024 07:26
@mitsudome-r mitsudome-r restored the feat/add-modified-goal branch December 13, 2024 07:26
@mitsudome-r mitsudome-r deleted the feat/add-modified-goal branch December 13, 2024 07:26
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.

2 participants