Skip to content
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

something error in test #32

Open
gisnewbird opened this issue Apr 9, 2019 · 4 comments
Open

something error in test #32

gisnewbird opened this issue Apr 9, 2019 · 4 comments

Comments

@gisnewbird
Copy link

Hello, bro. When I run the 'gslam Act=Tests --gtest_filter=', I meet an error in my ubuntu 16.04.
the log as follows:
duke@ubuntu:~$ gslam Act=Tests --gtest_filter=

[==========] Running 27 tests from 8 test cases.
[----------] Global test environment set-up.
[----------] 3 tests from GImageTest
[ RUN ] GImageTest.GImageReadThreadSafe
[ OK ] GImageTest.GImageReadThreadSafe (1003 ms)
[ RUN ] GImageTest.CheckGImageType
[ OK ] GImageTest.CheckGImageType (0 ms)
[ RUN ] GImageTest.OpenCVNoCopy
[ OK ] GImageTest.OpenCVNoCopy (301 ms)
[----------] 3 tests from GImageTest (1304 ms total)

[----------] 6 tests from Estimator
[ RUN ] Estimator.HomographyRANSAC
H:,0.998719,1.99912,3.06695,3.99617,4.99894,6.09501,-7.13773e-06,2.28781e-06,1
MidNoise:0.111859,MidError:0.163132
[ OK ] Estimator.HomographyRANSAC (5 ms)
[ RUN ] Estimator.FundamentalSevenPoint
/home/duke/GSLAM/GSLAM/gslam/Tests/EstimatorTest.cpp:88: Failure
Expected: (fabs(F[0]-4.81441976)) <= (1e-6), actual: 1.00506e-06 vs 1e-06
/home/duke/GSLAM/GSLAM/gslam/Tests/EstimatorTest.cpp:89: Failure
Expected: (fabs(F[1]+8.16978909)) <= (1e-6), actual: 1.07973e-06 vs 1e-06
/home/duke/GSLAM/GSLAM/gslam/Tests/EstimatorTest.cpp:90: Failure
Expected: (fabs(F[2]-6.73133404)) <= (1e-6), actual: 1.67578e-06 vs 1e-06
/home/duke/GSLAM/GSLAM/gslam/Tests/EstimatorTest.cpp:94: Failure
Expected: (fabs(-9.92570126-F[6])) <= (1e-6), actual: 1.47626e-06 vs 1e-06
[ FAILED ] Estimator.FundamentalSevenPoint (0 ms)
[ RUN ] Estimator.FundamentalEightPoint
[ OK ] Estimator.FundamentalEightPoint (0 ms)
[ RUN ] Estimator.EssentialFivePoint
[ OK ] Estimator.EssentialFivePoint (0 ms)
[ RUN ] Estimator.SE3PlaneRansac
[ OK ] Estimator.SE3PlaneRansac (1 ms)
[ RUN ] Estimator.Triangulate
[ OK ] Estimator.Triangulate (0 ms)
[----------] 6 tests from Estimator (6 ms total)

[----------] 8 tests from Optimizer
[ RUN ] Optimizer.OptimizePoseSimulate
[ OK ] Optimizer.OptimizePoseSimulate (57 ms)
[ RUN ] Optimizer.OptimizePnPSimulate
[ OK ] Optimizer.OptimizePnPSimulate (4 ms)
[ RUN ] Optimizer.ICPSimulate
[ OK ] Optimizer.ICPSimulate (4 ms)
[ RUN ] Optimizer.SE3GraphSimulate

I don't know what that mean. So help me solve it if u free please.

@gisnewbird
Copy link
Author

Estimator.FundamentalSevenPoint that is the error

@DavidHan008
Copy link

我也出现了相同的错误

@iamwangyabin
Copy link

改一下他测试代码里的值就行了

/home/wang/workspace/GSLAM/GSLAM/gslam/Tests/EstimatorTest.cpp:88: Failure
Expected: (fabs(F[0]-4.81441976)) <= (1e-6), actual: 1.00506e-06 vs 1e-06
/home/wang/workspace/GSLAM/GSLAM/gslam/Tests/EstimatorTest.cpp:89: Failure
Expected: (fabs(F[1]+8.16978909)) <= (1e-6), actual: 1.07973e-06 vs 1e-06
/home/wang/workspace/GSLAM/GSLAM/gslam/Tests/EstimatorTest.cpp:90: Failure
Expected: (fabs(F[2]-6.73133404)) <= (1e-6), actual: 1.67578e-06 vs 1e-06
/home/wang/workspace/GSLAM/GSLAM/gslam/Tests/EstimatorTest.cpp:94: Failure
Expected: (fabs(-9.92570126-F[6])) <= (1e-6), actual: 1.47626e-06 vs 1e-06

就是在GSLAM/GSLAM/gslam/Tests/EstimatorTest.cpp对应行

@fernandotorch
Copy link

Same error here. Any new ideas on how to solve it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants