Closed jonahpearl closed 5 months ago
On any computer: pytest ./multicamera_acquisition/tests
On a 6 cam rig with cameras and an MCU: pytest ./multicamera_acquisition/tests --camera_type basler_camera --runall
On a 6 cam rig: run an acquisition notebook with a config that was previously known to work. If updates to the config are required, document them all and post the required changes in the PR for discussion.
These are the required changes from my config:
for camera_name, camera_info in config['cameras'].items():
camera_info['gamma'] = 1
camera_info['writer']["rc"] = "cbr"
camera_info['writer']["bitrate"] = "10M"
camera_info['writer']["max_video_frames"] = None
if "writer_depth" in camera_info:
camera_info['writer_depth']["max_video_frames"] = None
camera.get_array()
so that it always returns a tuple of the same length, but some of the items can be None if they aren't requested. AFAIK, this output never gets pickled directly, so there shouldn't be a major penalty to having a few extra values in the return.24-03-09_update_config
) with an example of how to easily update a config. This also provides the updates I had to make to my config to get it working with the new camera params.