UNPKG

@wandelbots/nova-js

Version:

Official JS client for the Wandelbots API

25 lines 1.18 kB
import type { Controller, MotionGroupPhysical, MotionGroupState } from "@wandelbots/nova-api/v2"; import type { AutoReconnectingWebsocket } from "../AutoReconnectingWebsocket"; import type { NovaClient } from "./NovaClient"; /** * Store representing the current state of a connected motion group. */ export declare class MotionStreamConnection { readonly nova: NovaClient; readonly controller: Controller; readonly motionGroup: MotionGroupPhysical; readonly initialMotionState: MotionGroupState; readonly motionStateSocket: AutoReconnectingWebsocket; static open(nova: NovaClient, motionGroupId: string): Promise<MotionStreamConnection>; rapidlyChangingMotionState: MotionGroupState; constructor(nova: NovaClient, controller: Controller, motionGroup: MotionGroupPhysical, initialMotionState: MotionGroupState, motionStateSocket: AutoReconnectingWebsocket); get motionGroupId(): string; get controllerId(): string; get modelFromController(): string | undefined; get wandelscriptIdentifier(): string; get joints(): { index: number; }[]; dispose(): void; } //# sourceMappingURL=MotionStreamConnection.d.ts.map