标签描述#

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

使用以下构造函数创建 AprilTag:

The tagdesc(id) constructor uses one parameter:

范围

描述

index

AprilTag 的 ID 号。

要创建与 AiVision 类一起使用的标签,请使用以下代码:

// 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.