available_color_cameras()
  • 1 Minute to read

available_color_cameras()


Article summary

This method returns the list of available cameras names.

Reference

Arguments

None

Return

TypeDescription
ListList of string, containing the names of the available cameras.

Exceptions

None

See the complete list of cameras exceptions.

Usage Example

1. Get list of available cameras

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

Output:

['head_front', 'nav_bottom', 'chest']

Was this article helpful?