disable_color_camera(camera_name)
  • 1 Minute to read

disable_color_camera(camera_name)


Article summary

Disable an specific camera.

Reference

Arguments

ArgumentTypeExplanation
camera_namestr
Name of the camera to disable

Return

None

Exceptions

  • RayaCameraInvalidName
  • RayaCameraNotEnabled

See the complete list of cameras exceptions.

Usage Example

1. Disabling the 'chest' camera

...
self.cameras = await self.enable_controller('cameras')
...
await self.cameras.enable_color_camera(camera_name='chest')
...
await self.cameras.disable_color_camera(camera_name='chest')

Was this article helpful?