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