Stereo Vision Sensor feature

event message olympe.messages.stereo_vision_sensor.calibration_state(sensor_id=None, state=None, _policy='check_wait', _float_tol=(1e-07, 1e-09), _int_tol=0)

stereo_vision_sensor.calibration_state

Calibration state

Parameters:

sensor_idu8

Id of the sensor.

stateolympe.enums.stereo_vision_sensor.calibration_state

Current state

_policyolympe.messaging.arsdk_expectations.ExpectPolicy

specify how to check the expectation. Possible values are ‘check’, ‘wait’ and ‘check_wait’ (defaults to ‘check_wait’)

_float_toltuple

specify the float comparison tolerance, a 2-tuple containing a relative tolerance float value and an absolute tolerate float value (default to (1e-07, 1e-09)). See python 3 stdlib math.isclose documentation for more information

_matching_modeolympe.MatchingMode

specify the expectation matching mode (default to olympe.MatchingMode.pattern)

_int_tolint

specify the int comparison tolerance, an int containing an absolute tolerate int value (default to 0)

Supported by:

ANAFI Ai:

with an up to date firmware

Triggered: At connection and when calibration state changes.

event message olympe.messages.stereo_vision_sensor.capabilities(sensor_id=None, model=None, supported_features=None, _policy='check_wait', _float_tol=(1e-07, 1e-09), _int_tol=0)

stereo_vision_sensor.capabilities

Describes stereo vision sensor supported capabilities.

Parameters:

sensor_idu8

Id of the stereo vision sensor. Sensor id is unique and persistent: the same sensor model on a same drone model has always the same id. Main/Built-in sensor has id zero.

modelolympe.enums.stereo_vision_sensor.model

Sensor model.

supported_featuresBitfieldOf(olympe.enums.stereo_vision_sensor.feature, u16)

Supported features.

_policyolympe.messaging.arsdk_expectations.ExpectPolicy

specify how to check the expectation. Possible values are ‘check’, ‘wait’ and ‘check_wait’ (defaults to ‘check_wait’)

_float_toltuple

specify the float comparison tolerance, a 2-tuple containing a relative tolerance float value and an absolute tolerate float value (default to (1e-07, 1e-09)). See python 3 stdlib math.isclose documentation for more information

_matching_modeolympe.MatchingMode

specify the expectation matching mode (default to olympe.MatchingMode.pattern)

_int_tolint

specify the int comparison tolerance, an int containing an absolute tolerate int value (default to 0)

Supported by:

ANAFI Ai:

with an up to date firmware

Triggered: At connection only.

enum olympe.enums.stereo_vision_sensor.calibration_state

Line of sight calibration state

required:

Calibration is required to improve image center coordinates (0)

ok:

Drone is calibrated (1)

enum olympe.enums.stereo_vision_sensor.feature

Stereo vision sensor feature.

calibration:

Calibration feature. (0)

enum olympe.enums.stereo_vision_sensor.list_flags

Arsdk built-in “list_flags” enum that is used to in “LIST_ITEM” event messages

First:

Arsdk built-in “list_flags” enum that is used to in “LIST_ITEM” event messages (0)

Last:

Arsdk built-in “list_flags” enum that is used to in “LIST_ITEM” event messages (1)

Empty:

Arsdk built-in “list_flags” enum that is used to in “LIST_ITEM” event messages (2)

Remove:

Arsdk built-in “list_flags” enum that is used to in “LIST_ITEM” event messages (3)

enum olympe.enums.stereo_vision_sensor.model

Stereo vision sensor model.

fstcam:

Main sensor. Only one sensor of this kind is allowed at a time on a drone. (0)