is_camera_enabled()
- 1 Minute to read
is_camera_enabled()
- 1 Minute to read
Article summary
Did you find this summary helpful?
Thank you for your feedback
This method checks whether a specific camera is enabled.
Reference
Arguments
Argument | Type | Default value | Description |
---|---|---|---|
camera_name | str | - | Name of the camera to check. |
Return
Type | Description |
---|---|
bool | Returns a boolean indicating whether the camera is enabled or not. |
Exceptions
RayaCameraInvalidNam
e
See the complete list of cameras exceptions.
Usage Example
1. Get camera enabled check
...
self.cameras = await self.enable_controller('cameras')
...
chest_is_enabled = self.cameras.is_camera_enabled(camera_name='chest')
print(chest_is_enabled)
...
Output:
False
Was this article helpful?