Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Remove in collision goals BT node #4595
Remove in collision goals BT node #4595
Changes from all commits
842de07
5411676
f60d727
82e95fc
e11923a
384bccb
45b8a08
640b0eb
8eccb33
c27c106
29887dd
9465129
7fb4367
facdb1e
135b19b
f0a46ee
9262583
dbd4565
3f0c6c5
a01b09b
4c035ea
7fd9826
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Check warning on line 44 in nav2_behavior_tree/plugins/action/remove_in_collision_goals_action.cpp
Codecov / codecov/patch
nav2_behavior_tree/plugins/action/remove_in_collision_goals_action.cpp#L42-L44
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
request_
is never recreated/reset in bt_service_node. It would make sense to add that there don't you think?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.
I think for this case since the goal vector length can change this is good!
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.
Sorry I wasn't clear enough, I meant to recreate the request in the BTServiceNode parent instead of for every child. Seems like a generic enough thing to do to me.
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.
Oh, I think some rely on it being the same by populating it once in initialization -- but if that's not the case, happy to have that change too. Some API change could come and make that break.
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.
It's only used here in Nav2 but some people might rely on it in their private plugins. I'm happy either way, the benefit of keeping it as is, is at least to have the option to initialize once.
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.
I'm ambivalent unless someone had a compelling argument either way.