tf2_ros transform_broadcaster with node component
OS: WIndows 10 ROS 2 Version: Dashing
HI! I am trying to use tf2_ros/transform_broadcaster with a Node Component. My class is inherited from node, and when I call this from within the class, it returns an rclcpp:node_interfaces::NodeTopicsInterface *.
So, I am passing in this to the constructor, which is a template that takes in a NodeT Object.
I am getting a compilation error, that there is no conversion for NodeT to my class.
Why wouldn't this work?