Cameras
  • 1 Minute to read

Cameras


Article summary

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?