use binary_state rather than default state#5370
use binary_state rather than default state#5370SteveMacenski merged 7 commits intoros-navigation:mainfrom
Conversation
|
@olaghattas, your PR has failed to build. Please check CI outputs and resolve issues. |
26ba889 to
5657c8b
Compare
|
@olaghattas, your PR has failed to build. Please check CI outputs and resolve issues. |
d9bbbba to
3c57579
Compare
|
@olaghattas, your PR has failed to build. Please check CI outputs and resolve issues. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
... and 1 file with indirect coverage changes 🚀 New features to boost your workflow:
|
|
@SteveMacenski I’ve addressed all the errors, but the Lint / ament_mypy (pull_request) check is still failing even though the issue doesn’t seem to originate from nav2_costmap_2d. Do you have any insight on how to resolve this? |
|
@leander-dsouza mypy is acting up once more :( |
Signed-off-by: hello-ola <oghattas@hello-robot.com>
Signed-off-by: hello-ola <oghattas@hello-robot.com>
Signed-off-by: hello-ola <oghattas@hello-robot.com>
Signed-off-by: hello-ola <oghattas@hello-robot.com>
2bc3f52 to
be298d5
Compare
Signed-off-by: hello-ola <oghattas@hello-robot.com>
Signed-off-by: Steve Macenski <stevenmacenski@gmail.com>
I have proposed a fix for this at #5382 :) |
* use binary_state rather than default state Signed-off-by: hello-ola <oghattas@hello-robot.com> * fix test Signed-off-by: hello-ola <oghattas@hello-robot.com> * fix test and comment Signed-off-by: hello-ola <oghattas@hello-robot.com> * linting fix Signed-off-by: hello-ola <oghattas@hello-robot.com> * remove changestate from resetFilter Signed-off-by: hello-ola <oghattas@hello-robot.com> * test fix by pub value in resetfilter method Signed-off-by: hello-ola <oghattas@hello-robot.com> * Update nav2_costmap_2d/plugins/costmap_filters/binary_filter.cpp Signed-off-by: Steve Macenski <stevenmacenski@gmail.com> --------- Signed-off-by: hello-ola <oghattas@hello-robot.com> Signed-off-by: Steve Macenski <stevenmacenski@gmail.com> Co-authored-by: hello-ola <oghattas@hello-robot.com> Co-authored-by: Steve Macenski <stevenmacenski@gmail.com>
Basic Info
Description of contribution in a few bullet points
BinaryFilter::resetFilter()where the filter state was incorrectly restored todefault_state_rather than the last knownbinary_state_which caused incorrect behavior when the costmap was cleared via Behavior Tree.Description of documentation updates required from your changes
None
Description of how this change was tested
binary_state_instead of reverting to thedefault_state_.Future work that may be required in bullet points
None
For Maintainers:
backport-*.