If you look in the logPoses function in robotVision.cpp you'll see that the values for the camera and tag size are hardcoded for the time being. This means that the pose data generated will not be accurate. OpenCV has ways to calibrate these values for your camera using a known target. Check out chessboard calibration. This will allow our pose data to be accurate to our robot's camera.
If you look in the logPoses function in robotVision.cpp you'll see that the values for the camera and tag size are hardcoded for the time being. This means that the pose data generated will not be accurate. OpenCV has ways to calibrate these values for your camera using a known target. Check out chessboard calibration. This will allow our pose data to be accurate to our robot's camera.