@wandelbots/wandelbots-js-react-components 6.4.0-pr.revamp.667.bd2ec84 → 6.4.0-pr.revamp.667.ca77f09
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/README.md +172 -40
- package/dist/3d.cjs +1 -1
- package/dist/3d.d.ts +3 -4
- package/dist/3d.js +35 -38
- package/dist/CurrentPose/index.cjs +1 -1
- package/dist/CurrentPose/index.js +2 -2
- package/dist/CurrentPoseBar/index.cjs +1 -1
- package/dist/CurrentPoseBar/index.js +1 -1
- package/dist/JoggingButtons/index.cjs +1 -1
- package/dist/JoggingButtons/index.js +1 -1
- package/dist/JoggingGizmo/index.cjs +1 -1
- package/dist/JoggingGizmo/index.js +2 -2
- package/dist/JoggingJointSlider/index.cjs +1 -1
- package/dist/JoggingJointSlider/index.js +1 -1
- package/dist/RobotControl/index.cjs +1 -1
- package/dist/RobotControl/index.js +2 -2
- package/dist/RobotControlPanel/index.cjs +1 -1
- package/dist/RobotControlPanel/index.d.ts +1 -1
- package/dist/RobotControlPanel/index.js +1 -1
- package/dist/RobotHeader/index.cjs +1 -1
- package/dist/RobotHeader/index.d.ts +3 -5
- package/dist/RobotHeader/index.js +6 -7
- package/dist/RobotScene/index.cjs +1 -1
- package/dist/RobotScene/index.js +3 -3
- package/dist/RobotView/index.cjs +1 -1
- package/dist/RobotView/index.js +2 -2
- package/dist/SafetyBar/IndicatorWithExplanation.d.ts +12 -1
- package/dist/SafetyBar/SafetyBar.d.ts +15 -1
- package/dist/SafetyBar/index.cjs +1 -1
- package/dist/SafetyBar/index.d.ts +0 -1
- package/dist/SafetyBar/index.js +3 -4
- package/dist/SafetyBar/robotSafetyOf.d.ts +1 -0
- package/dist/chunks/{ConnectedMotionGroup-BifrgwV1.js → ConnectedMotionGroup-DNYakgxy.js} +6 -5
- package/dist/chunks/ConnectedMotionGroup-IRTsTxwB.cjs +3 -0
- package/dist/chunks/{CurrentPose-CMqO8oqX.cjs → CurrentPose-CAq9e9JY.cjs} +1 -1
- package/dist/chunks/{CurrentPose-CdD2ZB7B.js → CurrentPose-CgdINEh2.js} +3 -3
- package/dist/chunks/{CurrentPoseBar-CX1xFBtm.js → CurrentPoseBar--HkZBGnN.js} +11 -11
- package/dist/chunks/{CurrentPoseBar-BTBAwIO4.cjs → CurrentPoseBar-DoOUfRRs.cjs} +1 -1
- package/dist/chunks/{JoggingButtons-aijK-3g6.js → JoggingButtons-BNOnpcTH.js} +1 -1
- package/dist/chunks/{JoggingButtons-BOHl7hVq.cjs → JoggingButtons-Boaym2hQ.cjs} +1 -1
- package/dist/chunks/{JoggingGizmo-CoKYUtXq.cjs → JoggingGizmo-CNFjpWDv.cjs} +1 -1
- package/dist/chunks/{JoggingGizmo-DHvrJouR.js → JoggingGizmo-RDiEVQes.js} +1 -1
- package/dist/chunks/{JoggingGizmoOrientation-CIvIAIeO.js → JoggingGizmoOrientation-Dzzz2gEz.js} +1 -1
- package/dist/chunks/{JoggingGizmoOrientation-DVcagPRJ.cjs → JoggingGizmoOrientation-laUrgY0N.cjs} +1 -1
- package/dist/chunks/{JoggingJointSlider-DQtt4-pa.js → JoggingJointSlider-BY-Tof8G.js} +1 -1
- package/dist/chunks/{JoggingJointSlider-CTFYKzsU.cjs → JoggingJointSlider-Dm3vILd3.cjs} +1 -1
- package/dist/chunks/{JoggingRefusedError-BIkUM6-g.js → JoggingRefusedError-C4D8_YR_.js} +5 -3
- package/dist/chunks/JoggingRefusedError-DqyrfUcc.cjs +1 -0
- package/dist/chunks/Pose3-BfBNPRDM.cjs +1 -0
- package/dist/chunks/{Pose3-B_fLR-Wv.js → Pose3-DWxfC6Dj.js} +1 -2
- package/dist/chunks/{Robot-C-IWfxP9.js → Robot-B-VAYuAr.js} +5 -5
- package/dist/chunks/{Robot-Cfhjv9Z8.cjs → Robot-DRf8T9Zf.cjs} +1 -1
- package/dist/chunks/RobotActivation-CRVxXvlx.cjs +1 -0
- package/dist/chunks/RobotActivation-oR-8Y0iq.js +143 -0
- package/dist/chunks/RobotControl-Dbe50ZKM.cjs +1 -0
- package/dist/chunks/RobotControl-Ms1F7fFe.js +332 -0
- package/dist/chunks/RobotControlPanel-B7NxoHsO.cjs +1 -0
- package/dist/chunks/RobotControlPanel-CkQlkq8x.js +1029 -0
- package/dist/chunks/RobotHeader-CjOaf9s6.cjs +1 -0
- package/dist/chunks/RobotHeader-LSuRTDFB.js +395 -0
- package/dist/chunks/RobotScene-Au6zpHH1.cjs +1 -0
- package/dist/chunks/RobotScene-C6XEgaVR.js +1284 -0
- package/dist/chunks/RobotSessionProvider-CoF_tX0O.cjs +1 -0
- package/dist/chunks/RobotSessionProvider-DuHi-dtw.js +30 -0
- package/dist/chunks/{RobotView-BGYlAWj-.cjs → RobotView-Cg6JfGiY.cjs} +1 -1
- package/dist/chunks/{RobotView-D-v8jCM7.js → RobotView-CrAxNkyG.js} +3 -3
- package/dist/chunks/{robotSafetyOf-DuKKma1_.js → SafetyBar-C85BAKsL.js} +244 -215
- package/dist/chunks/SafetyBar-D2l81Omq.cjs +1 -0
- package/dist/chunks/externalizeComponent-CA_sHzyH.cjs +2 -0
- package/dist/chunks/{externalizeComponent-4juwPKL5.js → externalizeComponent-CChY_1bN.js} +34 -8
- package/dist/chunks/{useSmoothedMotionState-BSSV8aZN.js → hooks-BWoeBWLV.js} +43 -87
- package/dist/chunks/hooks-BXe2bNMo.cjs +1 -0
- package/dist/chunks/loadRobotSession-BzY9H3F8.cjs +1 -0
- package/dist/chunks/{loadRobotSession-GHHtv5dv.js → loadRobotSession-Ts2MumBB.js} +1065 -679
- package/dist/chunks/poseText-BxG4Caa-.js +48 -0
- package/dist/chunks/poseText-CwplkbDM.cjs +1 -0
- package/dist/chunks/useSmoothedMotionState-CCXmMZ0S.cjs +1 -0
- package/dist/chunks/useSmoothedMotionState-CELh-YJa.js +50 -0
- package/dist/components/VelocitySlider.d.ts +14 -1
- package/dist/components/connectionWarning/ConnectionWarning.d.ts +18 -4
- package/dist/components/connectionWarning/connectionWarningOf.d.ts +1 -11
- package/dist/components/jogging/JoggingCartesianAxisControl.d.ts +7 -1
- package/dist/components/jogging/JoggingCartesianTab.d.ts +6 -0
- package/dist/components/jogging/JoggingJointTab.d.ts +5 -0
- package/dist/components/jogging/JoggingJointValueControl.d.ts +7 -1
- package/dist/components/jogging/JoggingPanel.d.ts +11 -0
- package/dist/components/jogging/JoggingRefusedError.d.ts +8 -3
- package/dist/components/jogging/JoggingStore.d.ts +206 -17
- package/dist/components/jogging/joggingColors.d.ts +6 -0
- package/dist/components/robotControl/CartesianJogTab.d.ts +14 -3
- package/dist/components/robotControl/JogArea.d.ts +6 -3
- package/dist/components/robotControl/JogDisabledReason.d.ts +15 -0
- package/dist/components/robotControl/JointJogTab.d.ts +10 -2
- package/dist/components/robotControl/MoveToTab.d.ts +24 -3
- package/dist/components/robotControl/PoseField.d.ts +3 -1
- package/dist/components/robotControl/RobotControl.d.ts +3 -0
- package/dist/components/robotControl/RobotControlPanel.d.ts +91 -22
- package/dist/components/robotControl/VelocityRow.d.ts +8 -2
- package/dist/components/robotControl/atPose.d.ts +6 -0
- package/dist/components/robotControl/poseText.d.ts +13 -1
- package/dist/components/robotControl/units.d.ts +10 -2
- package/dist/components/robotControl/useRobotControlProps.d.ts +7 -4
- package/dist/components/robotControl/velocityText.d.ts +18 -0
- package/dist/components/robotHeader/ActivationSwitch.d.ts +13 -2
- package/dist/components/robotHeader/RobotHeader.d.ts +25 -4
- package/dist/components/robotHeader/robotActivationOf.d.ts +1 -8
- package/dist/components/robotScene/RobotScene.d.ts +7 -1
- package/dist/components/robots/MotionGroupVisualizer.d.ts +6 -4
- package/dist/components/robots/SupportedLinearAxis.d.ts +6 -4
- package/dist/components/robots/SupportedRobot.d.ts +7 -5
- package/dist/components/robots/useFrameSmoothedMotionState.d.ts +25 -0
- package/dist/components/utils/useSmoothedMotionState.d.ts +11 -2
- package/dist/core.cjs +1 -1
- package/dist/core.d.ts +8 -10
- package/dist/core.js +60 -69
- package/dist/index.cjs +1 -1
- package/dist/index.js +100 -113
- package/dist/lib/ConnectedMotionGroup.d.ts +11 -0
- package/dist/lib/ControllerStateStream.d.ts +9 -9
- package/dist/lib/JoggerConnection.d.ts +48 -13
- package/dist/lib/MotionStreamConnection.d.ts +3 -2
- package/dist/lib/TrajectoryExecutionStore.d.ts +58 -20
- package/dist/lib/controllerStateSource.d.ts +6 -5
- package/dist/lib/robotSession/RobotActivation.d.ts +52 -21
- package/dist/lib/robotSession/RobotSession.d.ts +27 -8
- package/dist/lib/robotSession/RobotTargetPose.d.ts +4 -2
- package/dist/lib/robotSession/loadRobotSession.d.ts +1 -1
- package/dist/lib/robotSession/robotPose.d.ts +0 -6
- package/dist/session.cjs +1 -1
- package/dist/session.d.ts +6 -6
- package/dist/session.js +30 -38
- package/package.json +22 -1
- package/dist/chunks/ConnectedMotionGroup-CybwJHkh.cjs +0 -3
- package/dist/chunks/JoggingRefusedError-BuCGsVsa.cjs +0 -1
- package/dist/chunks/Pose3-Ch4xVeXV.cjs +0 -1
- package/dist/chunks/RobotActivation-Bb0oNSBN.cjs +0 -1
- package/dist/chunks/RobotActivation-C0rrwpQZ.js +0 -115
- package/dist/chunks/RobotControl-Cv6Sr1Ni.js +0 -289
- package/dist/chunks/RobotControl-DFnOYMAa.cjs +0 -1
- package/dist/chunks/RobotControlPanel-B1_9g9D-.js +0 -850
- package/dist/chunks/RobotControlPanel-BpTpRBgy.cjs +0 -1
- package/dist/chunks/RobotScene-0ZJzXL50.cjs +0 -1
- package/dist/chunks/RobotScene-DpFeFpnx.js +0 -1255
- package/dist/chunks/RobotSessionProvider--AekyPqD.cjs +0 -1
- package/dist/chunks/RobotSessionProvider-TVaKGzqa.js +0 -25
- package/dist/chunks/externalizeComponent-Br_U-QAr.cjs +0 -2
- package/dist/chunks/loadRobotSession-DYbeNnTI.cjs +0 -1
- package/dist/chunks/poseText-BXUaQWnK.cjs +0 -1
- package/dist/chunks/poseText-pg4cxE8R.js +0 -41
- package/dist/chunks/robotActivationOf-B4oV10Za.cjs +0 -1
- package/dist/chunks/robotActivationOf-EzcT9g07.js +0 -368
- package/dist/chunks/robotSafetyOf-Dxm6s7Pp.cjs +0 -1
- package/dist/chunks/useSmoothedMotionState-B9WO73k0.cjs +0 -1
- package/dist/components/robotHeader/robotSafetyOf.d.ts +0 -11
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { MotionGroupState } from "@wandelbots/nova-js/v2";
|
|
2
|
+
/**
|
|
3
|
+
* The smoothing of the visualizers that draw in a canvas (`SupportedRobot`,
|
|
4
|
+
* `SupportedLinearAxis`, `MotionGroupVisualizer`): the spring of
|
|
5
|
+
* `useSmoothedMotionState`, stepped in React Three Fiber's frame loop instead
|
|
6
|
+
* of a `requestAnimationFrame` loop of its own.
|
|
7
|
+
*
|
|
8
|
+
* Each frame steps the spring by that frame's time and sets the joints
|
|
9
|
+
* before R3F draws the frame, so a drawn frame shows the spring at its own
|
|
10
|
+
* time. In a loop of its own, the spring stepped after R3F drew (the drawn
|
|
11
|
+
* frame showed the step of the frame before) or before it, as the browser
|
|
12
|
+
* happened to order the two callbacks, and each step lasted from one of its
|
|
13
|
+
* callbacks to the next, which moved with how long the drawing took: the
|
|
14
|
+
* robot moved in uneven steps.
|
|
15
|
+
*
|
|
16
|
+
* The canvas draws while the spring moves and rests once it settled. Setting
|
|
17
|
+
* the joints makes the animator invalidate from inside R3F's frame, which R3F
|
|
18
|
+
* takes as a request for one more frame: the canvas draws one frame after
|
|
19
|
+
* the spring settled.
|
|
20
|
+
*
|
|
21
|
+
* Returns the same as `useSmoothedMotionState`: a stable, MobX-observable
|
|
22
|
+
* motion state whose `joint_position` changes in place, so a message of the
|
|
23
|
+
* stream re-renders no React component. Only inside a `<Canvas>`.
|
|
24
|
+
*/
|
|
25
|
+
export declare function useFrameSmoothedMotionState(motionState: MotionGroupState): MotionGroupState;
|
|
@@ -14,10 +14,19 @@ import { type InterpolationOptions } from "./interpolation";
|
|
|
14
14
|
* The returned object is a **stable, MobX-observable** motion state whose
|
|
15
15
|
* `joint_position` is mutated in place every animation frame while the spring
|
|
16
16
|
* settles. Because the object identity never changes, passing it to
|
|
17
|
-
* `<
|
|
17
|
+
* `<SupportedRobotExact rapidlyChangingMotionState={...} />` triggers no React
|
|
18
18
|
* re-renders — the visualizer's own MobX autorun reacts to the mutation and
|
|
19
19
|
* updates the scene directly. All non-joint fields mirror the latest input.
|
|
20
20
|
*
|
|
21
|
+
* The spring steps in a `requestAnimationFrame` loop of its own, so the hook
|
|
22
|
+
* needs no canvas. In a canvas, that loop is separate from React Three
|
|
23
|
+
* Fiber's: a drawn frame can show the step of the frame before, and each step
|
|
24
|
+
* lasts from one callback to the next, however long the drawing in between
|
|
25
|
+
* took. The smoothed visualizers (`SupportedRobot`, `SupportedLinearAxis`,
|
|
26
|
+
* `MotionGroupVisualizer`) step the same spring, with its default options, in
|
|
27
|
+
* the canvas's frame loop instead: prefer them for a smoothed robot in a
|
|
28
|
+
* canvas, unless it needs other options.
|
|
29
|
+
*
|
|
21
30
|
* @example
|
|
22
31
|
* ```tsx
|
|
23
32
|
* const smoothed = useSmoothedMotionState(
|
|
@@ -25,7 +34,7 @@ import { type InterpolationOptions } from "./interpolation";
|
|
|
25
34
|
* { tension: 120, friction: 20 },
|
|
26
35
|
* )
|
|
27
36
|
*
|
|
28
|
-
* <
|
|
37
|
+
* <SupportedRobotExact rapidlyChangingMotionState={smoothed} {...props} />
|
|
29
38
|
* ```
|
|
30
39
|
*/
|
|
31
40
|
export declare function useSmoothedMotionState(motionState: MotionGroupState, options?: InterpolationOptions): MotionGroupState;
|
package/dist/core.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("@wandelbots/mui");const e=require("./chunks/ConnectedMotionGroup-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("@wandelbots/mui");const e=require("./chunks/ConnectedMotionGroup-IRTsTxwB.cjs"),t=require("./chunks/RobotHeader-CjOaf9s6.cjs"),n=require("./chunks/CurrentPose-CAq9e9JY.cjs"),u=require("./chunks/CurrentPoseBar-DoOUfRRs.cjs"),S=require("./chunks/JoggingButtons-Boaym2hQ.cjs"),l=require("./chunks/JoggingJointSlider-Dm3vILd3.cjs"),d=require("./chunks/JoggingRefusedError-DqyrfUcc.cjs"),o=require("./chunks/loadRobotSession-BzY9H3F8.cjs"),i=require("./chunks/hooks-BXe2bNMo.cjs"),c=require("./chunks/useSmoothedMotionState-CCXmMZ0S.cjs"),R=require("./chunks/externalizeComponent-CA_sHzyH.cjs"),r=require("./chunks/PoseTransformer-2QIzECOZ.cjs"),s=require("./chunks/RobotActivation-CRVxXvlx.cjs"),a=require("./chunks/poseText-CwplkbDM.cjs"),g=require("./chunks/RobotSessionProvider-CoF_tX0O.cjs"),b=require("./chunks/SafetyBar-D2l81Omq.cjs");exports.AppHeader=e.AppHeader;exports.ConnectedMotionGroup=e.ConnectedMotionGroup;exports.JoggingCartesianAxisControl=e.JoggingCartesianAxisControl;exports.JoggingJointValueControl=e.JoggingJointValueControl;exports.JoggingPanel=e.JoggingPanel;exports.LoadingCover=e.LoadingCover;exports.LoadingErrorMessage=e.LoadingErrorMessage;exports.NoMotionGroupModal=e.NoMotionGroupModal;exports.VelocitySlider=e.VelocitySlider;exports.VelocitySliderLabel=e.VelocitySliderLabel;exports.ActivationSwitch=t.ActivationSwitch;exports.ConnectionWarning=t.ConnectionWarning;exports.RobotHeader=t.RobotHeader;exports.CurrentPose=n.CurrentPose;exports.useCurrentPoseProps=n.useCurrentPoseProps;exports.CurrentPoseBar=u.CurrentPoseBar;exports.JoggingButtons=S.JoggingButtons;exports.JoggingJointSlider=l.JoggingJointSlider;exports.JoggingRefusedError=d.JoggingRefusedError;exports.ControllerStateStream=o.ControllerStateStream;exports.JoggerConnection=o.JoggerConnection;exports.JoggingStore=o.JoggingStore;exports.MotionStreamConnection=o.MotionStreamConnection;exports.ROBOT_LOAD_STEP_IDS=o.ROBOT_LOAD_STEP_IDS;exports.RobotDescription=o.RobotDescription;exports.RobotLiveState=o.RobotLiveState;exports.RobotLoadProgress=o.RobotLoadProgress;exports.RobotLoadStepError=o.RobotLoadStepError;exports.RobotSafety=o.RobotSafety;exports.RobotSession=o.RobotSession;exports.RobotSessionLoad=o.RobotSessionLoad;exports.RobotTargetPose=o.RobotTargetPose;exports.TrajectoryExecutionStore=o.TrajectoryExecutionStore;exports.isRobotLoadStepError=o.isRobotLoadStepError;exports.jointValuesEqual=o.jointValuesEqual;exports.loadRobotSession=o.loadRobotSession;exports.planErrorTranslationKey=o.planErrorTranslationKey;exports.poseEqual=o.poseEqual;exports.tcpMotionEqual=o.tcpMotionEqual;exports.unwrapRotationVector=o.unwrapRotationVector;exports.ValueInterpolator=i.ValueInterpolator;exports.useInterpolation=i.useInterpolation;exports.useSmoothedMotionState=c.useSmoothedMotionState;exports.i18n=R.i18n;exports.deriveSelectedTcpPose=r.deriveSelectedTcpPose;exports.resolveCoordinateSystemInWorld=r.resolveCoordinateSystemInWorld;exports.transformPoseToCoordinateSystem=r.transformPoseToCoordinateSystem;exports.RobotActivation=s.RobotActivation;exports.RobotModeChangeError=s.RobotModeChangeError;exports.jointsToText=a.jointsToText;exports.poseToText=a.poseToText;exports.RobotSessionProvider=g.RobotSessionProvider;exports.useRobotSession=g.useRobotSession;exports.SafetyBar=b.SafetyBar;
|
package/dist/core.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import "@wandelbots/mui";
|
|
2
2
|
export * from "./components/AppHeader";
|
|
3
|
-
export { type ConnectionQuality, ConnectionWarning, type ConnectionWarningProps, } from "./components/connectionWarning/ConnectionWarning";
|
|
4
|
-
export { connectionWarningOf } from "./components/connectionWarning/connectionWarningOf";
|
|
3
|
+
export { type ConnectionQuality, ConnectionWarning, type ConnectionWarningProps, type ConnectionWarningState, } from "./components/connectionWarning/ConnectionWarning";
|
|
5
4
|
export { CurrentPose, type CurrentPoseProps, } from "./components/currentPoseBar/CurrentPose";
|
|
6
5
|
export { CurrentPoseBar, type CurrentPoseBarProps, type CurrentPoseBarState, type EulerConvention, type OrientationFormat, } from "./components/currentPoseBar/CurrentPoseBar";
|
|
7
6
|
export { useCurrentPoseProps } from "./components/currentPoseBar/useCurrentPoseProps";
|
|
@@ -17,8 +16,7 @@ export type { JogAxis, JogDirection, JogHandle, } from "./components/jogging/jog
|
|
|
17
16
|
export type { JogControlsProps } from "./components/jogging/useJogControls";
|
|
18
17
|
export * from "./components/LoadingCover";
|
|
19
18
|
export { RobotHeader, type RobotHeaderActivation, type RobotHeaderActivationState, type RobotHeaderProps, } from "./components/robotHeader/RobotHeader";
|
|
20
|
-
export {
|
|
21
|
-
export { robotSafetyOf } from "./components/robotHeader/robotSafetyOf";
|
|
19
|
+
export { ActivationSwitch, type ActivationSwitchOfSessionProps, } from "./components/robotHeader/ActivationSwitch";
|
|
22
20
|
export type { RobotControlOption, RobotControlPose, RobotControlSelect, } from "./components/robotControl/RobotControlPanel";
|
|
23
21
|
export * from "./components/modal/NoMotionGroupModal";
|
|
24
22
|
export * from "./components/utils/interpolation";
|
|
@@ -26,11 +24,11 @@ export * from "./components/utils/useSmoothedMotionState";
|
|
|
26
24
|
export * from "./components/VelocitySlider";
|
|
27
25
|
export * from "./i18n/config";
|
|
28
26
|
export * from "./lib/ConnectedMotionGroup";
|
|
29
|
-
export { ControllerStateStream
|
|
30
|
-
export {
|
|
27
|
+
export { ControllerStateStream } from "./lib/ControllerStateStream";
|
|
28
|
+
export type { ControllerStateSource } from "./lib/controllerStateSource";
|
|
31
29
|
export type { ConnectionLogger } from "./lib/connectionLogger";
|
|
32
30
|
export * from "./lib/JoggerConnection";
|
|
33
|
-
export
|
|
31
|
+
export { jointValuesEqual, type MotionStateReadout, poseEqual, tcpMotionEqual, unwrapRotationVector, } from "./lib/motionStateUpdate";
|
|
34
32
|
export * from "./lib/MotionStreamConnection";
|
|
35
33
|
export type { NovaConnection } from "./lib/novaConnection";
|
|
36
34
|
export { planErrorTranslationKey } from "./lib/planErrorTranslation";
|
|
@@ -41,10 +39,10 @@ export { RobotDescription } from "./lib/robotSession/RobotDescription";
|
|
|
41
39
|
export { isRobotLoadStepError, ROBOT_LOAD_STEP_IDS, RobotLoadProgress, type RobotLoadStep, RobotLoadStepError, type RobotLoadStepId, type RobotLoadStepStatus, } from "./lib/robotSession/RobotLoadProgress";
|
|
42
40
|
export { RobotLiveState } from "./lib/robotSession/RobotLiveState";
|
|
43
41
|
export { type RobotNotMoveableReason, RobotSafety, } from "./lib/robotSession/RobotSafety";
|
|
44
|
-
export {
|
|
42
|
+
export type { RobotPose } from "./lib/robotSession/robotPose";
|
|
45
43
|
export { RobotSession, type RobotSessionError, type RobotSessionOptions, } from "./lib/robotSession/RobotSession";
|
|
46
44
|
export { RobotTargetPose, type StagedTargetPose, } from "./lib/robotSession/RobotTargetPose";
|
|
47
|
-
export { jointsToText,
|
|
48
|
-
export
|
|
45
|
+
export { jointsToText, poseToText, } from "./components/robotControl/poseText";
|
|
46
|
+
export { type PlannedTrajectory, type PlanTrajectoryResult, TrajectoryExecutionStore, type TrajectoryState, type TrajectoryTarget, } from "./lib/TrajectoryExecutionStore";
|
|
49
47
|
export { RobotSessionProvider, useRobotSession, } from "./components/robotSession/RobotSessionProvider";
|
|
50
48
|
export * from "./SafetyBar";
|
package/dist/core.js
CHANGED
|
@@ -1,82 +1,73 @@
|
|
|
1
1
|
import "@wandelbots/mui";
|
|
2
|
-
import { A as
|
|
3
|
-
import {
|
|
4
|
-
import { C
|
|
5
|
-
import { C as J } from "./chunks/CurrentPoseBar
|
|
6
|
-
import { J as
|
|
7
|
-
import { J as
|
|
8
|
-
import { J as
|
|
9
|
-
import { C as v, J as A, a as
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import { i as
|
|
13
|
-
import { d as
|
|
14
|
-
import { R as
|
|
15
|
-
import { j as
|
|
16
|
-
import { R as
|
|
2
|
+
import { A as r, C as t, J as s, a as n, b as i, L as p, c as g, N as l, V as S, d } from "./chunks/ConnectedMotionGroup-DNYakgxy.js";
|
|
3
|
+
import { A as u, C as R, R as f } from "./chunks/RobotHeader-LSuRTDFB.js";
|
|
4
|
+
import { C, u as b } from "./chunks/CurrentPose-CgdINEh2.js";
|
|
5
|
+
import { C as J } from "./chunks/CurrentPoseBar--HkZBGnN.js";
|
|
6
|
+
import { J as E } from "./chunks/JoggingButtons-BNOnpcTH.js";
|
|
7
|
+
import { J as L } from "./chunks/JoggingJointSlider-BY-Tof8G.js";
|
|
8
|
+
import { J as y } from "./chunks/JoggingRefusedError-C4D8_YR_.js";
|
|
9
|
+
import { C as v, J as A, a as j, M as h, R as B, b as I, c as q, d as D, e as O, f as _, g as w, h as G, i as H, T as N, j as W, k, l as K, p as z, m as F, t as Q, u as U } from "./chunks/loadRobotSession-Ts2MumBB.js";
|
|
10
|
+
import { V as Y, u as Z } from "./chunks/hooks-BWoeBWLV.js";
|
|
11
|
+
import { u as oo } from "./chunks/useSmoothedMotionState-CELh-YJa.js";
|
|
12
|
+
import { i as eo } from "./chunks/externalizeComponent-CChY_1bN.js";
|
|
13
|
+
import { d as to, r as so, t as no } from "./chunks/PoseTransformer-CmuoS76S.js";
|
|
14
|
+
import { R as po, a as go } from "./chunks/RobotActivation-oR-8Y0iq.js";
|
|
15
|
+
import { j as So, p as mo } from "./chunks/poseText-BxG4Caa-.js";
|
|
16
|
+
import { R as Ro, u as fo } from "./chunks/RobotSessionProvider-DuHi-dtw.js";
|
|
17
|
+
import { S as Co } from "./chunks/SafetyBar-C85BAKsL.js";
|
|
17
18
|
export {
|
|
18
|
-
|
|
19
|
-
r as
|
|
20
|
-
|
|
19
|
+
u as ActivationSwitch,
|
|
20
|
+
r as AppHeader,
|
|
21
|
+
t as ConnectedMotionGroup,
|
|
22
|
+
R as ConnectionWarning,
|
|
21
23
|
v as ControllerStateStream,
|
|
22
|
-
|
|
24
|
+
C as CurrentPose,
|
|
23
25
|
J as CurrentPoseBar,
|
|
24
26
|
A as JoggerConnection,
|
|
25
|
-
|
|
27
|
+
E as JoggingButtons,
|
|
26
28
|
s as JoggingCartesianAxisControl,
|
|
27
|
-
|
|
29
|
+
L as JoggingJointSlider,
|
|
28
30
|
n as JoggingJointValueControl,
|
|
29
31
|
i as JoggingPanel,
|
|
30
|
-
|
|
31
|
-
|
|
32
|
+
y as JoggingRefusedError,
|
|
33
|
+
j as JoggingStore,
|
|
32
34
|
p as LoadingCover,
|
|
33
35
|
g as LoadingErrorMessage,
|
|
34
|
-
|
|
35
|
-
I as MotionStreamConnection,
|
|
36
|
+
h as MotionStreamConnection,
|
|
36
37
|
l as NoMotionGroupModal,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
38
|
+
B as ROBOT_LOAD_STEP_IDS,
|
|
39
|
+
po as RobotActivation,
|
|
40
|
+
I as RobotDescription,
|
|
41
|
+
f as RobotHeader,
|
|
42
|
+
q as RobotLiveState,
|
|
43
|
+
D as RobotLoadProgress,
|
|
44
|
+
O as RobotLoadStepError,
|
|
45
|
+
go as RobotModeChangeError,
|
|
46
|
+
_ as RobotSafety,
|
|
47
|
+
w as RobotSession,
|
|
47
48
|
G as RobotSessionLoad,
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
R as robotActivationOf,
|
|
73
|
-
so as robotSafetyOf,
|
|
74
|
-
ao as tcpMotionEqual,
|
|
75
|
-
V as trajectoryTargetOf,
|
|
76
|
-
mo as transformPoseToCoordinateSystem,
|
|
77
|
-
eo as unwrapRotationVector,
|
|
78
|
-
C as useCurrentPoseProps,
|
|
79
|
-
po as useInterpolation,
|
|
80
|
-
yo as useRobotSession,
|
|
81
|
-
go as useSmoothedMotionState
|
|
49
|
+
Ro as RobotSessionProvider,
|
|
50
|
+
H as RobotTargetPose,
|
|
51
|
+
Co as SafetyBar,
|
|
52
|
+
N as TrajectoryExecutionStore,
|
|
53
|
+
Y as ValueInterpolator,
|
|
54
|
+
S as VelocitySlider,
|
|
55
|
+
d as VelocitySliderLabel,
|
|
56
|
+
to as deriveSelectedTcpPose,
|
|
57
|
+
eo as i18n,
|
|
58
|
+
W as isRobotLoadStepError,
|
|
59
|
+
k as jointValuesEqual,
|
|
60
|
+
So as jointsToText,
|
|
61
|
+
K as loadRobotSession,
|
|
62
|
+
z as planErrorTranslationKey,
|
|
63
|
+
F as poseEqual,
|
|
64
|
+
mo as poseToText,
|
|
65
|
+
so as resolveCoordinateSystemInWorld,
|
|
66
|
+
Q as tcpMotionEqual,
|
|
67
|
+
no as transformPoseToCoordinateSystem,
|
|
68
|
+
U as unwrapRotationVector,
|
|
69
|
+
b as useCurrentPoseProps,
|
|
70
|
+
Z as useInterpolation,
|
|
71
|
+
fo as useRobotSession,
|
|
72
|
+
oo as useSmoothedMotionState
|
|
82
73
|
};
|
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./chunks/Robot-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./chunks/Robot-DRf8T9Zf.cjs"),e=require("./chunks/RobotScene-Au6zpHH1.cjs"),d=require("./chunks/JoggingGizmo-CNFjpWDv.cjs"),b=require("./chunks/JoggingGizmoOrientation-laUrgY0N.cjs"),p=require("./chunks/RobotControlPanel-B7NxoHsO.cjs"),s=require("./chunks/RobotControl-Dbe50ZKM.cjs"),a=require("./chunks/RobotView-Cg6JfGiY.cjs"),u=require("./chunks/hooks-BXe2bNMo.cjs"),C=require("./chunks/useSmoothedMotionState-CCXmMZ0S.cjs"),g=require("./chunks/Pose3-BfBNPRDM.cjs");require("@wandelbots/mui");const t=require("./chunks/ConnectedMotionGroup-IRTsTxwB.cjs"),n=require("./chunks/RobotHeader-CjOaf9s6.cjs"),S=require("./chunks/CurrentPose-CAq9e9JY.cjs"),P=require("./chunks/CurrentPoseBar-DoOUfRRs.cjs"),E=require("./chunks/JoggingButtons-Boaym2hQ.cjs"),J=require("./chunks/JoggingJointSlider-Dm3vILd3.cjs"),T=require("./chunks/JoggingRefusedError-DqyrfUcc.cjs"),o=require("./chunks/loadRobotSession-BzY9H3F8.cjs"),q=require("./chunks/externalizeComponent-CA_sHzyH.cjs"),i=require("./chunks/PoseTransformer-2QIzECOZ.cjs"),l=require("./chunks/RobotActivation-CRVxXvlx.cjs"),R=require("./chunks/poseText-CwplkbDM.cjs"),c=require("./chunks/RobotSessionProvider-CoF_tX0O.cjs"),m=require("./chunks/SafetyBar-D2l81Omq.cjs");exports.CollisionSceneRenderer=r.CollisionSceneRenderer;exports.JointLimitGizmo=r.JointLimitGizmo;exports.LinearAxis=r.LinearAxis;exports.Robot=r.Robot;exports.TrajectoryRenderer=r.TrajectoryRenderer;exports.FLANGE_NODE_SUFFIX=e.FLANGE_NODE_SUFFIX;exports.JOINT_REST_SUFFIX=e.JOINT_REST_SUFFIX;exports.JoggingAxes=e.JoggingAxes;exports.MotionGroupVisualizer=e.MotionGroupVisualizer;exports.MotionGroupVisualizerExact=e.MotionGroupVisualizerExact;exports.PresetEnvironment=e.PresetEnvironment;exports.RobotScene=e.RobotScene;exports.RobotSceneView=e.RobotSceneView;exports.SafetyZonesRenderer=e.SafetyZonesRenderer;exports.SupportedLinearAxis=e.SupportedLinearAxis;exports.SupportedLinearAxisExact=e.SupportedLinearAxisExact;exports.SupportedRobot=e.SupportedRobot;exports.SupportedRobotExact=e.SupportedRobotExact;exports.defaultGetModel=e.defaultGetModel;exports.jointIndexOf=e.jointIndexOf;exports.robotModelOf=e.robotModelOf;exports.useRobotSceneProps=e.useRobotSceneProps;exports.JoggingGizmo=d.JoggingGizmo;exports.JoggingGizmoOrientation=b.JoggingGizmoOrientation;exports.RobotControlPanel=p.RobotControlPanel;exports.RobotControl=s.RobotControl;exports.useRobotControlProps=s.useRobotControlProps;exports.RobotCanvas=a.RobotCanvas;exports.RobotView=a.RobotView;exports.ValueInterpolator=u.ValueInterpolator;exports.useInterpolation=u.useInterpolation;exports.useSmoothedMotionState=C.useSmoothedMotionState;exports.Pose3=g.Pose3;exports.parseRotationToQuaternion=g.parseRotationToQuaternion;exports.AppHeader=t.AppHeader;exports.ConnectedMotionGroup=t.ConnectedMotionGroup;exports.JoggingCartesianAxisControl=t.JoggingCartesianAxisControl;exports.JoggingJointValueControl=t.JoggingJointValueControl;exports.JoggingPanel=t.JoggingPanel;exports.LoadingCover=t.LoadingCover;exports.LoadingErrorMessage=t.LoadingErrorMessage;exports.NoMotionGroupModal=t.NoMotionGroupModal;exports.VelocitySlider=t.VelocitySlider;exports.VelocitySliderLabel=t.VelocitySliderLabel;exports.ActivationSwitch=n.ActivationSwitch;exports.ConnectionWarning=n.ConnectionWarning;exports.RobotHeader=n.RobotHeader;exports.CurrentPose=S.CurrentPose;exports.useCurrentPoseProps=S.useCurrentPoseProps;exports.CurrentPoseBar=P.CurrentPoseBar;exports.JoggingButtons=E.JoggingButtons;exports.JoggingJointSlider=J.JoggingJointSlider;exports.JoggingRefusedError=T.JoggingRefusedError;exports.ControllerStateStream=o.ControllerStateStream;exports.JoggerConnection=o.JoggerConnection;exports.JoggingStore=o.JoggingStore;exports.MotionStreamConnection=o.MotionStreamConnection;exports.ROBOT_LOAD_STEP_IDS=o.ROBOT_LOAD_STEP_IDS;exports.RobotDescription=o.RobotDescription;exports.RobotLiveState=o.RobotLiveState;exports.RobotLoadProgress=o.RobotLoadProgress;exports.RobotLoadStepError=o.RobotLoadStepError;exports.RobotSafety=o.RobotSafety;exports.RobotSession=o.RobotSession;exports.RobotSessionLoad=o.RobotSessionLoad;exports.RobotTargetPose=o.RobotTargetPose;exports.TrajectoryExecutionStore=o.TrajectoryExecutionStore;exports.isRobotLoadStepError=o.isRobotLoadStepError;exports.jointValuesEqual=o.jointValuesEqual;exports.loadRobotSession=o.loadRobotSession;exports.planErrorTranslationKey=o.planErrorTranslationKey;exports.poseEqual=o.poseEqual;exports.tcpMotionEqual=o.tcpMotionEqual;exports.unwrapRotationVector=o.unwrapRotationVector;exports.i18n=q.i18n;exports.deriveSelectedTcpPose=i.deriveSelectedTcpPose;exports.resolveCoordinateSystemInWorld=i.resolveCoordinateSystemInWorld;exports.transformPoseToCoordinateSystem=i.transformPoseToCoordinateSystem;exports.RobotActivation=l.RobotActivation;exports.RobotModeChangeError=l.RobotModeChangeError;exports.jointsToText=R.jointsToText;exports.poseToText=R.poseToText;exports.RobotSessionProvider=c.RobotSessionProvider;exports.useRobotSession=c.useRobotSession;exports.SafetyBar=m.SafetyBar;
|
package/dist/index.js
CHANGED
|
@@ -1,125 +1,112 @@
|
|
|
1
|
-
import { C as r, J as t, L as s, R as n, T as i } from "./chunks/Robot-
|
|
2
|
-
import { F as
|
|
3
|
-
import { J as
|
|
4
|
-
import { J as
|
|
5
|
-
import { R as
|
|
6
|
-
import { R as
|
|
7
|
-
import { R as F, a as h } from "./chunks/RobotView-
|
|
8
|
-
import { V as
|
|
9
|
-
import {
|
|
1
|
+
import { C as r, J as t, L as s, R as n, T as i } from "./chunks/Robot-B-VAYuAr.js";
|
|
2
|
+
import { F as R, J as g, a as S, M as d, b as l, P as u, R as m, c as x, S as f, d as b, e as c, f as C, g as J, h as E, j as P, r as T, u as L } from "./chunks/RobotScene-C6XEgaVR.js";
|
|
3
|
+
import { J as A } from "./chunks/JoggingGizmo-RDiEVQes.js";
|
|
4
|
+
import { J as y } from "./chunks/JoggingGizmoOrientation-Dzzz2gEz.js";
|
|
5
|
+
import { R as G } from "./chunks/RobotControlPanel-CkQlkq8x.js";
|
|
6
|
+
import { R as I, u as O } from "./chunks/RobotControl-Ms1F7fFe.js";
|
|
7
|
+
import { R as F, a as h } from "./chunks/RobotView-CrAxNkyG.js";
|
|
8
|
+
import { V as N, u as w } from "./chunks/hooks-BWoeBWLV.js";
|
|
9
|
+
import { u as D } from "./chunks/useSmoothedMotionState-CELh-YJa.js";
|
|
10
|
+
import { P as H, p as U } from "./chunks/Pose3-DWxfC6Dj.js";
|
|
10
11
|
import "@wandelbots/mui";
|
|
11
|
-
import { A as
|
|
12
|
-
import {
|
|
13
|
-
import { C as
|
|
14
|
-
import { C as
|
|
15
|
-
import { J as
|
|
16
|
-
import { J as
|
|
17
|
-
import { J as
|
|
18
|
-
import { C as
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
12
|
+
import { A as X, C as k, J as K, a as Q, b as Z, L as Y, c as $, N as oo, V as eo, d as ao } from "./chunks/ConnectedMotionGroup-DNYakgxy.js";
|
|
13
|
+
import { A as to, C as so, R as no } from "./chunks/RobotHeader-LSuRTDFB.js";
|
|
14
|
+
import { C as po, u as Ro } from "./chunks/CurrentPose-CgdINEh2.js";
|
|
15
|
+
import { C as So } from "./chunks/CurrentPoseBar--HkZBGnN.js";
|
|
16
|
+
import { J as uo } from "./chunks/JoggingButtons-BNOnpcTH.js";
|
|
17
|
+
import { J as xo } from "./chunks/JoggingJointSlider-BY-Tof8G.js";
|
|
18
|
+
import { J as bo } from "./chunks/JoggingRefusedError-C4D8_YR_.js";
|
|
19
|
+
import { C as Co, J as Jo, a as Eo, M as Po, R as To, b as Lo, c as Mo, d as Ao, e as Vo, f as yo, g as vo, h as Go, i as jo, T as Io, j as Oo, k as _o, l as Fo, p as ho, m as zo, t as No, u as wo } from "./chunks/loadRobotSession-Ts2MumBB.js";
|
|
20
|
+
import { i as Do } from "./chunks/externalizeComponent-CChY_1bN.js";
|
|
21
|
+
import { d as Ho, r as Uo, t as Wo } from "./chunks/PoseTransformer-CmuoS76S.js";
|
|
22
|
+
import { R as ko, a as Ko } from "./chunks/RobotActivation-oR-8Y0iq.js";
|
|
23
|
+
import { j as Zo, p as Yo } from "./chunks/poseText-BxG4Caa-.js";
|
|
24
|
+
import { R as oe, u as ee } from "./chunks/RobotSessionProvider-DuHi-dtw.js";
|
|
25
|
+
import { S as re } from "./chunks/SafetyBar-C85BAKsL.js";
|
|
25
26
|
export {
|
|
26
|
-
|
|
27
|
+
to as ActivationSwitch,
|
|
28
|
+
X as AppHeader,
|
|
27
29
|
r as CollisionSceneRenderer,
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
R as JOINT_NODE_NAME,
|
|
30
|
+
k as ConnectedMotionGroup,
|
|
31
|
+
so as ConnectionWarning,
|
|
32
|
+
Co as ControllerStateStream,
|
|
33
|
+
po as CurrentPose,
|
|
34
|
+
So as CurrentPoseBar,
|
|
35
|
+
R as FLANGE_NODE_SUFFIX,
|
|
35
36
|
g as JOINT_REST_SUFFIX,
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
37
|
+
Jo as JoggerConnection,
|
|
38
|
+
S as JoggingAxes,
|
|
39
|
+
uo as JoggingButtons,
|
|
40
|
+
K as JoggingCartesianAxisControl,
|
|
41
|
+
A as JoggingGizmo,
|
|
42
|
+
y as JoggingGizmoOrientation,
|
|
43
|
+
xo as JoggingJointSlider,
|
|
44
|
+
Q as JoggingJointValueControl,
|
|
45
|
+
Z as JoggingPanel,
|
|
46
|
+
bo as JoggingRefusedError,
|
|
47
|
+
Eo as JoggingStore,
|
|
47
48
|
t as JointLimitGizmo,
|
|
48
49
|
s as LinearAxis,
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
x as PresetEnvironment,
|
|
59
|
-
yo as ROBOT_LOAD_STEP_IDS,
|
|
50
|
+
Y as LoadingCover,
|
|
51
|
+
$ as LoadingErrorMessage,
|
|
52
|
+
d as MotionGroupVisualizer,
|
|
53
|
+
l as MotionGroupVisualizerExact,
|
|
54
|
+
Po as MotionStreamConnection,
|
|
55
|
+
oo as NoMotionGroupModal,
|
|
56
|
+
H as Pose3,
|
|
57
|
+
u as PresetEnvironment,
|
|
58
|
+
To as ROBOT_LOAD_STEP_IDS,
|
|
60
59
|
n as Robot,
|
|
61
|
-
|
|
60
|
+
ko as RobotActivation,
|
|
62
61
|
F as RobotCanvas,
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
62
|
+
I as RobotControl,
|
|
63
|
+
G as RobotControlPanel,
|
|
64
|
+
Lo as RobotDescription,
|
|
65
|
+
no as RobotHeader,
|
|
66
|
+
Mo as RobotLiveState,
|
|
67
|
+
Ao as RobotLoadProgress,
|
|
68
|
+
Vo as RobotLoadStepError,
|
|
69
|
+
Ko as RobotModeChangeError,
|
|
70
|
+
yo as RobotSafety,
|
|
72
71
|
m as RobotScene,
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
72
|
+
x as RobotSceneView,
|
|
73
|
+
vo as RobotSession,
|
|
74
|
+
Go as RobotSessionLoad,
|
|
75
|
+
oe as RobotSessionProvider,
|
|
76
|
+
jo as RobotTargetPose,
|
|
78
77
|
h as RobotView,
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
78
|
+
re as SafetyBar,
|
|
79
|
+
f as SafetyZonesRenderer,
|
|
80
|
+
b as SupportedLinearAxis,
|
|
81
|
+
c as SupportedLinearAxisExact,
|
|
82
|
+
C as SupportedRobot,
|
|
83
|
+
J as SupportedRobotExact,
|
|
84
|
+
Io as TrajectoryExecutionStore,
|
|
86
85
|
i as TrajectoryRenderer,
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
Wo as
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
M as robotModelOf,
|
|
114
|
-
$o as robotSafetyOf,
|
|
115
|
-
Ko as tcpMotionEqual,
|
|
116
|
-
Eo as trajectoryTargetOf,
|
|
117
|
-
sa as transformPoseToCoordinateSystem,
|
|
118
|
-
Qo as unwrapRotationVector,
|
|
119
|
-
So as useCurrentPoseProps,
|
|
120
|
-
B as useInterpolation,
|
|
121
|
-
D as useRobotControlProps,
|
|
122
|
-
A as useRobotSceneProps,
|
|
123
|
-
xa as useRobotSession,
|
|
124
|
-
H as useSmoothedMotionState
|
|
86
|
+
N as ValueInterpolator,
|
|
87
|
+
eo as VelocitySlider,
|
|
88
|
+
ao as VelocitySliderLabel,
|
|
89
|
+
E as defaultGetModel,
|
|
90
|
+
Ho as deriveSelectedTcpPose,
|
|
91
|
+
Do as i18n,
|
|
92
|
+
Oo as isRobotLoadStepError,
|
|
93
|
+
P as jointIndexOf,
|
|
94
|
+
_o as jointValuesEqual,
|
|
95
|
+
Zo as jointsToText,
|
|
96
|
+
Fo as loadRobotSession,
|
|
97
|
+
U as parseRotationToQuaternion,
|
|
98
|
+
ho as planErrorTranslationKey,
|
|
99
|
+
zo as poseEqual,
|
|
100
|
+
Yo as poseToText,
|
|
101
|
+
Uo as resolveCoordinateSystemInWorld,
|
|
102
|
+
T as robotModelOf,
|
|
103
|
+
No as tcpMotionEqual,
|
|
104
|
+
Wo as transformPoseToCoordinateSystem,
|
|
105
|
+
wo as unwrapRotationVector,
|
|
106
|
+
Ro as useCurrentPoseProps,
|
|
107
|
+
w as useInterpolation,
|
|
108
|
+
O as useRobotControlProps,
|
|
109
|
+
L as useRobotSceneProps,
|
|
110
|
+
ee as useRobotSession,
|
|
111
|
+
D as useSmoothedMotionState
|
|
125
112
|
};
|
|
@@ -3,15 +3,26 @@ import type { MotionGroupDescription, MotionGroupState, RobotControllerState } f
|
|
|
3
3
|
import * as THREE from "three";
|
|
4
4
|
import type { Vector3Simple } from "./JoggerConnection";
|
|
5
5
|
import { type NovaConnection } from "./novaConnection";
|
|
6
|
+
/**
|
|
7
|
+
* A TCP of {@link ConnectedMotionGroup}
|
|
8
|
+
*
|
|
9
|
+
* @deprecated With `ConnectedMotionGroup`. A session has its TCPs in
|
|
10
|
+
* `description.tcps` and `description.tcpOffsetsById`.
|
|
11
|
+
*/
|
|
6
12
|
export type RobotTcpLike = {
|
|
7
13
|
id: string;
|
|
8
14
|
readable_name: string;
|
|
9
15
|
position: Vector3Simple;
|
|
10
16
|
orientation: Vector3Simple;
|
|
11
17
|
};
|
|
18
|
+
/** @deprecated Nothing uses it; no replacement */
|
|
12
19
|
export type MotionGroupOption = {
|
|
13
20
|
selectionId: string;
|
|
14
21
|
};
|
|
22
|
+
/**
|
|
23
|
+
* @deprecated With `ConnectedMotionGroup`. `loadRobotSession` takes
|
|
24
|
+
* `LoadRobotSessionOptions`.
|
|
25
|
+
*/
|
|
15
26
|
export type ConnectedMotionGroupOptions = {
|
|
16
27
|
/** Cell id on the Nova instance. Defaults to "cell". */
|
|
17
28
|
cellId?: string;
|
|
@@ -9,7 +9,7 @@ export type ControllerStateStreamError = {
|
|
|
9
9
|
/** The source's URL */
|
|
10
10
|
url?: string;
|
|
11
11
|
};
|
|
12
|
-
/** What
|
|
12
|
+
/** What the session gives a {@link ControllerStateStream} besides its source */
|
|
13
13
|
export type ControllerStateStreamOptions = {
|
|
14
14
|
/**
|
|
15
15
|
* A virtual robot: its stream can come more slowly, depending on the speed
|
|
@@ -68,17 +68,12 @@ export declare class ControllerStateStream {
|
|
|
68
68
|
private readonly isVirtual;
|
|
69
69
|
private readonly onError?;
|
|
70
70
|
private readonly reconnectsOnFocus;
|
|
71
|
-
constructor(
|
|
72
|
-
/** Where the controller state comes from; its owner closes it */
|
|
73
|
-
source: ControllerStateSource,
|
|
74
|
-
/** The motion group whose state the stream keeps */
|
|
75
|
-
motionGroupId: string, initialControllerState: RobotControllerState, options?: ControllerStateStreamOptions);
|
|
76
71
|
/** The controller's state as of the last message that changed it */
|
|
77
72
|
get controllerState(): RobotControllerState;
|
|
78
73
|
/**
|
|
79
74
|
* What pose and joint readouts show. Holds the previous reading while the
|
|
80
|
-
* joints only jitter
|
|
81
|
-
* for untracked reads.
|
|
75
|
+
* joints only jitter (less than 0.0002 rad), and while the TCP and the
|
|
76
|
+
* coordinate system stay; kept alive so it also holds for untracked reads.
|
|
82
77
|
*/
|
|
83
78
|
get readoutState(): MotionStateReadout;
|
|
84
79
|
/** The motion group's state in the next message of the source */
|
|
@@ -119,7 +114,12 @@ export declare class ControllerStateStream {
|
|
|
119
114
|
private setConnectionQuality;
|
|
120
115
|
private handleWindowFocus;
|
|
121
116
|
private updateConnectionQuality;
|
|
122
|
-
/**
|
|
117
|
+
/**
|
|
118
|
+
* Stops listening to the source; the source's owner closes it. The
|
|
119
|
+
* connection is critical from then on: no state comes any more, and the
|
|
120
|
+
* last one is not the robot's now (a robot that may move, for whatever
|
|
121
|
+
* still reads it).
|
|
122
|
+
*/
|
|
123
123
|
dispose(): void;
|
|
124
124
|
private handleMessage;
|
|
125
125
|
}
|