mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
[examples] Limit error bit correction in April Tag examples (#6224)
Values >3 are not supported. 64be6ab26a/apriltag.c (L261-L266)
This commit is contained in:
@@ -37,8 +37,8 @@ class Robot : public frc::TimedRobot {
|
||||
private:
|
||||
static void VisionThread() {
|
||||
frc::AprilTagDetector detector;
|
||||
// look for tag36h11, correct 7 error bits
|
||||
detector.AddFamily("tag36h11", 7);
|
||||
// look for tag36h11, correct 3 error bits
|
||||
detector.AddFamily("tag36h11", 3);
|
||||
|
||||
// Set up Pose Estimator - parameters are for a Microsoft Lifecam HD-3000
|
||||
// (https://www.chiefdelphi.com/t/wpilib-apriltagdetector-sample-code/421411/21)
|
||||
|
||||
Reference in New Issue
Block a user