外骨骼设备接口
基础接口
当前版本 · 1.4.0
以下属性和方法作用于当前选定的外骨骼设备。
ExoDevice.name
配置的逻辑名称。
类型
ExoDevice.name -> str | None返回值
str | None。
参考
ExoDevice.source_id
SDK 内部稳定数据源标识。
类型
ExoDevice.source_id -> str返回值
str。
参考
ExoDevice.start()
启动当前设备。
类型
ExoDevice.start() -> None返回值
None。
参考
ExoDevice.stop()
停止当前设备。
类型
ExoDevice.stop() -> None返回值
None。
参考
ExoDevice.health()
当前设备健康状态。
类型
ExoDevice.health() -> Health返回值
Health。
参考
ExoDevice.get_device_info()
设备身份、能力和组件数量。
类型
ExoDevice.get_device_info() -> ExoDeviceInfo返回值
参考
ExoDevice.telemetry()
遥测数据通道。
类型
ExoDevice.telemetry() -> ReadChannel[ExoTelemetry]返回值
ReadChannel[ExoTelemetry]。 参见 ExoTelemetry。
参考
ExoDevice.status()
连接与运行状态通道。
类型
ExoDevice.status() -> ReadChannel[ExoStatus]返回值
ReadChannel[ExoStatus]。 参见 ExoStatus。
参考
ExoDevice.haptics()
可读写的左右震动状态。
类型
ExoDevice.haptics() -> HapticsState返回值
HapticsState。
参考
ExoDevice.close()
关闭设备句柄。
类型
ExoDevice.close() -> None返回值
None。
参考