@wandelbots/wandelbots-js-react-components 5.4.0 → 5.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/jogging/JoggingPanel.test.d.ts +2 -0
- package/dist/components/jogging/JoggingPanel.test.d.ts.map +1 -0
- package/dist/components/jogging/__fixtures__/motionStreamMockData.d.ts +11 -0
- package/dist/components/jogging/__fixtures__/motionStreamMockData.d.ts.map +1 -0
- package/dist/core.cjs.js +1 -1
- package/dist/core.es.js +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +1 -1
- package/dist/lib/JoggerConnection.d.ts +5 -3
- package/dist/lib/JoggerConnection.d.ts.map +1 -1
- package/dist/{theming-BCLKcKOU.cjs → theming-BJ6pB6jG.cjs} +18 -18
- package/dist/{theming-BCLKcKOU.cjs.map → theming-BJ6pB6jG.cjs.map} +1 -1
- package/dist/{theming-BnAhDNbi.js → theming-LwkvEF-K.js} +548 -543
- package/dist/{theming-BnAhDNbi.js.map → theming-LwkvEF-K.js.map} +1 -1
- package/package.json +1 -1
- package/src/components/jogging/JoggingPanel.test.tsx +653 -0
- package/src/components/jogging/__fixtures__/motionStreamMockData.ts +137 -0
- package/src/lib/JoggerConnection.ts +24 -10
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"JoggingPanel.test.d.ts","sourceRoot":"","sources":["../../../src/components/jogging/JoggingPanel.test.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { MotionGroupState, MotionGroupDescription, DHParameter } from "@wandelbots/nova-js/v2";
|
|
2
|
+
export declare const ur5eMotionGroupState: MotionGroupState;
|
|
3
|
+
export declare const ur5eDhParameters: DHParameter[];
|
|
4
|
+
export declare const ur5eDescription: MotionGroupDescription;
|
|
5
|
+
export declare const turnMockMotionGroupState: MotionGroupState;
|
|
6
|
+
export declare const turnMockDhParameters: DHParameter[];
|
|
7
|
+
export declare const turnMockDescription: MotionGroupDescription;
|
|
8
|
+
export declare const linearAxisMotionGroupState: MotionGroupState;
|
|
9
|
+
export declare const linearAxisDhParameters: DHParameter[];
|
|
10
|
+
export declare const linearAxisDescription: MotionGroupDescription;
|
|
11
|
+
//# sourceMappingURL=motionStreamMockData.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"motionStreamMockData.d.ts","sourceRoot":"","sources":["../../../../src/components/jogging/__fixtures__/motionStreamMockData.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,gBAAgB,EAChB,sBAAsB,EACtB,WAAW,EACZ,MAAM,wBAAwB,CAAA;AAM/B,eAAO,MAAM,oBAAoB,EAAE,gBA4BlC,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,WAAW,EAGzC,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,sBAMQ,CAAA;AAMtC,eAAO,MAAM,wBAAwB,EAAE,gBAqBtC,CAAA;AAED,eAAO,MAAM,oBAAoB,EAAE,WAAW,EAG7C,CAAA;AAED,eAAO,MAAM,mBAAmB,EAAE,sBAMI,CAAA;AAMtC,eAAO,MAAM,0BAA0B,EAAE,gBAqBxC,CAAA;AAED,eAAO,MAAM,sBAAsB,EAAE,WAAW,EAE/C,CAAA;AAED,eAAO,MAAM,qBAAqB,EAAE,sBAME,CAAA"}
|
package/dist/core.cjs.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./theming-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./theming-BJ6pB6jG.cjs"),o=require("./interpolation-B3pbgXYX.cjs");exports.AppHeader=e.AppHeader;exports.ConnectedMotionGroup=e.ConnectedMotionGroup;exports.CycleTimer=e.CycleTimer;exports.JoggerConnection=e.JoggerConnection;exports.JoggingCartesianAxisControl=e.JoggingCartesianAxisControl;exports.JoggingJointValueControl=e.JoggingJointValueControl;exports.JoggingPanel=e.JoggingPanel;exports.JoggingStore=e.JoggingStore;exports.LoadingCover=e.LoadingCover;exports.LoadingErrorMessage=e.LoadingErrorMessage;exports.LogPanel=e.LogPanel;exports.LogStore=e.LogStore;exports.LogViewer=e.LogViewer;exports.MotionStreamConnection=e.MotionStreamConnection;exports.NoMotionGroupModal=e.NoMotionGroupModal;exports.PoseCartesianValues=e.PoseCartesianValues;exports.PoseJointValues=e.PoseJointValues;exports.RobotListItem=e.RobotListItem;exports.RobotSetupReadinessIndicator=e.RobotSetupReadinessIndicator;exports.RobotSetupReadinessState=e.RobotSetupReadinessState;exports.SafetyBar=e.SafetyBar;exports.SelectableFab=e.SelectableFab;exports.TabBar=e.TabBar;exports.Timer=e.Timer;exports.VelocitySlider=e.VelocitySlider;exports.VelocitySliderLabel=e.VelocitySliderLabel;exports.WandelbotsDataGrid=e.WandelbotsDataGrid;exports.createDebugMessage=e.createDebugMessage;exports.createErrorMessage=e.createErrorMessage;exports.createInfoMessage=e.createInfoMessage;exports.createLogMessage=e.createLogMessage;exports.createNovaMuiTheme=e.createNovaMuiTheme;exports.createWarningMessage=e.createWarningMessage;exports.jointValuesEqual=e.jointValuesEqual;exports.poseEqual=e.poseEqual;exports.tcpMotionEqual=e.tcpMotionEqual;exports.unwrapRotationVector=e.unwrapRotationVector;exports.ProgramControl=o.ProgramControl;exports.ProgramState=o.ProgramState;exports.ProgramStateIndicator=o.ProgramStateIndicator;exports.ValueInterpolator=o.ValueInterpolator;exports.i18n=o.i18n;exports.useAnimationFrame=o.useAnimationFrame;exports.useAutorun=o.useAutorun;exports.useInterpolation=o.useInterpolation;exports.useMounted=o.useMounted;exports.useReaction=o.useReaction;
|
|
2
2
|
//# sourceMappingURL=core.cjs.js.map
|
package/dist/core.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as s, t as o, C as t, u as r, a as n, b as i, d as g, J as l, f as u, g as c, h as d, L as p, n as M, M as m, N as S, P as b, e as C, R as V, p as L, o as P, S as J, q as R, T as f, r as I, V as y, s as A, W as E, j as T, m as q, k as x, i as v, c as w, l as G, v as N, w as W, x as h, y as j } from "./theming-
|
|
1
|
+
import { A as s, t as o, C as t, u as r, a as n, b as i, d as g, J as l, f as u, g as c, h as d, L as p, n as M, M as m, N as S, P as b, e as C, R as V, p as L, o as P, S as J, q as R, T as f, r as I, V as y, s as A, W as E, j as T, m as q, k as x, i as v, c as w, l as G, v as N, w as W, x as h, y as j } from "./theming-LwkvEF-K.js";
|
|
2
2
|
import { a as D, P as F, b as k, V as H, i as z, e as K, c as O, f as Q, u as U, d as X } from "./interpolation-D4ATdkEg.js";
|
|
3
3
|
export {
|
|
4
4
|
s as AppHeader,
|
package/dist/index.cjs.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./MotionGroupVisualizer-Dq_KWGsa.cjs"),e=require("./theming-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./MotionGroupVisualizer-Dq_KWGsa.cjs"),e=require("./theming-BJ6pB6jG.cjs"),t=require("./interpolation-B3pbgXYX.cjs"),o=require("./safety-state-stop-ClWLVLMl.cjs"),a=require("./wbLogo-G_IfZ03l.cjs");exports.CollisionSceneRenderer=r.CollisionSceneRenderer;exports.LinearAxis=r.LinearAxis;exports.MANUFACTURER_HOME_CONFIGS=r.MANUFACTURER_HOME_CONFIGS;exports.MotionGroupVisualizer=r.MotionGroupVisualizer;exports.PresetEnvironment=r.PresetEnvironment;exports.Robot=r.Robot;exports.RobotCard=r.RobotCard;exports.SafetyZonesRenderer=r.SafetyZonesRenderer;exports.SupportedLinearAxis=r.SupportedLinearAxis;exports.SupportedRobot=r.SupportedRobot;exports.TrajectoryRenderer=r.TrajectoryRenderer;exports.defaultAxisConfig=r.defaultAxisConfig;exports.defaultGetModel=r.defaultGetModel;exports.extractManufacturer=r.extractManufacturer;exports.getDefaultHomeConfig=r.getDefaultHomeConfig;exports.AppHeader=e.AppHeader;exports.ConnectedMotionGroup=e.ConnectedMotionGroup;exports.CycleTimer=e.CycleTimer;exports.JoggerConnection=e.JoggerConnection;exports.JoggingCartesianAxisControl=e.JoggingCartesianAxisControl;exports.JoggingJointValueControl=e.JoggingJointValueControl;exports.JoggingPanel=e.JoggingPanel;exports.JoggingStore=e.JoggingStore;exports.LoadingCover=e.LoadingCover;exports.LoadingErrorMessage=e.LoadingErrorMessage;exports.LogPanel=e.LogPanel;exports.LogStore=e.LogStore;exports.LogViewer=e.LogViewer;exports.MotionStreamConnection=e.MotionStreamConnection;exports.NoMotionGroupModal=e.NoMotionGroupModal;exports.PoseCartesianValues=e.PoseCartesianValues;exports.PoseJointValues=e.PoseJointValues;exports.RobotListItem=e.RobotListItem;exports.RobotSetupReadinessIndicator=e.RobotSetupReadinessIndicator;exports.RobotSetupReadinessState=e.RobotSetupReadinessState;exports.SafetyBar=e.SafetyBar;exports.SelectableFab=e.SelectableFab;exports.TabBar=e.TabBar;exports.Timer=e.Timer;exports.VelocitySlider=e.VelocitySlider;exports.VelocitySliderLabel=e.VelocitySliderLabel;exports.WandelbotsDataGrid=e.WandelbotsDataGrid;exports.createDebugMessage=e.createDebugMessage;exports.createErrorMessage=e.createErrorMessage;exports.createInfoMessage=e.createInfoMessage;exports.createLogMessage=e.createLogMessage;exports.createNovaMuiTheme=e.createNovaMuiTheme;exports.createWarningMessage=e.createWarningMessage;exports.jointValuesEqual=e.jointValuesEqual;exports.poseEqual=e.poseEqual;exports.tcpMotionEqual=e.tcpMotionEqual;exports.unwrapRotationVector=e.unwrapRotationVector;exports.ProgramControl=t.ProgramControl;exports.ProgramState=t.ProgramState;exports.ProgramStateIndicator=t.ProgramStateIndicator;exports.ValueInterpolator=t.ValueInterpolator;exports.i18n=t.i18n;exports.useAnimationFrame=t.useAnimationFrame;exports.useAutorun=t.useAutorun;exports.useInterpolation=t.useInterpolation;exports.useMounted=t.useMounted;exports.useReaction=t.useReaction;exports.AxisXIcon=o.ForwardRef$10;exports.AxisYIcon=o.ForwardRef$11;exports.AxisZIcon=o.ForwardRef$12;exports.ControllerTypePhysicalIcon=o.ForwardRef;exports.ControllerTypeVirtualIcon=o.ForwardRef$1;exports.JogMinusIcon=o.ForwardRef$13;exports.JogPlusIcon=o.ForwardRef$14;exports.OperationModeAutomaticIcon=o.ForwardRef$2;exports.OperationModeErrorIcon=o.ForwardRef$3;exports.OperationModeManualIcon=o.ForwardRef$4;exports.RobotIcon=o.ForwardRef$15;exports.RotationIcon=o.ForwardRef$16;exports.SafetyStateErrorIcon=o.ForwardRef$5;exports.SafetyStateEstopIcon=o.ForwardRef$6;exports.SafetyStateManualActionRequiredIcon=o.ForwardRef$7;exports.SafetyStateNormalIcon=o.ForwardRef$8;exports.SafetyStateStopIcon=o.ForwardRef$9;exports.HomeIcon=a.ForwardRef;exports.JoggingIcon=a.ForwardRef$1;exports.OrientationCoordSystemIcon=a.ForwardRef$2;exports.OrientationToolIcon=a.ForwardRef$3;exports.WBLogoIcon=a.ForwardRef$4;
|
|
2
2
|
//# sourceMappingURL=index.cjs.js.map
|
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { C as e, L as s, M as t, h as n, P as r, b as i, R as c, S as l, c as g, f as u, T as d, a as S, d as p, e as I, g as M } from "./MotionGroupVisualizer-1twp8wG6.js";
|
|
2
|
-
import { A as m, t as C, C as R, u as b, a as y, b as A, d as x, J as L, f as P, g as V, h as E, L as J, n as T, M as O, N as F, P as G, e as N, R as h, p as q, o as j, S as v, q as H, T as W, r as w, V as B, s as D, W as k, j as U, m as Z, k as _, i as z, c as X, l as Y, v as K, w as Q, x as $, y as aa } from "./theming-
|
|
2
|
+
import { A as m, t as C, C as R, u as b, a as y, b as A, d as x, J as L, f as P, g as V, h as E, L as J, n as T, M as O, N as F, P as G, e as N, R as h, p as q, o as j, S as v, q as H, T as W, r as w, V as B, s as D, W as k, j as U, m as Z, k as _, i as z, c as X, l as Y, v as K, w as Q, x as $, y as aa } from "./theming-LwkvEF-K.js";
|
|
3
3
|
import { a as ea, P as sa, b as ta, V as na, i as ra, e as ia, c as ca, f as la, u as ga, d as ua } from "./interpolation-D4ATdkEg.js";
|
|
4
4
|
import { j as Sa, k as pa, l as Ia, F as Ma, a as fa, m as ma, n as Ca, b as Ra, c as ba, d as ya, o as Aa, p as xa, e as La, f as Pa, g as Va, h as Ea, i as Ja } from "./safety-state-stop-DuMBCxN5.js";
|
|
5
5
|
import { F as Oa, a as Fa, b as Ga, c as Na, d as ha } from "./wbLogo-CObCmqTw.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type AutoReconnectingWebsocket } from "@wandelbots/nova-js";
|
|
2
|
-
import type
|
|
2
|
+
import { type NovaClient, type Pose } from "@wandelbots/nova-js/v2";
|
|
3
3
|
import { MotionStreamConnection } from "./MotionStreamConnection";
|
|
4
4
|
export type Vector3Simple = [number, number, number];
|
|
5
5
|
export type JoggerConnectionOptions = {
|
|
@@ -22,14 +22,15 @@ export declare class JoggerConnection {
|
|
|
22
22
|
ENDPOINT_JOGGING: string;
|
|
23
23
|
ENDPOINT_TRAJECTORY: string;
|
|
24
24
|
DEFAULT_MODE: JoggerMode;
|
|
25
|
-
DEFAULT_TCP: string;
|
|
25
|
+
DEFAULT_TCP: string | undefined;
|
|
26
|
+
NO_TCP: string | undefined;
|
|
26
27
|
DEFAULT_INIT_TIMEOUT: number;
|
|
27
28
|
DEFAULT_ORIENTATION: JoggerOrientation;
|
|
28
29
|
mode: JoggerMode;
|
|
29
30
|
joggingSocket: AutoReconnectingWebsocket | null;
|
|
30
31
|
trajectorySocket: AutoReconnectingWebsocket | null;
|
|
31
32
|
timeout: number;
|
|
32
|
-
tcp: string;
|
|
33
|
+
tcp: string | undefined;
|
|
33
34
|
orientation: JoggerOrientation;
|
|
34
35
|
onError?: (err: unknown) => void;
|
|
35
36
|
onBlocked?: () => void;
|
|
@@ -52,6 +53,7 @@ export declare class JoggerConnection {
|
|
|
52
53
|
*/
|
|
53
54
|
static open(nova: NovaClient, motionGroupId: string, options?: JoggerConnectionOptions): Promise<JoggerConnection>;
|
|
54
55
|
constructor(motionStream: MotionStreamConnection, options?: JoggerConnectionOptions | undefined);
|
|
56
|
+
getDefaultTcp(motionStream: MotionStreamConnection): string | undefined;
|
|
55
57
|
setOptions(options: Partial<JoggerConnectionOptions>): Promise<void>;
|
|
56
58
|
get motionGroupId(): string;
|
|
57
59
|
get nova(): NovaClient;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"JoggerConnection.d.ts","sourceRoot":"","sources":["../../src/lib/JoggerConnection.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,yBAAyB,EAG/B,MAAM,qBAAqB,CAAA;AAC5B,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"JoggerConnection.d.ts","sourceRoot":"","sources":["../../src/lib/JoggerConnection.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,yBAAyB,EAG/B,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EAIL,KAAK,UAAU,EACf,KAAK,IAAI,EAEV,MAAM,wBAAwB,CAAA;AAG/B,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAA;AAEjE,MAAM,MAAM,aAAa,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAA;AAIpD,MAAM,MAAM,uBAAuB,GAAG;IAEpC,IAAI,CAAC,EAAE,UAAU,CAAA;IAGjB,OAAO,CAAC,EAAE,MAAM,CAAA;IAEhB;;;;OAIG;IACH,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,OAAO,KAAK,IAAI,CAAA;IAGhC,GAAG,CAAC,EAAE,MAAM,CAAA;IAMZ,WAAW,CAAC,EAAE,iBAAiB,CAAA;CAChC,CAAA;AAMD,MAAM,MAAM,UAAU,GAAG,SAAS,GAAG,YAAY,GAAG,KAAK,CAAA;AAG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