available_color_cameras()
  • 1 Minute to read

available_color_cameras()


Article summary

Return the list of available cameras names.

Reference

Arguments

None

Return

List of string, containing the names of the available cameras.

Examples

1. Get list of available cameras

...
self.cameras = await self.enable_controller('cameras')
...
cameras_list = self.cameras.available_color_cameras()
print(cameras_list)
...

Output

['front', 'hand', 'chest']

Was this article helpful?