Discovery and configuration
Core interfaces
Current version · 1.4.0
discover_exos()
Scan for discoverable exoskeleton devices.
Type
discover_exos() -> tuple[DiscoveredExo, ...]Returns
A sequence of discovery results. Each DiscoveredExo contains:
Fields
| Field | Type | Description |
|---|---|---|
port | str | Serial port path |
transport_type | ExoTransportType | Required transport field; currently ExoTransportType.SERIAL (serial) |
device_info | ExoDeviceInfo | None | Device information when probing succeeds |
error | ExoDiscoveryIssue | None | Probe failure; mutually exclusive with device_info |
ExoDiscoveryIssue contains code: ExoDiscoveryErrorCode and message: str. Error codes are PORT_OPEN, PROTOCOL_ERROR, and INCOMPATIBLE.
ExoConfig
Configure an exoskeleton device connection, logical name, and enabled state.
Type
ExoConfig(
connection: SerialConnection = SerialConnection(),
name: str | None = None,
enabled: bool = True,
)connection selects the serial port, name defines the logical name accepted by device(name), and enabled=False disables this configuration. Exo does not support locating a device through SerialConnection.serial_number. to_dict() returns the Core device configuration.
Sdk(...).exo() returns the Exo domain entry point.