FallDownState
Represents fall detection state.
Import path:from boosteros.robots.booster import FallDownState (this type is not yet exported from boosteros.types)
Properties:
Property | Type | Description |
|---|---|---|
|
| Fall state metadata header |
|
| Fall state, one of |
|
| Whether recovery action is currently allowed |
Read-only properties:
Property | Type | Description |
|---|---|---|
|
| Timestamp in seconds, equivalent to |
|
| Whether in normal state |
|
| Whether currently falling |
|
| Whether already fallen |
|
| Whether currently getting up |
FallDownState
Signature:
FallDownState(
state: str,
*,
recoverable: bool = False,
header: Header | None = None,
)
Description:
Constructs a FallDownState instance.
Parameters:
Parameter | Type | Required | Description |
|---|---|---|---|
|
| Yes | Fall state, one of |
|
| No | Whether recovery action is currently allowed |
|
| No | Fall state metadata header; uses default |
Returns:
FallDownState instance.
Raises:
None.