Skip to content

Localization

dudekw edited this page Jun 24, 2016 · 8 revisions

This library documentation can be found here.

This library encloses all available global localization methods. Currently it supports QR-Code global localization only.

QR-Code global localization:

Input & output:

  1. Specify QR-Code map file path:
  1. Input qr_code_map object:
  1. Output:
  • rapp::object::pose

Create QR-Code map:

  1. Determine 3D poses of every QR-Code with respect to your environment map origin (origin of the map is set in its .yaml file). QR-Code frame orientation is depictured as follows:
QR-Code frame
  1. Compose .xml file as follows:
  • Paste following header:
<?xml version="1.0"?>
<!DOCTYPE catalog SYSTEM "catalog.dtd">
<QRcodes>
  • Add QR-Codes using following template:
<QR> <!-- Open QR-Code -->
<!-- QR-Code position -->
<x>0</x>
<y>0</y> 
<z>0</z>
<!-- QR-Code orientation [quaternion] -->
<ox>0</ox>
<oy>0</oy>
<oz>0</oz>
<ow>1</ow>
<!-- QR-Code label/name/messasge -->
<label>"example1"</label>
</QR> <!-- Close QR-Code -->
  • Close QRcodes tree:
</QRcodes>
Clone this wiki locally