示例#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