Skip to content

1 FAILED TEST: testDPGO.testRobustSinglePoseAveraging #2

@adthoms

Description

@adthoms

@yuluntian in extending testStiefelProjection:

TEST(testDPGO, testStiefelProjection) {

to cover an increased number of iterations (say j < 100):

for (size_t j = 0; j < 50; ++j) {

testRobustSinglePoseAveraging fails with the following error:

/home/alex/catkin_ws/src/dpgo/tests/testPGO.cpp:120: Failure
Expected: ((ROpt - RTrue).norm()) <= (RMaxError), actual: 2.77197 vs 0.0282838
[  FAILED  ] testDPGO.testRobustSinglePoseAveraging (2 ms)

Empirically, it seems repeat calls to Matrix::Random() within testStiefelProjection produces this error (replacing Matrix::Random() with Matrix::Identity(), for example, seems to indicate this is the case):

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions