enable_color_camera()
  • 1 Minute to read

enable_color_camera()


Article summary

Enable the specified camera.

Reference

Arguments

ArgumentType
camera_namestr
Name of the camera to enable

Return

None

Exceptions

  • RayaCameraInvalidName
  • RayaCameraAlreadyEnabled

See the complete list of cameras exceptions.

Usage Example

1. Enabling the 'chest' camera

...
self.cameras = await self.enable_controller('cameras')
...
await self.cameras.enable_color_camera(camera_name='chest')
# Now you can use the 'chest' camera
...

Was this article helpful?