Package Summary

Tags No category tags.
Version 2.1.0
License Apache2
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ros-misc-utilities/apriltag_detector.git
VCS Type git
VCS Version humble
Last Updated 2024-05-12
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

ROS2 package for apriltag detection

Additional Links

No additional links.

Maintainers

  • Bernd Pfrommer

Authors

No additional authors.

ROS Apriltag detector package

This package has the base class header files for apriltag detector plugins for the UMich and the MIT detector.

It also has launch files for both of these detectors, so by installing this package you can use both of these detectors interchangeably. Note that UMich detector is more sensitive and faster, but it does not work when tags are encroached by black markers or have double-wide black borders (Kalibr boards!). The MIT detector must be used in the latter situation.

For more documentation on how to install this package refer to the documentation of the apriltag_detector repository.

NOTE: Because running an apriltag detector is a heavy weight operation, the detector is very frugal about subscribing to image topics. Unless you bring up e.g. an image viewer to connect to the debug images, the detector will just sit there and do nothing.

Launch files

detect.launch.py

This convenience launch file launches both a detector and a draw node for easy viewing of the tags.

Arguments: - black_border_width: (only for MIT). Width (in bits) of the outer black border of the apriltags. Note that Kalibr board tags often have border width of 2 bits. Default: 1. - blur: (only for UMich). Gaussian blur sigma (in pixels). Default: 0 (no blur). - camera: name of the camera, e.g. /camera_0. Default: camera. - image: name of the image underneath the camera node, e.g. image_raw. The node will then subscribe to images /camera_name/image_raw. Default: image_raw. - image_transport: the transport to use, e.g. compressed, ffmpeg etc. Default: raw. - max_allowed_hamming_distance: (only for UMich) when more than this number of bits are different from a proper code, disregard the tag. Default: 0 (perfect match required). Default: raw. - tags: The topic name under which to publish the tags. Default: tags. - type: What type of detector to use. Valid are mit, umich. Default: umich.

Example usage

Start detector and drawing node:

ros2 launch apriltag_detector.launch.py camera:=/cam_sync/cam_0

Now you have to start a camera server that publishes images under /cam_sync/cam_0/image_raw, or play such data from a bag.

For the detector to do anything you also have to subscribe to one of its output topics, for instance with rqt_image_view:

ros2 run rqt_image_view rqt_image_view /cam_sync/cam_0/image_tags

Alternatively you can look at the decode tag rate:

ros2 topic hz /cam_sync/cam_0/tags

License

This software is issued under the Apache License Version 2.0.

CHANGELOG

Changelog for package apriltag_detector

2.1.0 (2024-05-11)

  • switched to plugins, added MIT detector, split off apriltag_draw
  • Contributors: Bernd Pfrommer

Wiki Tutorials

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged apriltag_detector at Robotics Stack Exchange

Package Summary

Tags No category tags.
Version 2.2.0
License Apache2
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ros-misc-utilities/apriltag_detector.git
VCS Type git
VCS Version iron
Last Updated 2024-05-12
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

ROS2 package for apriltag detection

Additional Links

No additional links.

Maintainers

  • Bernd Pfrommer

Authors

No additional authors.

ROS Apriltag detector package

This package has the base class header files for apriltag detector plugins for the UMich and the MIT detector.

It also has launch files for both of these detectors, so by installing this package you can use both of these detectors interchangeably. Note that UMich detector is more sensitive and faster, but it does not work when tags are encroached by black markers or have double-wide black borders (Kalibr boards!). The MIT detector must be used in the latter situation.

For more documentation on how to install this package refer to the documentation of the apriltag_detector repository.

NOTE: Because running an apriltag detector is a heavy weight operation, the detector is very frugal about subscribing to image topics. Unless you bring up e.g. an image viewer to connect to the debug images, the detector will just sit there and do nothing.

Launch files

detect.launch.py

This convenience launch file launches both a detector and a draw node for easy viewing of the tags.

Arguments: - black_border_width: (only for MIT). Width (in bits) of the outer black border of the apriltags. Note that Kalibr board tags often have border width of 2 bits. Default: 1. - blur: (only for UMich). Gaussian blur sigma (in pixels). Default: 0 (no blur). - camera: name of the camera, e.g. /camera_0. Default: camera. - image: name of the image underneath the camera node, e.g. image_raw. The node will then subscribe to images /camera_name/image_raw. Default: image_raw. - image_transport: the transport to use, e.g. compressed, ffmpeg etc. Default: raw. - max_allowed_hamming_distance: (only for UMich) when more than this number of bits are different from a proper code, disregard the tag. Default: 0 (perfect match required). Default: raw. - tags: The topic name under which to publish the tags. Default: tags. - type: What type of detector to use. Valid are mit, umich. Default: umich.

