# auto_support_plane_result

Python API: `depthai_nodes.message.auto_support_plane_result`

The result message of `AutoSupportPlane`.

## Classes

### AutoSupportPlaneResult

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`.

Parameters

 * `passed`: Whether the cycle found or confirmed a support plane.
 * `plane`: The support plane in use, or `None` when there is none.

Raises

 * `TypeError`: If an argument has the wrong type.
 * `ValueError`: If `passed` is `True` with no plane.

#### Methods

##### init

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

Create a result and check that its fields are consistent.

Parameters

 * `passed` (`bool`): Whether the cycle found or confirmed a support plane.
 * `plane` (`SupportPlane | None`): The support plane in use, or `None`.

Raises

 * `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)
   nor `None`.
 * `ValueError`: If `passed` is `True` with no plane.

#### Attributes

##### passed

Whether the cycle found or confirmed a support plane.

##### plane

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