0.2.0-dev Download ZIP
40 lines ·1.9 KB Raw
| 1 | <?xml version="1.0" encoding="UTF-8" ?> |
| 2 | <class name="OpenXRSpatialCapabilityConfigurationAprilTag" inherits="OpenXRSpatialCapabilityConfigurationBaseHeader" api_type="core" experimental="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd"> |
| 3 | <brief_description> |
| 4 | Configuration header for April tag markers. |
| 5 | </brief_description> |
| 6 | <description> |
| 7 | Configuration header for April tag markers. Pass this to [method OpenXRSpatialEntityExtension.create_spatial_context] to create a spatial context that can detect April tags. |
| 8 | </description> |
| 9 | <tutorials> |
| 10 | </tutorials> |
| 11 | <methods> |
| 12 | <method name="get_enabled_components" qualifiers="const"> |
| 13 | <return type="PackedInt64Array" /> |
| 14 | <description> |
| 15 | Returns the components enabled by this configuration. |
| 16 | [b]Note:[/b] Only valid after this configuration was used to create a spatial context. |
| 17 | </description> |
| 18 | </method> |
| 19 | </methods> |
| 20 | <members> |
| 21 | <member name="april_dict" type="int" setter="set_april_dict" getter="get_april_dict" enum="OpenXRSpatialCapabilityConfigurationAprilTag.AprilTagDict" default="4"> |
| 22 | Dictionary to use to decode April tags. |
| 23 | [b]Note:[/b] Must be set before using this configuration to create a spatial context. |
| 24 | </member> |
| 25 | </members> |
| 26 | <constants> |
| 27 | <constant name="APRIL_TAG_DICT_16H5" value="1" enum="AprilTagDict"> |
| 28 | 4 by 4 bits, minimum Hamming distance between any two codes = 5, 30 codes. |
| 29 | </constant> |
| 30 | <constant name="APRIL_TAG_DICT_25H9" value="2" enum="AprilTagDict"> |
| 31 | 5 by 5 bits, minimum Hamming distance between any two codes = 9, 35 codes. |
| 32 | </constant> |
| 33 | <constant name="APRIL_TAG_DICT_36H10" value="3" enum="AprilTagDict"> |
| 34 | 6 by 6 bits, minimum Hamming distance between any two codes = 10, 2320 codes. |
| 35 | </constant> |
| 36 | <constant name="APRIL_TAG_DICT_36H11" value="4" enum="AprilTagDict"> |
| 37 | 6 by 6 bits, minimum Hamming distance between any two codes = 11, 587 codes. |
| 38 | </constant> |
| 39 | </constants> |
| 40 | </class> |