Getting a Node::SharedPtr from "this"
A number of functions expect a rclcpp::Node::SharedPtr
, but when you are in an rclcpp::Node
subclass it is not available, and of course something like foo(rclcpp::Node::SharedPtr(this));
is a great way to crash your program. Is there some registry of these SharedPtr
s to query?