laserbarcode
[Drivers]
Collaboration diagram for laserbarcode:
- Todo:
- This driver has not been tested with the player 2.0 API
The range at which barcodes can be detected identified is dependent on the bit width and the angular resolution of the laser. With 50mm bits and an angular resolution of 0.5 deg, barcodes can be detected and identified at a range of about 2.5m. With the laser resolution set to 0.25 deg, this distance is roughly doubled to about 5m.
See also the laserbar and laservisualbarcode drivers.
A sample laser barcode. This barcode has 8 bits, each of which is 50mm wide.
- Compile-time dependencies
- none
- Provides
- This driver provides detected target information through a fiducial device.
- Requires
- This driver finds targets in scans from a laser device.
- Configuration requests
- PLAYER_FIDUCIAL_REQ_GET_GEOM
- Configuration file options
- bit_count (integer)
- Default: 8
- Number of bits in each barcode.
- bit_width (length)
- Default: 0.05 m
- Width of each bit.
- max_depth (length)
- Default: 0.05 m
- Maximum variance in the flatness of the beacon.
- accept_thresh (float)
- Default: 1.0
- Acceptance threshold
- zero_thresh (float)
- Default: 0.6
- Zero threshold
- one_thresh (float)
- Default: 0.6
- One threshold
- Example
driver ( name "laserbarcode" requires ["laser:0"] provides ["fiducial:0"] bit_count 5 bit_width 0.1 )