Which constructor of tf2_ros::TransformListener should I use?
There are two constructors of tf2_ros::TransformListener
:
TransformListener(tf2::BufferCore& buffer, const ros::NodeHandle& nh, bool spin_thread)
TransformListener(tf2::BufferCore& buffer, bool spin_thread)
It seems that nh
parameter in the first one is ignored, so they are equivalent. Is it accurate?