christianrauch / apriltag_ros

ROS2 node for AprilTag detection
MIT License
128 stars 85 forks source link

run detector without calibration? #26

Closed berndpfrommer closed 5 months ago

berndpfrommer commented 5 months ago

I was planning on using the detector for calibration purposes, meaning there is no calibration available yet. I would only be using the corner positions and ID from the detection messages. Any suggestions how to do this? The only way I see is to add another configuration parameter that would trigger the use of a regular image transport subscription rather than a camera subscription.

christianrauch commented 5 months ago

You can remap the topic to a topic with uncalibrated images (image_raw). You will still need to publish some fake CameraInfo messages (e.g. a default constructed message) on camea_info to trigger the synchronisation.

berndpfrommer commented 5 months ago

ok, thanks for clarifying!