标签描述#
The Tagdesc
class holds the AI Vision Sensor AprilTag IDs. It is used with the AiVision
class to create tags for AprilTags.
使用以下构造函数创建 AprilTag:
Tagdesc(id)
此构造函数使用一个参数:
范围 |
描述 |
---|---|
|
AprilTag 的 ID 号。 |
要创建与 AiVision 类一起使用的标签,请使用以下代码:
# 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.