# auto_support_plane_result

Python API: `depthai_nodes.message.auto_support_plane_result`

The result message of `AutoSupportPlane`.

## Classes

| Name | Description |
| --- | --- |
| [`AutoSupportPlaneResult`](https://docs.luxonis.com/software-v3/ai-inference/inference/depthai-nodes/depthai-nodes-api-reference/message/auto_support_plane_result.md#auto_support_plane_result-Classes-AutoSupportPlaneResult) | One finished cycle of `AutoSupportPlane`: a verdict and the plane in use. |

### class `AutoSupportPlaneResult`

```python
class AutoSupportPlaneResult(dai.Buffer)
```

One finished cycle of `AutoSupportPlane`: a verdict and the plane in use.

It is a Python `Buffer` subclass, so it travels between host nodes only; over XLink or a `RemoteConnection` it arrives as a bare
`Buffer`.

Args

| Name | Description |
| --- | --- |
| `passed` | Whether the cycle found or confirmed a support plane. |
| `plane` | The support plane in use, or `None` when there is none. |

Raises

| Type | Description |
| --- | --- |
| `TypeError` | If an argument has the wrong type. |
| `ValueError` | If `passed` is `True` with no plane. |

Properties

| Name | Type | Description |
| --- | --- | --- |
| [`passed`](https://docs.luxonis.com/software-v3/ai-inference/inference/depthai-nodes/depthai-nodes-api-reference/message/auto_support_plane_result.md#auto_support_plane_result-Classes-AutoSupportPlaneResult-passed) | `bool` | Whether the cycle found or confirmed a support plane. |
| [`plane`](https://docs.luxonis.com/software-v3/ai-inference/inference/depthai-nodes/depthai-nodes-api-reference/message/auto_support_plane_result.md#auto_support_plane_result-Classes-AutoSupportPlaneResult-plane) | `SupportPlane | None` | The support plane in use, or `None` when there is none. |

Methods

| Name | Description |
| --- | --- |
| [`__init__`](https://docs.luxonis.com/software-v3/ai-inference/inference/depthai-nodes/depthai-nodes-api-reference/message/auto_support_plane_result.md#auto_support_plane_result-Classes-AutoSupportPlaneResult-__init__) | Create a result and check that its fields are consistent. |

#### property `passed`

```python
passed: bool
```

Whether the cycle found or confirmed a support plane.

#### property `plane`

```python
plane: SupportPlane | None
```

The support plane in use, or `None` when there is none.

#### method `__init__`

```python
def __init__(passed: bool, plane: SupportPlane | None)
```

Create a result and check that its fields are consistent.

Args

| Name | Type | Description | Default |
| --- | --- | --- | --- |
| `passed` | `bool` | Whether the cycle found or confirmed a support plane. | required |
| `plane` | `SupportPlane | None` | The support plane in use, or `None`. | required |

Raises

| Type | Description |
| --- | --- |
| `TypeError` | If `passed` is not a `bool` or `plane` is neither a [SupportPlane](https://docs.luxonis.com/software-v3/ai-inference/inference/depthai-nodes/depthai-nodes-api-reference/message/support_plane.md#support_plane-Classes-SupportPlane) nor `None`. |
| `ValueError` | If `passed` is `True` with no plane. |
