tagdesc#

The tagdesc class holds the AI Vision Sensor AprilTag IDs. It is used with the aivision class to create tags for AprilTags.

An AprilTag is created by using the following constructor:

The tagdesc(id) constructor uses one parameter:

Parameter

Description

index

The AprilTag’s ID number.

To create a tag to use with the AiVision Class, use the following code:

// Create a new tag "tag_1" with the Tagdesc Class.
aivision::tagdesc tag_1 = aivision::tagdesc(1);

By default, the ALL_TAGS tag will return all tagdesc objects with the AI Vision Sensor.