rclcpp/rclcpp_action
Jacob Perron c7b62bff71
[rclcpp_action] Action client holds weak pointers to goal handles (#1122)
* [rclcpp_action] Action client holds weak pointers to goal handles

Fixes #861

It is against the design of ROS actions to rely on the status topic for the core implementation,
instead it should just be used for introspection.

Rather than relying on the status topic to remove references to goal handles, the action client
instead holds weak pointers to the goal handles. This way as long as a user holds a reference to
the goal handle they can use it to interact with the action client.

Signed-off-by: Jacob Perron <jacob@openrobotics.org>

* Move cleanup logic to the end of the function

Signed-off-by: Jacob Perron <jacob@openrobotics.org>

* Add TODO

Signed-off-by: Jacob Perron <jacob@openrobotics.org>

* Log debug messages when dropping a weak references to goal handles

Signed-off-by: Jacob Perron <jacob@openrobotics.org>

* Improve documentation

Signed-off-by: Jacob Perron <jacob@openrobotics.org>
2020-05-22 11:41:34 -07:00
..
include/rclcpp_action [rclcpp_action] Action client holds weak pointers to goal handles (#1122) 2020-05-22 11:41:34 -07:00
src Fix typo in action client logger name (#937) 2019-12-05 16:29:13 -08:00
test Deprecate ClientGoalHandle::async_result() (#1120) 2020-05-21 11:39:07 -07:00
CHANGELOG.rst 1.0.0 2020-05-12 14:05:31 -07:00
CMakeLists.txt Increasing test coverage of rclcpp_action (#1043) 2020-04-29 14:25:52 -07:00
Doxyfile Add Doxyfile for rclcpp_action 2019-03-12 11:56:18 -07:00
package.xml 1.0.0 2020-05-12 14:05:31 -07:00
QUALITY_DECLARATION.md [Quality Declaration] Fixed rep links and added more details to dependencies (#1116) 2020-05-13 15:47:05 +02:00
README.md Added features to rclcpp packages (#1106) 2020-05-15 16:41:25 +02:00

rclcpp_action

Adds action APIs for C++.

Visit the rclcpp_action API documentation for a complete list of its main components and features. For more information about Actions in ROS 2, see the design document.

Quality Declaration

This package claims to be in the Quality Level 4 category, see the Quality Declaration for more details.