Skip to content

HuskyLens Test with AprilTag Array (ex DFRobot) #765

Answered by cmacfarl
baqwas asked this question in Q&A
Discussion options

You must be logged in to vote

The HuskyLens can "detect" AprilTags. That doesn't mean that it can decode the ID that the AprilTag represents.

You can "assign" IDs to AprilTags through it's learning mechanism. See https://wiki.dfrobot.com/HUSKYLENS_V1.0_SKU_SEN0305_SEN0336#target_20

It is returning 6 elements, all reporting 0 zero, because it recognizes 6 items as AprilTags, but none of them have been "trained", and so from the HuskyLens firmware's perspective, they all have ID 0. As to why only 6? That's an internal SDK restriction designed to simplify implementation and usage, but still satisfy all requirements of the game.

See the documentation below.

/**
 * Driver for HuskyLens Vision Sensor.
 *
 * {@link HuskyLens…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@Firerose2399
Comment options

@cmacfarl
Comment options

@texasdiaz
Comment options

Answer selected by texasdiaz
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants