Example #1
0
def test_undistortion():
    all_options = get_default_options()
    for opts in all_options:
        yield check_undistortion, opts
Example #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
Example #3
0
def test_undistortion():
    all_options = get_default_options()
    for opts in all_options:
        yield check_undistortion, opts
Example #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
Example #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
Example #6
0
def test_extrinsic_msg():
    all_options = get_default_options()
    for opts in all_options:
        yield check_extrinsic_msg, opts
Example #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
Example #8
0
def test_build_from_M():
    all_options = get_default_options()
    for opts in all_options:
        yield check_built_from_M, opts
Example #9
0
def test_view():
    all_options = get_default_options()
    for opts in all_options:
        yield check_view, opts
Example #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 )
Example #11
0
def test_flip():
    all_options = get_default_options()
    for opts in all_options:
        yield check_flip, opts
Example #12
0
def test_distortion_yamlfile_roundtrip():
    all_options = get_default_options()
    for opts in all_options:
        yield check_distortion_yamlfile_roundtrip, opts
Example #13
0
def test_align():
    all_options = get_default_options()
    for opts in all_options:
        yield check_align, opts
Example #14
0
def test_roundtrip_ros_tf():
    all_options = get_default_options()
    for opts in all_options:
        yield check_roundtrip_ros_tf, opts
Example #15
0
def test_camera_distortion_roundtrip():
    all_options = get_default_options()
    for opts in all_options:
        yield check_camera_distortion_roundtrip, opts
Example #16
0
def test_bagfile_roundtrip():
    all_options = get_default_options()
    for opts in all_options:
        yield check_bagfile_roundtrip, opts
Example #17
0
def test_camcenter_like():
    all_options = get_default_options()
    for opts in all_options:
        yield check_camcenter_like, opts