@wandelbots/wandelbots-js-react-components
Version:
React UI toolkit for building applications on top of the Wandelbots platform
24 lines • 1.19 kB
TypeScript
import { type AutoReconnectingWebsocket } from "@wandelbots/nova-js";
import type { MotionGroupDescription, MotionGroupState, NovaClient, RobotControllerState } from "@wandelbots/nova-js/v2";
/**
* Store representing the current state of a connected motion group.
*/
export declare class MotionStreamConnection {
readonly nova: NovaClient;
readonly controller: RobotControllerState;
readonly motionGroup: MotionGroupState;
readonly description: MotionGroupDescription;
readonly initialMotionState: MotionGroupState;
readonly motionStateSocket: AutoReconnectingWebsocket;
static open(nova: NovaClient, motionGroupId: string): Promise<MotionStreamConnection>;
rapidlyChangingMotionState: MotionGroupState;
constructor(nova: NovaClient, controller: RobotControllerState, motionGroup: MotionGroupState, description: MotionGroupDescription, initialMotionState: MotionGroupState, motionStateSocket: AutoReconnectingWebsocket);
get motionGroupId(): string;
get controllerId(): string;
get wandelscriptIdentifier(): string;
get joints(): {
index: number;
}[];
dispose(): void;
}
//# sourceMappingURL=MotionStreamConnection.d.ts.map