[Documentation] [TitleIndex] [WordIndex

datamatrix: tf frames from vision the easy way

crt_camera.jpg crt_rviz.jpg

datamatrix subscribes to a stereo camera, looks for coded markers, and publishes the pose of any markers it finds as tf frames.

To use it, you:

printing markers

Use the makeps.py script in datamatrix:

$ rosrun datamatrix makeps.py CRT | lpr

Usage:

Usage: makeps.py [options] code

Options:
  -h, --help            show this help message and exit
  -s SIZE, --size=SIZE  size of marker in m, default is .1
  -o OUT, --out=OUT     output filename, default is standard output

running the node

Takes a single parameter stereo as the base camera topic:

$ rosrun datamatrix datamatrix.py stereo:=/wide_stereo

Or in monocular mode:

$ rosrun datamatrix datamatrix.py image_stream:=/wide_stereo/left/image_rect camera_info:=/wide_stereo/left/camera_info 


2024-12-28 14:53