Skip to content

Allow access to action feedback in nav2_behavior_tree::BtActionNode::on_wait_for_result#2972

Merged
SteveMacenski merged 4 commits intoros-navigation:mainfrom
naiveHobo:bt-action-feedback
May 27, 2022
Merged

Allow access to action feedback in nav2_behavior_tree::BtActionNode::on_wait_for_result#2972
SteveMacenski merged 4 commits intoros-navigation:mainfrom
naiveHobo:bt-action-feedback

Conversation

@naiveHobo
Copy link
Contributor


Basic Info

Info Please fill out this column
Ticket(s) this addresses #2958
Primary OS tested on Ubuntu 20.04
Robotic platform tested on Gazebo simulation of turtlebot3

Description of contribution in a few bullet points

  • nav2_behavior_tree::BtActionNode::on_wait_for_result(feedback) allows access to a shared_ptr to the latest feedback message

Description of documentation updates required from your changes


Future work that may be required in bullet points

For Maintainers:

  • Check that any new parameters added are updated in navigation.ros.org
  • Check that any significant change is added to the migration guide
  • Check that any new features OR changes to existing behaviors are reflected in the tuning guide
  • Check that any new functions have Doxygen added
  • Check that any new features have test coverage
  • Check that any new plugins is added to the plugins page
  • If BT Node, Additionally: add to BT's XML index of nodes for groot, BT package's readme table, and BT library lists

@naiveHobo naiveHobo requested a review from SteveMacenski May 27, 2022 05:23
@mergify
Copy link
Contributor

mergify bot commented May 27, 2022

@naiveHobo, please properly fill in PR template in the future. @SteveMacenski, use this instead.

  • Check that any new parameters added are updated in navigation.ros.org
  • Check that any significant change is added to the migration guide
  • Check that any new features OR changes to existing behaviors are reflected in the tuning guide
  • Check that any new functions have Doxygen added
  • Check that any new features have test coverage
  • Check that any new plugins is added to the plugins page
  • If BT Node, Additionally: add to BT's XML index of nodes for groot, BT package's readme table, and BT library lists

@mergify
Copy link
Contributor

mergify bot commented May 27, 2022

@naiveHobo, your PR has failed to build. Please check CI outputs and resolve issues.
You may need to rebase or pull in main due to API changes (or your contribution genuinely fails).

Copy link
Member

@SteveMacenski SteveMacenski left a comment

Choose a reason for hiding this comment

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

LGTM mostly

Copy link
Member

@SteveMacenski SteveMacenski left a comment

Choose a reason for hiding this comment

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

LGTM waiting on CI

@SteveMacenski
Copy link
Member

@naiveHobo
Copy link
Contributor Author

@SteveMacenski Ah, fixed. Sorry about that, I have not been linting too much. 😅

@SteveMacenski SteveMacenski merged commit 80d7d0a into ros-navigation:main May 27, 2022
@SteveMacenski
Copy link
Member

No worries!

@mitchradams
Copy link
Contributor

Great feature! Are there any plans to backport this to Galactic?

@SteveMacenski
Copy link
Member

No, it breaks ABI

redvinaa pushed a commit to EnjoyRobotics/navigation2 that referenced this pull request Jun 30, 2022
…on_wait_for_result (ros-navigation#2972)

* Allow access to action feedback in nav2_behavior_tree::BtActionNode::on_wait_for_result

* Improve function signatures and remove mutex locks

* Remove getFeedback()

* Fix lint errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants