Descripción de la etiqueta#
The Tagdesc class holds the AI Vision Sensor AprilTag IDs. It is used with the AiVision class to create tags for AprilTags.
Una AprilTag se crea utilizando el siguiente constructor:
Tagdesc(id)
Este constructor utiliza un parámetro:
Parámetro |
Descripción |
|---|---|
|
Número de identificación de AprilTag. |
Para crear una etiqueta para usar con la clase AiVision, utilice el siguiente código:
# Create a new tag "tag_1" with the Tagdesc Class.
tag_1 = Tagdesc(1)
By default, the ALL_TAGS tag will return all Tagdesc objects with the AI Vision Sensor.