Skip to content

Commit

Permalink
docs: add note about MT1 and single-tag distance limits
Browse files Browse the repository at this point in the history
  • Loading branch information
doinkythederp committed Jan 13, 2025
1 parent 14667e0 commit 88386d4
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,14 @@ class LimelightPoseProvider(
companion object {
/**
* The acceptable distance for a single-April-Tag reading.
*
* This is a somewhat conservative limit, but it is only applied when using the old MegaTag v1 algorithm.
* It's possible it could be increased if it's too restrictive.
*/
private val MAX_SINGLE_TAG_DISTANCE = Meters.of(3.0)!!

/**
* The acceptable ambiguity for a single-tag reading.
* The acceptable ambiguity for a single-tag reading on MegaTag v1.
*/
private const val AMBIGUITY_THRESHOLD = 0.7

Expand Down

0 comments on commit 88386d4

Please sign in to comment.