@wandelbots/wandelbots-js-react-components 5.4.0 → 5.4.1-pr.ci-biome-fixes.584.d0d213b
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/3d.cjs.js +1 -1
- package/dist/3d.d.ts +1 -1
- package/dist/3d.d.ts.map +1 -1
- package/dist/3d.es.js +1 -1
- package/dist/MotionGroupVisualizer-B3qmKrhO.cjs +2 -0
- package/dist/MotionGroupVisualizer-B3qmKrhO.cjs.map +1 -0
- package/dist/{MotionGroupVisualizer-1twp8wG6.js → MotionGroupVisualizer-kfAXxfmu.js} +440 -399
- package/dist/MotionGroupVisualizer-kfAXxfmu.js.map +1 -0
- package/dist/Setup.d.ts +1 -1
- package/dist/Setup.d.ts.map +1 -1
- package/dist/components/3d-viewport/SafetyZonesRenderer.d.ts +1 -1
- package/dist/components/3d-viewport/SafetyZonesRenderer.d.ts.map +1 -1
- package/dist/components/3d-viewport/collider/ColliderCollection.d.ts.map +1 -1
- package/dist/components/ConsoleFilter.d.ts +1 -1
- package/dist/components/ConsoleFilter.d.ts.map +1 -1
- package/dist/components/ProgramStateIndicator.d.ts.map +1 -1
- package/dist/components/RobotSetupReadinessIndicator.d.ts.map +1 -1
- package/dist/components/TabBar.d.ts.map +1 -1
- package/dist/components/Timer/TimerDefaultVariant.d.ts.map +1 -1
- package/dist/components/TransparentOverlay.d.ts +1 -1
- package/dist/components/TransparentOverlay.d.ts.map +1 -1
- package/dist/components/jogging/JoggingBlocked.d.ts +1 -1
- package/dist/components/jogging/JoggingBlocked.d.ts.map +1 -1
- package/dist/components/jogging/JoggingCartesianAxisControl.d.ts.map +1 -1
- package/dist/components/jogging/JoggingCartesianTab.d.ts.map +1 -1
- package/dist/components/jogging/JoggingJointLimitDetector.d.ts +1 -1
- package/dist/components/jogging/JoggingJointLimitDetector.d.ts.map +1 -1
- package/dist/components/jogging/JoggingJointTab.d.ts +2 -2
- package/dist/components/jogging/JoggingJointTab.d.ts.map +1 -1
- package/dist/components/jogging/JoggingJointValueControl.d.ts.map +1 -1
- package/dist/components/jogging/JoggingOptions.d.ts.map +1 -1
- 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/JoggingStore.d.ts +1 -1
- package/dist/components/jogging/JoggingStore.d.ts.map +1 -1
- package/dist/components/jogging/JoggingVelocitySlider.d.ts +1 -1
- package/dist/components/jogging/JoggingVelocitySlider.d.ts.map +1 -1
- package/dist/components/jogging/__fixtures__/motionStreamMockData.d.ts +11 -0
- package/dist/components/jogging/__fixtures__/motionStreamMockData.d.ts.map +1 -0
- package/dist/components/robots/DHLinearAxis.d.ts.map +1 -1
- package/dist/components/robots/DHRobot.d.ts.map +1 -1
- package/dist/components/robots/GenericRobot.d.ts +1 -1
- package/dist/components/robots/GenericRobot.d.ts.map +1 -1
- package/dist/components/robots/LinearAxisAnimator.d.ts +1 -1
- package/dist/components/robots/LinearAxisAnimator.d.ts.map +1 -1
- package/dist/components/robots/MotionGroupVisualizer.d.ts +2 -2
- package/dist/components/robots/MotionGroupVisualizer.d.ts.map +1 -1
- package/dist/components/robots/RobotAnimator.d.ts +1 -1
- package/dist/components/robots/RobotAnimator.d.ts.map +1 -1
- package/dist/components/robots/SupportedLinearAxis.d.ts.map +1 -1
- package/dist/components/robots/SupportedRobot.d.ts.map +1 -1
- package/dist/components/robots/robotModelLogic.d.ts.map +1 -1
- package/dist/components/safetyBar/IndicatorWithExplanation.d.ts.map +1 -1
- package/dist/components/utils/converters.d.ts +2 -2
- package/dist/components/utils/converters.d.ts.map +1 -1
- package/dist/components/utils/hooks.d.ts.map +1 -1
- package/dist/components/utils/interpolation.d.ts.map +1 -1
- package/dist/core.cjs.js +1 -1
- package/dist/core.es.js +2 -2
- package/dist/externalizeComponent.d.ts.map +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +3 -3
- package/dist/{interpolation-B3pbgXYX.cjs → interpolation-BVnfk3s2.cjs} +3 -3
- package/dist/interpolation-BVnfk3s2.cjs.map +1 -0
- package/dist/{interpolation-D4ATdkEg.js → interpolation-Bk-Oa5jf.js} +33 -34
- package/dist/interpolation-Bk-Oa5jf.js.map +1 -0
- package/dist/lib/JoggerConnection.d.ts +6 -4
- package/dist/lib/JoggerConnection.d.ts.map +1 -1
- package/dist/themes/createDarkTheme.d.ts.map +1 -1
- package/dist/{theming-BnAhDNbi.js → theming-CEHa4RBB.js} +1214 -1213
- package/dist/{theming-BnAhDNbi.js.map → theming-CEHa4RBB.js.map} +1 -1
- package/dist/{theming-BCLKcKOU.cjs → theming-vJeiAV5F.cjs} +27 -27
- package/dist/{theming-BCLKcKOU.cjs.map → theming-vJeiAV5F.cjs.map} +1 -1
- package/package.json +4 -3
- package/src/3d.ts +2 -2
- package/src/Setup.tsx +2 -6
- package/src/components/3d-viewport/PresetEnvironment.tsx +1 -0
- package/src/components/3d-viewport/SafetyZonesRenderer.tsx +43 -23
- package/src/components/3d-viewport/TrajectoryRenderer.tsx +1 -1
- package/src/components/3d-viewport/collider/ColliderCollection.tsx +3 -2
- package/src/components/ConsoleFilter.tsx +1 -1
- package/src/components/CycleTimer/DefaultVariant.tsx +4 -4
- package/src/components/LogViewer.tsx +2 -2
- package/src/components/ProgramStateIndicator.tsx +0 -1
- package/src/components/RobotSetupReadinessIndicator.tsx +0 -1
- package/src/components/TabBar.tsx +2 -1
- package/src/components/Timer/TimerDefaultVariant.tsx +6 -5
- package/src/components/Timer/useTimerLogic.ts +9 -9
- package/src/components/TransparentOverlay.tsx +1 -1
- package/src/components/jogging/JoggingBlocked.tsx +1 -1
- package/src/components/jogging/JoggingCartesianAxisControl.tsx +2 -6
- package/src/components/jogging/JoggingCartesianTab.tsx +1 -0
- package/src/components/jogging/JoggingJointLimitDetector.tsx +40 -42
- package/src/components/jogging/JoggingJointTab.tsx +8 -19
- package/src/components/jogging/JoggingJointValueControl.tsx +40 -29
- package/src/components/jogging/JoggingOptions.tsx +141 -138
- package/src/components/jogging/JoggingPanel.test.tsx +644 -0
- package/src/components/jogging/JoggingPanel.tsx +6 -12
- package/src/components/jogging/JoggingStore.ts +18 -13
- package/src/components/jogging/JoggingVelocitySlider.tsx +2 -10
- package/src/components/jogging/__fixtures__/motionStreamMockData.ts +136 -0
- package/src/components/robots/DHLinearAxis.tsx +62 -45
- package/src/components/robots/DHRobot.tsx +47 -45
- package/src/components/robots/GenericRobot.tsx +24 -24
- package/src/components/robots/LinearAxis.tsx +0 -1
- package/src/components/robots/LinearAxisAnimator.tsx +4 -1
- package/src/components/robots/MotionGroupVisualizer.tsx +53 -53
- package/src/components/robots/RobotAnimator.tsx +4 -1
- package/src/components/robots/SupportedLinearAxis.tsx +10 -3
- package/src/components/robots/SupportedRobot.tsx +10 -3
- package/src/components/robots/robotModelLogic.ts +22 -11
- package/src/components/safetyBar/IndicatorWithExplanation.tsx +9 -3
- package/src/components/utils/converters.ts +10 -7
- package/src/components/utils/errorHandling.ts +1 -1
- package/src/components/utils/hooks.tsx +1 -0
- package/src/components/utils/interpolation.test.ts +53 -38
- package/src/components/utils/interpolation.ts +1 -0
- package/src/externalizeComponent.tsx +3 -1
- package/src/lib/JoggerConnection.ts +39 -25
- package/src/themes/createDarkTheme.ts +2 -2
- package/dist/MotionGroupVisualizer-1twp8wG6.js.map +0 -1
- package/dist/MotionGroupVisualizer-Dq_KWGsa.cjs +0 -2
- package/dist/MotionGroupVisualizer-Dq_KWGsa.cjs.map +0 -1
- package/dist/interpolation-B3pbgXYX.cjs.map +0 -1
- package/dist/interpolation-D4ATdkEg.js.map +0 -1
|
@@ -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;
|
|
@@ -63,7 +65,7 @@ export declare class JoggerConnection {
|
|
|
63
65
|
/**
|
|
64
66
|
* Jogging: Start rotation of a single robot joint at the specified velocity
|
|
65
67
|
*/
|
|
66
|
-
rotateJoints({ joint, direction, velocityValue, velocityUnit }: {
|
|
68
|
+
rotateJoints({ joint, direction, velocityValue, velocityUnit, }: {
|
|
67
69
|
/** Index of the joint to rotate */
|
|
68
70
|
joint: number;
|
|
69
71
|
/** Direction of rotation ("+" or "-") */
|
|
@@ -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;AAGzD,MAAM,MAAM,iBAAiB,GAAG,UAAU,GAAG,MAAM,CAAA;AAEnD,qBAAa,gBAAgB;IAwDzB,QAAQ,CAAC,YAAY,EAAE,sBAAsB;IAC7C,QAAQ,CAAC,OAAO,EAAE,uBAAuB,GAAG,SAAS;IAxDvD,gBAAgB,SAAuB;IACvC,mBAAmB,SAA0B;IAC7C,YAAY,EAAY,UAAU,CAAA;IAClC,WAAW,EAAE,MAAM,GAAG,SAAS,CAAW;IAC1C,MAAM,EAAE,MAAM,GAAG,SAAS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AAI,EAAE,GAAG,GAAG,GAAG,GAAG,GAAG,CAAA;QACrB,SAAS,EAAE,GAAG,GAAG,GAAG,CAAA;QACpB,gBAAgB,EAAE,MAAM,CAAA;KACzB;IAmBD;;OAEG;IACG,SAAS,CAAC,EACd,IAAI,EACJ,SAAS,EACT,kBAAkB,GACnB,EAAE;QACD,IAAI,EAAE,GAAG,GAAG,GAAG,GAAG,GAAG,CAAA;QACrB,SAAS,EAAE,GAAG,GAAG,GAAG,CAAA;QACpB,kBAAkB,EAAE,MAAM,CAAA;KAC3B;IAkBD;;;;;;OAMG;IACG,6BAA6B,CAAC,EAClC,cAAc,EACd,aAAa,EAEb,uBAAuB,EACvB,IAAI,EACJ,SAAS,EACT,MAAM,GACP,EAAE;QACD,cAAc,EAAE,IAAI,CAAA;QACpB,aAAa,EAAE,aAAa,CAAA;QAC5B,aAAa,EAAE,MAAM,CAAA;QACrB,uBAAuB,EAAE,MAAM,CAAA;QAC/B,IAAI,EAAE,GAAG,GAAG,GAAG,GAAG,GAAG,CAAA;QACrB,SAAS,EAAE,GAAG,GAAG,GAAG,CAAA;QACpB,MAAM,EACF;YACE,IAAI,EAAE,QAAQ,CAAA;YACd,YAAY,EAAE,MAAM,CAAA;SACrB,GACD;YACE,IAAI,EAAE,WAAW,CAAA;YACjB,UAAU,EAAE,MAAM,CAAA;SACnB,CAAA;KACN;CAiRF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createDarkTheme.d.ts","sourceRoot":"","sources":["../../src/themes/createDarkTheme.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"createDarkTheme.d.ts","sourceRoot":"","sources":["../../src/themes/createDarkTheme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,KAAK,EAAE,MAAM,eAAe,CAAA;AAEvD,wBAAgB,eAAe,IAAI,KAAK,CAqVvC"}
|