zauberzeug / rosys

An all-Python robot system based on web technologies. The purpose is similar to ROS, but it's based on NiceGUI and easier to use for mobile robotics.
https://rosys.io
MIT License
70 stars 10 forks source link

Add request_backup to MultiCameraProvider #138

Closed NiklasNeugebauer closed 2 months ago

NiklasNeugebauer commented 2 months ago

CameraProvider derives from rosys.persistent_module, so each provider will have a request_backup function.

Here we overwrite that functions, since we really want all cameras to be backed up by their respective providers.

Alternatively, we could iterate over cameras and back them up into rosys.vision.multi_camera_provider.MultiCameraProvider.json.

I think this is less fitting though since the MultiCameraProvider is meant to be a proxy rather than a provider by itself.