TsApi
teslasuit_sdk.ts_api.TsApi
Aggregate TESLASUIT API entry point containing the library loader and device manager.
Properties#
mapper#
type=TsMapper
Mapping accessor for 2D layout data.
asset_manager#
type=TsAssetManager
Manager for loading and unloading TESLASUIT assets.
Methods#
__init__#
def __init__(lib_path: Optional[str] = None):
Initialize and load the TESLASUIT C API library, then initialize the SDK.
Parameters
lib_path: Optional[str] = None
Path to the TESLASUIT C API shared library. If None, the path is read from the TESLASUIT_API_LIB_PATH environment variable.
Raises
Exception
If the underlying C API ts_initialize call fails.
get_device_manager#
def get_device_manager() -> ts_device_manager.TsDeviceManager:
Return the device manager that provides access to connected TESLASUIT devices.
Returns: TsDeviceManager
The device manager instance.