Example usage

Start detector and drawing node:

ros2 launch apriltag_detector.launch.py camera:=/cam_sync/cam_0

Now you have to start a camera server that publishes images under /cam_sync/cam_0/image_raw, or play such data from a bag.

For the detector to do anything you also have to subscribe to one of its output topics, for instance with rqt_image_view:

ros2 run rqt_image_view rqt_image_view /cam_sync/cam_0/image_tags

Alternatively you can look at the decode tag rate:

ros2 topic hz /cam_sync/cam_0/tags

License

This software is issued under the Apache License Version 2.0.

CHANGELOG

Changelog for package apriltag_detector

2.2.0 (2024-05-11)

  • initial release as plugin
  • Contributors: Bernd Pfrommer

Wiki Tutorials

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged apriltag_detector at Robotics Stack Exchange

Package Summary

Tags No category tags.
Version 2.0.0
License Apache2
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ros-misc-utilities/apriltag_detector.git
VCS Type git
VCS Version rolling
Last Updated 2024-05-12
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

ROS2 package for apriltag detection

Additional Links

No additional links.

Maintainers

  • Bernd Pfrommer

Authors

No additional authors.

ROS Apriltag detector package

This package has the base class header files for apriltag detector plugins for the UMich and the MIT detector.

It also has launch files for both of these detectors, so by installing this package you can use both of these detectors interchangeably. Note that UMich detector is more sensitive and faster, but it does not work when tags are encroached by black markers or have double-wide black borders (Kalibr boards!). The MIT detector must be used in the latter situation.

For more documentation on how to install this package refer to the documentation of the apriltag_detector repository.

NOTE: Because running an apriltag detector is a heavy weight operation, the detector is very frugal about subscribing to image topics. Unless you bring up e.g. an image viewer to connect to the debug images, the detector will just sit there and do nothing.

Launch files

detect.launch.py

This convenience launch file launches both a detector and a draw node for easy viewing of the tags.

Arguments: - black_border_width: (only for MIT). Width (in bits) of the outer black border of the apriltags. Note that Kalibr board tags often have border width of 2 bits. Default: 1. - blur: (only for UMich). Gaussian blur sigma (in pixels). Default: 0 (no blur). - camera: name of the camera, e.g. /camera_0. Default: camera. - image: name of the image underneath the camera node, e.g. image_raw. The node will then subscribe to images /camera_name/image_raw. Default: image_raw. - image_transport: the transport to use, e.g. compressed, ffmpeg etc. Default: raw. - max_allowed_hamming_distance: (only for UMich) when more than this number of bits are different from a proper code, disregard the tag. Default: 0 (perfect match required). Default: raw. - tags: The topic name under which to publish the tags. Default: tags. - type: What type of detector to use. Valid are mit, umich. Default: umich.

Example usage

Start detector and drawing node:

ros2 launch apriltag_detector.launch.py camera:=/cam_sync/cam_0

Now you have to start a camera server that publishes images under /cam_sync/cam_0/image_raw, or play such data from a bag.

For the detector to do anything you also have to subscribe to one of its output topics, for instance with rqt_image_view:

ros2 run rqt_image_view rqt_image_view /cam_sync/cam_0/image_tags

Alternatively you can look at the decode tag rate:

ros2 topic hz /cam_sync/cam_0/tags

License

This software is issued under the Apache License Version 2.0.

CHANGELOG

Changelog for package apriltag_detector

2.0.0 (2024-05-11)

  • initial release as base class of pluggable detectors
  • Contributors: Bernd Pfrommer

Wiki Tutorials

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged apriltag_detector at Robotics Stack Exchange

No version for distro noetic. Known supported distros are highlighted in the buttons above.
No version for distro ardent. Known supported distros are highlighted in the buttons above.
No version for distro bouncy. Known supported distros are highlighted in the buttons above.
No version for distro crystal. Known supported distros are highlighted in the buttons above.
No version for distro eloquent. Known supported distros are highlighted in the buttons above.
No version for distro dashing. Known supported distros are highlighted in the buttons above.
No version for distro galactic. Known supported distros are highlighted in the buttons above.
No version for distro foxy. Known supported distros are highlighted in the buttons above.
No version for distro lunar. Known supported distros are highlighted in the buttons above.
No version for distro jade. Known supported distros are highlighted in the buttons above.
No version for distro indigo. Known supported distros are highlighted in the buttons above.
No version for distro hydro. Known supported distros are highlighted in the buttons above.
No version for distro kinetic. Known supported distros are highlighted in the buttons above.
No version for distro melodic. Known supported distros are highlighted in the buttons above.