Configuration reference
Fields, defaults, and constraints for ExoConfig, SerialConnection, and shared Sdk configuration.
Current version · 1.4.0
Configuration reference
ExoConfig
| Field | Type | Default | Meaning |
|---|---|---|---|
connection | SerialConnection | SerialConnection() | Serial connection; automatic discovery by default |
name | str | None | None | Non-empty logical name for exo.device(name) |
enabled | bool | True | Whether to create this device |
CompositeExoGloveConfig
| Field | Type | Default |
|---|---|---|
devices | Sequence[DeviceConfig] | Required; at least one member |
connection | SerialConnection | SerialConnection() (automatic discovery) |
enabled | bool | True |
name | str | None | None |
When provided, name must be non-empty. It identifies only the outer group and is not inherited by members. Keep member connections at their defaults and configure the shared serial connection on the group. See the composite guide.
SerialConnection
| Field | Type | Default | Exo constraint |
|---|---|---|---|
auto_discover | bool | True | Discover one candidate when no port is set |
port | str | None | None | Device path or Windows COM port |
serial_number | str | None | None | Unsupported for Exo; a value is rejected |
baudrate | int | None | None | Normally keep the SDK default |
Complete configuration
from qnbot_sdk import Sdk, SerialConnection
from qnbot_sdk.exo import ExoConfig
sdk = Sdk(devices=(
ExoConfig(name="primary", connection=SerialConnection(port="/dev/ttyUSB0")),
))The application-data directory and DebugConfig are shared Core settings. Exo does not use algorithms, targets, capture, or calibration configuration.