manual_test_hw

Camera hardware test helpers.

Contains code for testing implementations of the camera interfaces.

robotblockset.cameras.manual_test_hw.manual_test_camera(camera: Camera) None[source]
robotblockset.cameras.manual_test_hw.manual_test_rgb_camera(camera: RGBCamera) None[source]
robotblockset.cameras.manual_test_hw.manual_test_depth_camera(camera: DepthCamera) None[source]
robotblockset.cameras.manual_test_hw.manual_test_stereo_rgbd_camera(camera: StereoRGBDCamera) None[source]
robotblockset.cameras.manual_test_hw.profile(func: Callable, *args: Any, **kwargs: Any) None[source]

a wrapper around the python cProfiler

https://docs.python.org/3/library/profile.html

Parameters:

func (_type_) – the function to profile

robotblockset.cameras.manual_test_hw.profile_rgb_throughput(camera: RGBCamera) None[source]

profile the throughput of the get_rgb_image() function

robotblockset.cameras.manual_test_hw.profile_rgbd_throughput(camera: RGBDCamera) None[source]

Profile RGB and depth acquisition throughput.

profile the throughput of the get_rgb_image() and _retrieve_depth_maps() functions

Functions

manual_test_camera(camera)

manual_test_depth_camera(camera)

manual_test_rgb_camera(camera)

manual_test_stereo_rgbd_camera(camera)

profile(func, *args, **kwargs)

a wrapper around the python cProfiler

profile_rgb_throughput(camera)

profile the throughput of the get_rgb_image() function

profile_rgbd_throughput(camera)

Profile RGB and depth acquisition throughput.