Status
- 1 Minute to read
Status
- 1 Minute to read
Article summary
Did you find this summary helpful?
Thank you for your feedback
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:
- get_manipulation_status()
- get_localization_status()
- get_battery_status()
- get_available_arms()
- get_raya_status()
Each method page includes standalone examples of their use.
4. Example
Was this article helpful?