Status
  • 1 Minute to read

Status


Article summary

1. Overview

Status controller allows you to know the current status of the battery, location, arms, manipulation, application status and raya status.

2. Using the controller

Creating the controller in your app:

from raya.controllers.status_controller import StatusController

class RayaApplication(RayaApplicationBase):
    async def setup(self):
        ...
        self.status: StatusController = await self.enable_controller('status')
        ...

Status controller methods:

Each method page includes standalone examples of their use.

4. Example


Was this article helpful?