Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com>
This commit is contained in:
parent
8f2809df64
commit
47f21dab3d
1 changed files with 2 additions and 1 deletions
|
@ -100,8 +100,9 @@ public:
|
||||||
|
|
||||||
rclcpp::Context::SharedPtr context_;
|
rclcpp::Context::SharedPtr context_;
|
||||||
rclcpp::node_interfaces::NodeGraphInterface::WeakPtr node_graph_;
|
rclcpp::node_interfaces::NodeGraphInterface::WeakPtr node_graph_;
|
||||||
std::shared_ptr<rcl_action_client_t> client_handle{nullptr};
|
// node_handle must be destroyed after client_handle to prevent memory leak
|
||||||
std::shared_ptr<rcl_node_t> node_handle{nullptr};
|
std::shared_ptr<rcl_node_t> node_handle{nullptr};
|
||||||
|
std::shared_ptr<rcl_action_client_t> client_handle{nullptr};
|
||||||
rclcpp::Logger logger;
|
rclcpp::Logger logger;
|
||||||
|
|
||||||
using ResponseCallback = std::function<void (std::shared_ptr<void> response)>;
|
using ResponseCallback = std::function<void (std::shared_ptr<void> response)>;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue