Cameras
- 1 Minute to read
Cameras
- 1 Minute to read
Article summary
Did you find this summary helpful?
Thank you for your feedback
1. Overview
This controller allows streaming & taking screenshots from the robot cameras.
Images are represented as Numpy Arrays.
2. Using the Controller
Creating the controller in your app:
from raya.application_base import RayaApplicationBase
class RayaApplication(RayaApplicationBase):
async def setup(self):
...
self.cameras = await self.enable_controller('cameras')
...
The controller class includes a set of methods to access the cameras:
It also includes the following methods to create listeners that trigger when different events are detected:
Each method page includes standalone examples of their use.
3. Full examples
The following full examples use this controller:
Was this article helpful?