Start to move tests onto new camera api
This commit is contained in:
parent
c18d43a3a5
commit
b9c6071bc7
5 changed files with 10 additions and 10 deletions
|
|
@ -77,10 +77,10 @@ def test_stage(simulation_test_env):
|
|||
assert start["z"] == pos["z"]
|
||||
|
||||
|
||||
def test_capture_array(simulation_test_env):
|
||||
def test_capture_as_array(simulation_test_env):
|
||||
"""Capture array from simulation and check the size is as expected."""
|
||||
camera = simulation_test_env.get_thing_client("camera")
|
||||
array = np.asarray(camera.capture_array())
|
||||
array = np.asarray(camera.capture_as_array())
|
||||
assert array.shape == (616, 820, 3)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue