Class: Client

Entry point for the OLO TypeScript SDK.

Construct with a Connect transport from olo/node (gRPC) or olo/web (gRPC-Web).

Constructors

Constructor

new Client(transport, options?): Client;

Parameters

Parameter

Type

transport

Transport

options

ClientOptions

Returns

Client

Accessors

ai

Get Signature

get ai(): Ai;

Return the AI API wrapper.

Returns

Ai


archive

Get Signature

get archive(): Archive;

Return the local archive API wrapper.

Returns

Archive


core

Get Signature

get core(): Core;

Return the Core API wrapper.

Returns

Core


kinematics

Get Signature

get kinematics(): Kinematics;

Return the Kinematics API wrapper.

Returns

Kinematics


locomotion

Get Signature

get locomotion(): Locomotion;

Return the local locomotion API wrapper.

Returns

Locomotion



platform

Get Signature

get platform(): Platform;

Return the platform catalog API (server-direct, PAT-authenticated).

Returns

Platform


spatial

Get Signature

get spatial(): Spatial;

Return the Spatial API wrapper.

Returns

Spatial

Methods

[asyncDispose]()

asyncDispose: Promise<void>;

Returns

Promise<void>


close()

close(): void;

Release transport resources so short-lived Node scripts can exit cleanly.

Returns

void


robot()

robot(namespace?): Promise<Robot>;

Return a namespace-scoped robot handle.

Parameters

Parameter

Type

namespace?

string | null

Returns

Promise<Robot>