-
Notifications
You must be signed in to change notification settings - Fork 510
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pixelToBearing failed? #187
Comments
The input point c is (15.5, 57.5), to call pixelToBearing(c, vec). |
I have not experience any such failure before. Does it show this behavior for every point or only for (15.5, 57.5)? You could maybe try adding some damping (decrease the du, or added some diagonal damping to JTJ)? |
Hi bloesch: best, /* using namespace std; class Cam test_cam_model_2 (copy).txt void test_cam_model(); int main(int argc, char* argv[]) void test_cam_model() |
I see you do have quite a wide-angle camera, does it also diverge if you employ radial-tangential distortion model? |
Hi all:
The function pixelToBearing failed when running rovio with the calibrated camera. The output is shown below. While the e.dot(e) is decreasing, the magnitude of du and the value of y_bar are increasing heavily, resulting in diverge solutions.
What's the possible reason that lead to this ? Is it because that the camera intrinsic parameter or distortion parameter is not correct?
Any suggestion is greatly appreciated, thanks!
Set Camera Matrix to:
190.978 0 254.932
0 190.973 256.897
0 0 1
Set distortion parameters (Equidist) to: k1(0.00348239), k2(0.000715035), k3(-0.00205324), k4(0.000202937)
e.dot(e) = 0.369963 > tolerance: 1e-10
du = -1.71043, -1.42448 ybar = -2.96414, -2.46859
e.dot(e) = 0.0994242 > tolerance: 1e-10
du = -3.96508, -3.30218 ybar = -6.92922, -5.77077
e.dot(e) = 0.0318826 > tolerance: 1e-10
du = -12.0547, -10.0394 ybar = -18.9839, -15.8101
e.dot(e) = 0.0129381 > tolerance: 1e-10
du = -58.4364, -48.6669 ybar = -77.4203, -64.477
e.dot(e) = 0.00739563 > tolerance: 1e-10
du = -742.798, -618.615 ybar = -820.219, -683.092
e.dot(e) = 0.00606772 > tolerance: 1e-10
du = -75801.3, -63128.6 ybar = -76621.5, -63811.7
e.dot(e) = 0.00593853 > tolerance: 1e-10
du = -6.54664e+08, -5.45216e+08 ybar = -6.54741e+08, -5.4528e+08
e.dot(e) = 0.00593714 > tolerance: 1e-10
du = 3.65339e+14, 3.0426e+14 ybar = 3.65338e+14, 3.0426e+14
e.dot(e) = 10.1509 > tolerance: 1e-10
du = -nan, -nan ybar = -nan, -nan
du = -nan
-nan
test_camera: failed to pixelToBearing,
The text was updated successfully, but these errors were encountered: