How to select camera for apriltag_detector_node.launch

40 views
Skip to first unread message

Ismael Gimenez

unread,
Nov 18, 2022, 6:42:25 AM11/18/22
to tagslam
Hi Bernd,
I have a doubt related to apriltag_detector_node.
If i have a camera recording in real time lets say mycam with topics as : /mycam/camera_info ; /mycam/image_raw ; /mycam/image_raw/compressed
How can i do so apriltag_detector_node tries to detect tags on mycam topics?
Or does it detect mycam topics automatically and use them?
Should i modify apriltag_detector_node.launch so it remaps from other topic?

<remap from="~image/compressed" to="/pg_17274483/image_raw/compressed"/>
to
<remap from="/mycam/image_raw/compressed" to="/pg_17274483/image_raw/compressed"/>

I saw example bag has "/pg_17274483/image_raw/compressed" topic that's where the doubt comes from.
Mycam is an usb camera.
Thank you in advance, Ismael.

Bernd Pfrommer

unread,
Nov 18, 2022, 8:02:40 AM11/18/22
to tagslam

Ismael Gimenez

unread,
Nov 24, 2022, 4:59:52 AM11/24/22
to tagslam
Thank you Bernd,I understand now, I had misunderstood how remap works.
Reply all
Reply to author
Forward
0 new messages