Пример #1
0
def test_undistortion():
    all_options = get_default_options()
    for opts in all_options:
        yield check_undistortion, opts
Пример #2
0
def test_projection():
    all_options = get_default_options()
    for opts in all_options:
        for distorted in (True, False):
            yield check_projection, opts, distorted
Пример #3
0
def test_undistortion():
    all_options = get_default_options()
    for opts in all_options:
        yield check_undistortion, opts
Пример #4
0
def test_projection():
    all_options = get_default_options()
    for opts in all_options:
        for distorted in (True,False):
            yield check_projection, opts, distorted
Пример #5
0
def test_camera_projection_roundtrip():
    all_options = get_default_options()
    for distorted in (True,False):
        for opts in all_options:
            yield check_camera_projection_roundtrip, opts, distorted
Пример #6
0
def test_extrinsic_msg():
    all_options = get_default_options()
    for opts in all_options:
        yield check_extrinsic_msg, opts
Пример #7
0
def test_stages():
    all_options = get_default_options()
    for distorted in (True,False):
        for opts in all_options:
            yield check_stages, opts, distorted
Пример #8
0
def test_build_from_M():
    all_options = get_default_options()
    for opts in all_options:
        yield check_built_from_M, opts
Пример #9
0
def test_view():
    all_options = get_default_options()
    for opts in all_options:
        yield check_view, opts
Пример #10
0
def test_camcenter():
    """check that our idea of camera center is theoretically expected value"""
    all_options = get_default_options()
    for opts in all_options:
        cam = _build_test_camera(**opts)
        assert np.allclose( cam.get_camcenter(), cam.t_inv.T )
Пример #11
0
def test_flip():
    all_options = get_default_options()
    for opts in all_options:
        yield check_flip, opts
Пример #12
0
def test_distortion_yamlfile_roundtrip():
    all_options = get_default_options()
    for opts in all_options:
        yield check_distortion_yamlfile_roundtrip, opts
Пример #13
0
def test_align():
    all_options = get_default_options()
    for opts in all_options:
        yield check_align, opts
Пример #14
0
def test_roundtrip_ros_tf():
    all_options = get_default_options()
    for opts in all_options:
        yield check_roundtrip_ros_tf, opts
Пример #15
0
def test_camera_distortion_roundtrip():
    all_options = get_default_options()
    for opts in all_options:
        yield check_camera_distortion_roundtrip, opts
Пример #16
0
def test_bagfile_roundtrip():
    all_options = get_default_options()
    for opts in all_options:
        yield check_bagfile_roundtrip, opts
Пример #17
0
def test_camcenter_like():
    all_options = get_default_options()
    for opts in all_options:
        yield check_camcenter_like, opts