firstroboticsosu / lunabotics

1 stars 2 forks source link

[Autonomous] Add code to automatically calibrate our camera. #9

Closed BanceDev closed 6 days ago

BanceDev commented 1 week ago

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.