Closed jonipol closed 2 years ago
Something I found was that when the topic name in AprilTagNode.cpp at line 55 was changed to
tf
instead of/tf
the remapping started to work as it should but then without remapping the tf was published to/apriltag/tf
regardless of launching method.
I replaced the custom publishing to topic /tf
by the tf2_ros::TransformBroadcaster
. This should handle the topic.
Hello @christianrauch
I am having issues when launching the node from other launch file using
IncludeLaunchDescription
. (Using Foxy). On launch the/tf
topic is somehow published to/apriltag/tf
and setting remappings does nothing to it. (Tried remapping/apriltag/tf
,/tf
andtf
. None of those does it.) But when I launch it from command line withros2 launch ...
the/tf
topic is correctly published from the node.Something I found was that when the topic name in AprilTagNode.cpp at line 55 was changed to
tf
instead of/tf
the remapping started to work as it should but then without remapping the tf was published to/apriltag/tf
regardless of launching method.Also one interesting thing is that I tried adding
/detections
as topic name in detections publisher and I was able to remap it without any problems again regardless of launching method...Wondering why does this happen and why
/tf
seems to behave differently than other topics?Below you can find snippet of the launch I do and the apriltag launch file I use.
apriltag_detection.launch.py