Client¶
Both SDKs expose a Client entry point for the appliance gRPC control plane.
Python owns its channel directly; TypeScript accepts a Connect transport from
the runtime-specific entry points.
OLO Python SDK — appliance gRPC control plane + platform Connect catalogs.
- class olo.Client[source]¶
Bases:
objectEntry point for the sync OLO Python SDK.
- __init__(target=None, *, platform_url=None, platform_token=None)[source]¶
Connect to the appliance gRPC target; optionally configure platform.
- property kinematics: Kinematics¶
Return the Kinematics API wrapper.
- property locomotion: Locomotion¶
Return the local locomotion API wrapper.
Return the Navigation API wrapper.
- class olo.Robot[source]¶
Bases:
objectNamespace-scoped robot handle over supported robot capabilities.
- olo.DEFAULT_TARGET = '127.0.0.1:50151'¶
Default gRPC target when
Client()is called without one andOLO_SDK_GRPC_TARGETis unset.
- olo.ENV_TARGET = 'OLO_SDK_GRPC_TARGET'¶
Environment variable that overrides
olo.DEFAULT_TARGET.
olo exports a runtime-neutral Client and channel helpers.
Client — entry point for the TypeScript SDK; exposes the
core,spatial,kinematics,locomotion,navigation,vision, andaimodule wrappers plusrobot().Robot — namespace-scoped robot handle with always-present capability handles; operations validate their own runtime dependencies.
DEFAULT_TARGET — default appliance gRPC target.
ENV_TARGET — environment variable that overrides
DEFAULT_TARGETfor target resolution in Node.
Construct Client with a Connect transport for your runtime:
import { Client } from "olo";
const client = new Client(myTransport);