reachy_sdk.camera

Camera Reachy module.

This module lets you access always up-to-date image from the camera. The synchronisation is done in background and only started when you need it.

class reachy_sdk.camera.Camera(side, stub)

The camera class.

Parameters:
  • side (str) –

  • stub (CameraServiceStub) –

property focus

Get focus value.

property last_frame: ndarray

Return the last retrieved frame.

start_autofocus()

Start autofocus.

stop_autofocus()

Stop autofocus.

wait_for_new_frame()

Block until the reception of a new frame.

Return type:

ndarray

property zoom

Get zoom value.

zoom_homing()

Run a homing to reset zoom position.

Return type:

bool

property zoom_level: ZoomLevel

Get the current zoom level.

property zoom_speed: int

Get the current zoom speed.

class reachy_sdk.camera.ZoomLevel(value)

The zoom level options.