@wandelbots/wandelbots-js-react-components 5.5.0 → 5.5.1-pr.fix-standardize-output.591.0e6ee47
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 +1 -2
- package/dist/3d.d.ts +0 -1
- package/dist/3d.js +0 -1
- package/dist/Setup.d.ts +0 -1
- package/dist/chunks/JoggingPanel-CQH_oXTB.js +586 -0
- package/dist/chunks/JoggingPanel-DZN2Y39k.cjs +2 -0
- package/dist/chunks/controller-type-virtual-BuJWQOvV.cjs +1 -0
- package/dist/{components/safetyBar/icons/controller-type-physical.svg.js → chunks/controller-type-virtual-CWOoMRfl.js} +10 -6
- package/dist/chunks/externalizeComponent-DOwkaDcw.cjs +2 -0
- package/dist/chunks/externalizeComponent-eiCc5DIh.js +209 -0
- package/dist/chunks/jog-plus-CAUurv4S.js +15 -0
- package/dist/chunks/jog-plus-Dy1r7-r5.cjs +1 -0
- package/dist/chunks/operation-mode-manual-Di4Z1KM1.js +20 -0
- package/dist/chunks/operation-mode-manual-eHwVILeI.cjs +1 -0
- package/dist/chunks/robot-CrNbCELh.cjs +1 -0
- package/dist/{icons/robot.svg.js → chunks/robot-D97QEl_l.js} +2 -3
- package/dist/chunks/rotation-CIOAnn9q.cjs +1 -0
- package/dist/chunks/rotation-Dm5YL3NM.js +25 -0
- package/dist/chunks/safety-state-stop-Bg0VUsM4.js +30 -0
- package/dist/chunks/safety-state-stop-CNxVYiap.cjs +1 -0
- package/dist/chunks/theming-Chx_tewl.cjs +3 -0
- package/dist/chunks/theming-Cw6qwBM7.js +600 -0
- package/dist/chunks/wbLogo-CObCmqTw.js +30 -0
- package/dist/chunks/wbLogo-G_IfZ03l.cjs +1 -0
- package/dist/components/3d-viewport/CoordinateSystemTransform.cjs +1 -0
- package/dist/components/3d-viewport/CoordinateSystemTransform.d.ts +0 -1
- package/dist/components/3d-viewport/CoordinateSystemTransform.js +37 -0
- package/dist/components/3d-viewport/PresetEnvironment.cjs +0 -1
- package/dist/components/3d-viewport/PresetEnvironment.d.ts +0 -1
- package/dist/components/3d-viewport/PresetEnvironment.js +0 -1
- package/dist/components/3d-viewport/SafetyZonesRenderer.cjs +1 -2
- package/dist/components/3d-viewport/SafetyZonesRenderer.d.ts +0 -1
- package/dist/components/3d-viewport/SafetyZonesRenderer.js +0 -1
- package/dist/components/3d-viewport/TrajectoryRenderer.cjs +0 -1
- package/dist/components/3d-viewport/TrajectoryRenderer.d.ts +0 -1
- package/dist/components/3d-viewport/TrajectoryRenderer.js +0 -1
- package/dist/components/3d-viewport/collider/ColliderCollection.cjs +1 -2
- package/dist/components/3d-viewport/collider/ColliderCollection.d.ts +0 -1
- package/dist/components/3d-viewport/collider/ColliderCollection.js +0 -1
- package/dist/components/3d-viewport/collider/ColliderElement.cjs +1 -2
- package/dist/components/3d-viewport/collider/ColliderElement.d.ts +0 -1
- package/dist/components/3d-viewport/collider/ColliderElement.js +0 -1
- package/dist/components/3d-viewport/collider/CollisionSceneRenderer.cjs +1 -2
- package/dist/components/3d-viewport/collider/CollisionSceneRenderer.d.ts +0 -1
- package/dist/components/3d-viewport/collider/CollisionSceneRenderer.js +0 -1
- package/dist/components/3d-viewport/collider/colliderShapeToBufferGeometry.cjs +0 -1
- package/dist/components/3d-viewport/collider/colliderShapeToBufferGeometry.d.ts +0 -1
- package/dist/components/3d-viewport/collider/colliderShapeToBufferGeometry.js +0 -1
- package/dist/components/AppHeader.cjs +1 -2
- package/dist/components/AppHeader.d.ts +0 -1
- package/dist/components/AppHeader.js +40 -34
- package/dist/components/ConsoleFilter.cjs +0 -1
- package/dist/components/ConsoleFilter.d.ts +0 -1
- package/dist/components/ConsoleFilter.js +0 -1
- package/dist/components/CopyableText.cjs +0 -1
- package/dist/components/CopyableText.d.ts +0 -1
- package/dist/components/CopyableText.js +0 -1
- package/dist/components/CycleTimer/CycleTimer.cjs +1 -0
- package/dist/components/CycleTimer/CycleTimer.d.ts +0 -1
- package/dist/components/CycleTimer/CycleTimer.js +5 -0
- package/dist/components/CycleTimer/DefaultVariant.cjs +1 -2
- package/dist/components/CycleTimer/DefaultVariant.d.ts +0 -1
- package/dist/components/CycleTimer/DefaultVariant.js +0 -1
- package/dist/components/CycleTimer/SmallVariant.cjs +0 -1
- package/dist/components/CycleTimer/SmallVariant.d.ts +0 -1
- package/dist/components/CycleTimer/SmallVariant.js +0 -1
- package/dist/components/CycleTimer/index.cjs +1 -2
- package/dist/components/CycleTimer/index.d.ts +0 -1
- package/dist/components/CycleTimer/index.js +1 -2
- package/dist/components/CycleTimer/types.cjs +1 -0
- package/dist/components/CycleTimer/types.d.ts +0 -1
- package/dist/components/CycleTimer/types.js +1 -0
- package/dist/components/CycleTimer/useAnimations.cjs +0 -1
- package/dist/components/CycleTimer/useAnimations.d.ts +0 -1
- package/dist/components/CycleTimer/useAnimations.js +9 -2
- package/dist/components/CycleTimer/useTimerLogic.cjs +1 -2
- package/dist/components/CycleTimer/useTimerLogic.d.ts +0 -1
- package/dist/components/CycleTimer/useTimerLogic.js +0 -1
- package/dist/components/CycleTimer/utils.cjs +1 -2
- package/dist/components/CycleTimer/utils.d.ts +0 -1
- package/dist/components/CycleTimer/utils.js +19 -11
- package/dist/components/CycleTimer.cjs +0 -1
- package/dist/components/CycleTimer.d.ts +0 -1
- package/dist/components/CycleTimer.js +0 -1
- package/dist/components/DataGrid.cjs +1 -2
- package/dist/components/DataGrid.d.ts +0 -1
- package/dist/components/DataGrid.js +1 -2
- package/dist/components/LoadingCover.cjs +1 -2
- package/dist/components/LoadingCover.d.ts +0 -1
- package/dist/components/LoadingCover.js +0 -1
- package/dist/components/LogPanel.cjs +1 -2
- package/dist/components/LogPanel.d.ts +0 -1
- package/dist/components/LogPanel.js +1 -2
- package/dist/components/LogStore.cjs +0 -1
- package/dist/components/LogStore.d.ts +0 -1
- package/dist/components/LogStore.js +0 -1
- package/dist/components/LogViewer.cjs +1 -2
- package/dist/components/LogViewer.d.ts +0 -1
- package/dist/components/LogViewer.js +1 -2
- package/dist/components/ProgramControl.cjs +1 -2
- package/dist/components/ProgramControl.d.ts +0 -1
- package/dist/components/ProgramControl.js +6 -7
- package/dist/components/ProgramStateIndicator.cjs +1 -2
- package/dist/components/ProgramStateIndicator.d.ts +0 -1
- package/dist/components/ProgramStateIndicator.js +28 -29
- package/dist/components/RobotCard.cjs +1 -2
- package/dist/components/RobotCard.d.ts +0 -1
- package/dist/components/RobotCard.js +1 -2
- package/dist/components/RobotListItem.cjs +1 -2
- package/dist/components/RobotListItem.d.ts +0 -1
- package/dist/components/RobotListItem.js +25 -26
- package/dist/components/RobotSetupReadinessIndicator.cjs +1 -2
- package/dist/components/RobotSetupReadinessIndicator.d.ts +0 -1
- package/dist/components/RobotSetupReadinessIndicator.js +1 -2
- package/dist/components/SelectableFab.cjs +0 -1
- package/dist/components/SelectableFab.d.ts +0 -1
- package/dist/components/SelectableFab.js +0 -1
- package/dist/components/TabBar.cjs +1 -2
- package/dist/components/TabBar.d.ts +0 -1
- package/dist/components/TabBar.js +1 -2
- package/dist/components/ThemeSelect.cjs +1 -0
- package/dist/components/ThemeSelect.d.ts +0 -1
- package/dist/components/ThemeSelect.js +38 -0
- package/dist/components/Timer/Timer.cjs +1 -0
- package/dist/components/Timer/Timer.d.ts +0 -1
- package/dist/components/Timer/Timer.js +5 -0
- package/dist/components/Timer/TimerDefaultVariant.cjs +0 -1
- package/dist/components/Timer/TimerDefaultVariant.d.ts +0 -1
- package/dist/components/Timer/TimerDefaultVariant.js +0 -1
- package/dist/components/Timer/TimerSmallVariant.cjs +0 -1
- package/dist/components/Timer/TimerSmallVariant.d.ts +0 -1
- package/dist/components/Timer/TimerSmallVariant.js +0 -1
- package/dist/components/Timer/index.cjs +1 -2
- package/dist/components/Timer/index.d.ts +0 -1
- package/dist/components/Timer/index.js +11 -12
- package/dist/components/Timer/types.cjs +1 -0
- package/dist/components/Timer/types.d.ts +0 -1
- package/dist/components/Timer/types.js +1 -0
- package/dist/components/Timer/useTimerAnimations.cjs +0 -1
- package/dist/components/Timer/useTimerAnimations.d.ts +0 -1
- package/dist/components/Timer/useTimerAnimations.js +5 -2
- package/dist/components/Timer/useTimerLogic.cjs +0 -1
- package/dist/components/Timer/useTimerLogic.d.ts +0 -1
- package/dist/components/Timer/useTimerLogic.js +0 -1
- package/dist/components/Timer/utils.cjs +1 -2
- package/dist/components/Timer/utils.d.ts +0 -1
- package/dist/components/Timer/utils.js +10 -10
- package/dist/components/Timer.cjs +0 -1
- package/dist/components/Timer.d.ts +0 -1
- package/dist/components/Timer.js +0 -1
- package/dist/components/TransparentOverlay.cjs +1 -0
- package/dist/components/TransparentOverlay.d.ts +0 -1
- package/dist/components/TransparentOverlay.js +26 -0
- package/dist/components/VelocitySlider.cjs +1 -2
- package/dist/components/VelocitySlider.d.ts +0 -1
- package/dist/components/VelocitySlider.js +8 -9
- package/dist/components/experimental/utils/AdornedSelect.cjs +0 -1
- package/dist/components/experimental/utils/AdornedSelect.d.ts +0 -1
- package/dist/components/experimental/utils/AdornedSelect.js +0 -1
- package/dist/components/jogging/JoggingBlocked.cjs +0 -1
- package/dist/components/jogging/JoggingBlocked.d.ts +0 -1
- package/dist/components/jogging/JoggingBlocked.js +0 -1
- package/dist/components/jogging/JoggingCartesianAxisControl.cjs +1 -2
- package/dist/components/jogging/JoggingCartesianAxisControl.d.ts +0 -1
- package/dist/components/jogging/JoggingCartesianAxisControl.js +18 -20
- package/dist/components/jogging/JoggingCartesianTab.cjs +1 -2
- package/dist/components/jogging/JoggingCartesianTab.d.ts +0 -1
- package/dist/components/jogging/JoggingCartesianTab.js +37 -41
- package/dist/components/jogging/JoggingFreedriveTab.cjs +1 -0
- package/dist/components/jogging/JoggingFreedriveTab.d.ts +0 -1
- package/dist/components/jogging/JoggingFreedriveTab.js +6 -0
- package/dist/components/jogging/JoggingJointLimitDetector.cjs +1 -2
- package/dist/components/jogging/JoggingJointLimitDetector.d.ts +0 -1
- package/dist/components/jogging/JoggingJointLimitDetector.js +4 -5
- package/dist/components/jogging/JoggingJointTab.cjs +1 -2
- package/dist/components/jogging/JoggingJointTab.d.ts +0 -1
- package/dist/components/jogging/JoggingJointTab.js +0 -1
- package/dist/components/jogging/JoggingJointValueControl.cjs +1 -2
- package/dist/components/jogging/JoggingJointValueControl.d.ts +0 -1
- package/dist/components/jogging/JoggingJointValueControl.js +7 -8
- package/dist/components/jogging/JoggingOptions.cjs +1 -2
- package/dist/components/jogging/JoggingOptions.d.ts +0 -1
- package/dist/components/jogging/JoggingOptions.js +0 -1
- package/dist/components/jogging/JoggingPanel.cjs +1 -2
- package/dist/components/jogging/JoggingPanel.d.ts +0 -1
- package/dist/components/jogging/JoggingPanel.js +21 -119
- package/dist/components/jogging/JoggingStore.cjs +1 -2
- package/dist/components/jogging/JoggingStore.d.ts +0 -1
- package/dist/components/jogging/JoggingStore.js +2 -3
- package/dist/components/jogging/JoggingToggleButtonGroup.cjs +0 -1
- package/dist/components/jogging/JoggingToggleButtonGroup.d.ts +0 -1
- package/dist/components/jogging/JoggingToggleButtonGroup.js +0 -1
- package/dist/components/jogging/JoggingVelocitySlider.cjs +0 -1
- package/dist/components/jogging/JoggingVelocitySlider.d.ts +0 -1
- package/dist/components/jogging/JoggingVelocitySlider.js +0 -1
- package/dist/components/jogging/PoseCartesianValues.cjs +1 -2
- package/dist/components/jogging/PoseCartesianValues.d.ts +0 -1
- package/dist/components/jogging/PoseCartesianValues.js +4 -5
- package/dist/components/jogging/PoseJointValues.cjs +1 -2
- package/dist/components/jogging/PoseJointValues.d.ts +0 -1
- package/dist/components/jogging/PoseJointValues.js +1 -2
- package/dist/components/modal/NoMotionGroupModal.cjs +0 -1
- package/dist/components/modal/NoMotionGroupModal.d.ts +0 -1
- package/dist/components/modal/NoMotionGroupModal.js +0 -1
- package/dist/components/robots/AxisConfig.cjs +0 -1
- package/dist/components/robots/AxisConfig.d.ts +0 -1
- package/dist/components/robots/AxisConfig.js +0 -1
- package/dist/components/robots/DHLinearAxis.cjs +1 -2
- package/dist/components/robots/DHLinearAxis.d.ts +0 -1
- package/dist/components/robots/DHLinearAxis.js +0 -1
- package/dist/components/robots/DHRobot.cjs +1 -2
- package/dist/components/robots/DHRobot.d.ts +0 -1
- package/dist/components/robots/DHRobot.js +0 -1
- package/dist/components/robots/GenericRobot.cjs +0 -1
- package/dist/components/robots/GenericRobot.d.ts +0 -1
- package/dist/components/robots/GenericRobot.js +0 -1
- package/dist/components/robots/LinearAxis.cjs +1 -2
- package/dist/components/robots/LinearAxis.d.ts +0 -1
- package/dist/components/robots/LinearAxis.js +0 -1
- package/dist/components/robots/LinearAxisAnimator.cjs +1 -2
- package/dist/components/robots/LinearAxisAnimator.d.ts +0 -1
- package/dist/components/robots/LinearAxisAnimator.js +0 -1
- package/dist/components/robots/MotionGroupVisualizer.cjs +1 -2
- package/dist/components/robots/MotionGroupVisualizer.d.ts +0 -1
- package/dist/components/robots/MotionGroupVisualizer.js +4 -5
- package/dist/components/robots/Robot.cjs +1 -2
- package/dist/components/robots/Robot.d.ts +0 -1
- package/dist/components/robots/Robot.js +0 -1
- package/dist/components/robots/RobotAnimator.cjs +1 -2
- package/dist/components/robots/RobotAnimator.d.ts +0 -1
- package/dist/components/robots/RobotAnimator.js +0 -1
- package/dist/components/robots/SupportedLinearAxis.cjs +1 -2
- package/dist/components/robots/SupportedLinearAxis.d.ts +0 -1
- package/dist/components/robots/SupportedLinearAxis.js +7 -8
- package/dist/components/robots/SupportedRobot.cjs +1 -2
- package/dist/components/robots/SupportedRobot.d.ts +0 -1
- package/dist/components/robots/SupportedRobot.js +6 -7
- package/dist/components/robots/ghostStyle.cjs +0 -1
- package/dist/components/robots/ghostStyle.d.ts +0 -1
- package/dist/components/robots/ghostStyle.js +0 -1
- package/dist/components/robots/manufacturerHomePositions.cjs +0 -1
- package/dist/components/robots/manufacturerHomePositions.d.ts +0 -1
- package/dist/components/robots/manufacturerHomePositions.js +0 -1
- package/dist/components/robots/robotModelLogic.cjs +1 -2
- package/dist/components/robots/robotModelLogic.d.ts +0 -1
- package/dist/components/robots/robotModelLogic.js +58 -34
- package/dist/components/safetyBar/ControllerTypeIndicator.cjs +1 -2
- package/dist/components/safetyBar/ControllerTypeIndicator.d.ts +0 -1
- package/dist/components/safetyBar/ControllerTypeIndicator.js +10 -12
- package/dist/components/safetyBar/IndicatorWithExplanation.cjs +0 -1
- package/dist/components/safetyBar/IndicatorWithExplanation.d.ts +0 -1
- package/dist/components/safetyBar/IndicatorWithExplanation.js +0 -1
- package/dist/components/safetyBar/OperationModeIndicator.cjs +1 -2
- package/dist/components/safetyBar/OperationModeIndicator.d.ts +0 -1
- package/dist/components/safetyBar/OperationModeIndicator.js +21 -24
- package/dist/components/safetyBar/SafetyBar.cjs +1 -2
- package/dist/components/safetyBar/SafetyBar.d.ts +0 -1
- package/dist/components/safetyBar/SafetyBar.js +15 -16
- package/dist/components/safetyBar/SafetyStateIndicator.cjs +1 -2
- package/dist/components/safetyBar/SafetyStateIndicator.d.ts +0 -1
- package/dist/components/safetyBar/SafetyStateIndicator.js +25 -30
- package/dist/components/safetyBar/icons/index.cjs +1 -0
- package/dist/components/safetyBar/icons/index.d.ts +0 -1
- package/dist/components/safetyBar/icons/index.js +15 -0
- package/dist/components/utils/converters.cjs +1 -2
- package/dist/components/utils/converters.d.ts +0 -1
- package/dist/components/utils/converters.js +26 -11
- package/dist/components/utils/errorHandling.cjs +1 -2
- package/dist/components/utils/errorHandling.d.ts +0 -1
- package/dist/components/utils/errorHandling.js +17 -9
- package/dist/components/utils/hooks.cjs +0 -1
- package/dist/components/utils/hooks.d.ts +0 -1
- package/dist/components/utils/hooks.js +3 -4
- package/dist/components/utils/interpolation.cjs +0 -1
- package/dist/components/utils/interpolation.d.ts +0 -1
- package/dist/components/utils/interpolation.js +0 -1
- package/dist/core.cjs +1 -2
- package/dist/core.d.ts +0 -1
- package/dist/core.js +70 -75
- package/dist/externalizeComponent.d.ts +0 -1
- package/dist/i18n/config.d.ts +0 -1
- package/dist/icons/DropdownArrowIcon.d.ts +0 -1
- package/dist/icons/index.d.ts +0 -1
- package/dist/index.cjs +1 -2
- package/dist/index.d.ts +0 -1
- package/dist/index.js +120 -140
- package/dist/lib/ConnectedMotionGroup.d.ts +0 -1
- package/dist/lib/JoggerConnection.d.ts +0 -1
- package/dist/lib/MotionStreamConnection.d.ts +0 -1
- package/dist/lib/motionStateUpdate.d.ts +0 -1
- package/dist/themes/createDarkTheme.d.ts +0 -1
- package/dist/themes/createLightTheme.d.ts +0 -1
- package/dist/themes/themeTypes.d.ts +0 -1
- package/dist/themes/theming.d.ts +0 -1
- package/dist/wb-icons.cjs +1 -2
- package/dist/wb-icons.d.ts +0 -1
- package/dist/wb-icons.js +28 -44
- package/package.json +5 -6
- package/dist/3d.cjs.map +0 -1
- package/dist/3d.d.ts.map +0 -1
- package/dist/3d.js.map +0 -1
- package/dist/Setup.d.ts.map +0 -1
- package/dist/components/3d-viewport/CoordinateSystemTransform.d.ts.map +0 -1
- package/dist/components/3d-viewport/PresetEnvironment.cjs.map +0 -1
- package/dist/components/3d-viewport/PresetEnvironment.d.ts.map +0 -1
- package/dist/components/3d-viewport/PresetEnvironment.js.map +0 -1
- package/dist/components/3d-viewport/SafetyZonesRenderer.cjs.map +0 -1
- package/dist/components/3d-viewport/SafetyZonesRenderer.d.ts.map +0 -1
- package/dist/components/3d-viewport/SafetyZonesRenderer.js.map +0 -1
- package/dist/components/3d-viewport/TrajectoryRenderer.cjs.map +0 -1
- package/dist/components/3d-viewport/TrajectoryRenderer.d.ts.map +0 -1
- package/dist/components/3d-viewport/TrajectoryRenderer.js.map +0 -1
- package/dist/components/3d-viewport/collider/ColliderCollection.cjs.map +0 -1
- package/dist/components/3d-viewport/collider/ColliderCollection.d.ts.map +0 -1
- package/dist/components/3d-viewport/collider/ColliderCollection.js.map +0 -1
- package/dist/components/3d-viewport/collider/ColliderElement.cjs.map +0 -1
- package/dist/components/3d-viewport/collider/ColliderElement.d.ts.map +0 -1
- package/dist/components/3d-viewport/collider/ColliderElement.js.map +0 -1
- package/dist/components/3d-viewport/collider/CollisionSceneRenderer.cjs.map +0 -1
- package/dist/components/3d-viewport/collider/CollisionSceneRenderer.d.ts.map +0 -1
- package/dist/components/3d-viewport/collider/CollisionSceneRenderer.js.map +0 -1
- package/dist/components/3d-viewport/collider/colliderShapeToBufferGeometry.cjs.map +0 -1
- package/dist/components/3d-viewport/collider/colliderShapeToBufferGeometry.d.ts.map +0 -1
- package/dist/components/3d-viewport/collider/colliderShapeToBufferGeometry.js.map +0 -1
- package/dist/components/AppHeader.cjs.map +0 -1
- package/dist/components/AppHeader.d.ts.map +0 -1
- package/dist/components/AppHeader.js.map +0 -1
- package/dist/components/ConsoleFilter.cjs.map +0 -1
- package/dist/components/ConsoleFilter.d.ts.map +0 -1
- package/dist/components/ConsoleFilter.js.map +0 -1
- package/dist/components/CopyableText.cjs.map +0 -1
- package/dist/components/CopyableText.d.ts.map +0 -1
- package/dist/components/CopyableText.js.map +0 -1
- package/dist/components/CycleTimer/CycleTimer.d.ts.map +0 -1
- package/dist/components/CycleTimer/DefaultVariant.cjs.map +0 -1
- package/dist/components/CycleTimer/DefaultVariant.d.ts.map +0 -1
- package/dist/components/CycleTimer/DefaultVariant.js.map +0 -1
- package/dist/components/CycleTimer/SmallVariant.cjs.map +0 -1
- package/dist/components/CycleTimer/SmallVariant.d.ts.map +0 -1
- package/dist/components/CycleTimer/SmallVariant.js.map +0 -1
- package/dist/components/CycleTimer/index.cjs.map +0 -1
- package/dist/components/CycleTimer/index.d.ts.map +0 -1
- package/dist/components/CycleTimer/index.js.map +0 -1
- package/dist/components/CycleTimer/types.d.ts.map +0 -1
- package/dist/components/CycleTimer/useAnimations.cjs.map +0 -1
- package/dist/components/CycleTimer/useAnimations.d.ts.map +0 -1
- package/dist/components/CycleTimer/useAnimations.js.map +0 -1
- package/dist/components/CycleTimer/useTimerLogic.cjs.map +0 -1
- package/dist/components/CycleTimer/useTimerLogic.d.ts.map +0 -1
- package/dist/components/CycleTimer/useTimerLogic.js.map +0 -1
- package/dist/components/CycleTimer/utils.cjs.map +0 -1
- package/dist/components/CycleTimer/utils.d.ts.map +0 -1
- package/dist/components/CycleTimer/utils.js.map +0 -1
- package/dist/components/CycleTimer.cjs.map +0 -1
- package/dist/components/CycleTimer.d.ts.map +0 -1
- package/dist/components/CycleTimer.js.map +0 -1
- package/dist/components/DataGrid.cjs.map +0 -1
- package/dist/components/DataGrid.d.ts.map +0 -1
- package/dist/components/DataGrid.js.map +0 -1
- package/dist/components/LoadingCover.cjs.map +0 -1
- package/dist/components/LoadingCover.d.ts.map +0 -1
- package/dist/components/LoadingCover.js.map +0 -1
- package/dist/components/LogPanel.cjs.map +0 -1
- package/dist/components/LogPanel.d.ts.map +0 -1
- package/dist/components/LogPanel.js.map +0 -1
- package/dist/components/LogStore.cjs.map +0 -1
- package/dist/components/LogStore.d.ts.map +0 -1
- package/dist/components/LogStore.js.map +0 -1
- package/dist/components/LogViewer.cjs.map +0 -1
- package/dist/components/LogViewer.d.ts.map +0 -1
- package/dist/components/LogViewer.js.map +0 -1
- package/dist/components/ProgramControl.cjs.map +0 -1
- package/dist/components/ProgramControl.d.ts.map +0 -1
- package/dist/components/ProgramControl.js.map +0 -1
- package/dist/components/ProgramStateIndicator.cjs.map +0 -1
- package/dist/components/ProgramStateIndicator.d.ts.map +0 -1
- package/dist/components/ProgramStateIndicator.js.map +0 -1
- package/dist/components/RobotCard.cjs.map +0 -1
- package/dist/components/RobotCard.d.ts.map +0 -1
- package/dist/components/RobotCard.js.map +0 -1
- package/dist/components/RobotListItem.cjs.map +0 -1
- package/dist/components/RobotListItem.d.ts.map +0 -1
- package/dist/components/RobotListItem.js.map +0 -1
- package/dist/components/RobotSetupReadinessIndicator.cjs.map +0 -1
- package/dist/components/RobotSetupReadinessIndicator.d.ts.map +0 -1
- package/dist/components/RobotSetupReadinessIndicator.js.map +0 -1
- package/dist/components/RobotSetupReadinessIndicator.test.d.ts +0 -2
- package/dist/components/RobotSetupReadinessIndicator.test.d.ts.map +0 -1
- package/dist/components/SelectableFab.cjs.map +0 -1
- package/dist/components/SelectableFab.d.ts.map +0 -1
- package/dist/components/SelectableFab.js.map +0 -1
- package/dist/components/TabBar.cjs.map +0 -1
- package/dist/components/TabBar.d.ts.map +0 -1
- package/dist/components/TabBar.js.map +0 -1
- package/dist/components/ThemeSelect.d.ts.map +0 -1
- package/dist/components/Timer/Timer.d.ts.map +0 -1
- package/dist/components/Timer/TimerDefaultVariant.cjs.map +0 -1
- package/dist/components/Timer/TimerDefaultVariant.d.ts.map +0 -1
- package/dist/components/Timer/TimerDefaultVariant.js.map +0 -1
- package/dist/components/Timer/TimerSmallVariant.cjs.map +0 -1
- package/dist/components/Timer/TimerSmallVariant.d.ts.map +0 -1
- package/dist/components/Timer/TimerSmallVariant.js.map +0 -1
- package/dist/components/Timer/index.cjs.map +0 -1
- package/dist/components/Timer/index.d.ts.map +0 -1
- package/dist/components/Timer/index.js.map +0 -1
- package/dist/components/Timer/types.d.ts.map +0 -1
- package/dist/components/Timer/useTimerAnimations.cjs.map +0 -1
- package/dist/components/Timer/useTimerAnimations.d.ts.map +0 -1
- package/dist/components/Timer/useTimerAnimations.js.map +0 -1
- package/dist/components/Timer/useTimerLogic.cjs.map +0 -1
- package/dist/components/Timer/useTimerLogic.d.ts.map +0 -1
- package/dist/components/Timer/useTimerLogic.js.map +0 -1
- package/dist/components/Timer/utils.cjs.map +0 -1
- package/dist/components/Timer/utils.d.ts.map +0 -1
- package/dist/components/Timer/utils.js.map +0 -1
- package/dist/components/Timer.cjs.map +0 -1
- package/dist/components/Timer.d.ts.map +0 -1
- package/dist/components/Timer.js.map +0 -1
- package/dist/components/TransparentOverlay.d.ts.map +0 -1
- package/dist/components/VelocitySlider.cjs.map +0 -1
- package/dist/components/VelocitySlider.d.ts.map +0 -1
- package/dist/components/VelocitySlider.js.map +0 -1
- package/dist/components/experimental/utils/AdornedSelect.cjs.map +0 -1
- package/dist/components/experimental/utils/AdornedSelect.d.ts.map +0 -1
- package/dist/components/experimental/utils/AdornedSelect.js.map +0 -1
- package/dist/components/jogging/JoggingBlocked.cjs.map +0 -1
- package/dist/components/jogging/JoggingBlocked.d.ts.map +0 -1
- package/dist/components/jogging/JoggingBlocked.js.map +0 -1
- package/dist/components/jogging/JoggingCartesianAxisControl.cjs.map +0 -1
- package/dist/components/jogging/JoggingCartesianAxisControl.d.ts.map +0 -1
- package/dist/components/jogging/JoggingCartesianAxisControl.js.map +0 -1
- package/dist/components/jogging/JoggingCartesianTab.cjs.map +0 -1
- package/dist/components/jogging/JoggingCartesianTab.d.ts.map +0 -1
- package/dist/components/jogging/JoggingCartesianTab.js.map +0 -1
- package/dist/components/jogging/JoggingFreedriveTab.d.ts.map +0 -1
- package/dist/components/jogging/JoggingJointLimitDetector.cjs.map +0 -1
- package/dist/components/jogging/JoggingJointLimitDetector.d.ts.map +0 -1
- package/dist/components/jogging/JoggingJointLimitDetector.js.map +0 -1
- package/dist/components/jogging/JoggingJointTab.cjs.map +0 -1
- package/dist/components/jogging/JoggingJointTab.d.ts.map +0 -1
- package/dist/components/jogging/JoggingJointTab.js.map +0 -1
- package/dist/components/jogging/JoggingJointValueControl.cjs.map +0 -1
- package/dist/components/jogging/JoggingJointValueControl.d.ts.map +0 -1
- package/dist/components/jogging/JoggingJointValueControl.js.map +0 -1
- package/dist/components/jogging/JoggingOptions.cjs.map +0 -1
- package/dist/components/jogging/JoggingOptions.d.ts.map +0 -1
- package/dist/components/jogging/JoggingOptions.js.map +0 -1
- package/dist/components/jogging/JoggingPanel.cjs.map +0 -1
- package/dist/components/jogging/JoggingPanel.d.ts.map +0 -1
- package/dist/components/jogging/JoggingPanel.js.map +0 -1
- package/dist/components/jogging/JoggingPanel.test.d.ts +0 -2
- package/dist/components/jogging/JoggingPanel.test.d.ts.map +0 -1
- package/dist/components/jogging/JoggingStore.cjs.map +0 -1
- package/dist/components/jogging/JoggingStore.d.ts.map +0 -1
- package/dist/components/jogging/JoggingStore.js.map +0 -1
- package/dist/components/jogging/JoggingToggleButtonGroup.cjs.map +0 -1
- package/dist/components/jogging/JoggingToggleButtonGroup.d.ts.map +0 -1
- package/dist/components/jogging/JoggingToggleButtonGroup.js.map +0 -1
- package/dist/components/jogging/JoggingVelocitySlider.cjs.map +0 -1
- package/dist/components/jogging/JoggingVelocitySlider.d.ts.map +0 -1
- package/dist/components/jogging/JoggingVelocitySlider.js.map +0 -1
- package/dist/components/jogging/PoseCartesianValues.cjs.map +0 -1
- package/dist/components/jogging/PoseCartesianValues.d.ts.map +0 -1
- package/dist/components/jogging/PoseCartesianValues.js.map +0 -1
- package/dist/components/jogging/PoseJointValues.cjs.map +0 -1
- package/dist/components/jogging/PoseJointValues.d.ts.map +0 -1
- package/dist/components/jogging/PoseJointValues.js.map +0 -1
- package/dist/components/jogging/__fixtures__/motionStreamMockData.d.ts +0 -11
- package/dist/components/jogging/__fixtures__/motionStreamMockData.d.ts.map +0 -1
- package/dist/components/modal/NoMotionGroupModal.cjs.map +0 -1
- package/dist/components/modal/NoMotionGroupModal.d.ts.map +0 -1
- package/dist/components/modal/NoMotionGroupModal.js.map +0 -1
- package/dist/components/robots/AxisConfig.cjs.map +0 -1
- package/dist/components/robots/AxisConfig.d.ts.map +0 -1
- package/dist/components/robots/AxisConfig.js.map +0 -1
- package/dist/components/robots/DHLinearAxis.cjs.map +0 -1
- package/dist/components/robots/DHLinearAxis.d.ts.map +0 -1
- package/dist/components/robots/DHLinearAxis.js.map +0 -1
- package/dist/components/robots/DHRobot.cjs.map +0 -1
- package/dist/components/robots/DHRobot.d.ts.map +0 -1
- package/dist/components/robots/DHRobot.js.map +0 -1
- package/dist/components/robots/GenericRobot.cjs.map +0 -1
- package/dist/components/robots/GenericRobot.d.ts.map +0 -1
- package/dist/components/robots/GenericRobot.js.map +0 -1
- package/dist/components/robots/LinearAxis.cjs.map +0 -1
- package/dist/components/robots/LinearAxis.d.ts.map +0 -1
- package/dist/components/robots/LinearAxis.js.map +0 -1
- package/dist/components/robots/LinearAxisAnimator.cjs.map +0 -1
- package/dist/components/robots/LinearAxisAnimator.d.ts.map +0 -1
- package/dist/components/robots/LinearAxisAnimator.js.map +0 -1
- package/dist/components/robots/MotionGroupVisualizer.cjs.map +0 -1
- package/dist/components/robots/MotionGroupVisualizer.d.ts.map +0 -1
- package/dist/components/robots/MotionGroupVisualizer.js.map +0 -1
- package/dist/components/robots/Robot.cjs.map +0 -1
- package/dist/components/robots/Robot.d.ts.map +0 -1
- package/dist/components/robots/Robot.js.map +0 -1
- package/dist/components/robots/RobotAnimator.cjs.map +0 -1
- package/dist/components/robots/RobotAnimator.d.ts.map +0 -1
- package/dist/components/robots/RobotAnimator.js.map +0 -1
- package/dist/components/robots/RobotAnimator.test.d.ts +0 -2
- package/dist/components/robots/RobotAnimator.test.d.ts.map +0 -1
- package/dist/components/robots/SupportedLinearAxis.cjs.map +0 -1
- package/dist/components/robots/SupportedLinearAxis.d.ts.map +0 -1
- package/dist/components/robots/SupportedLinearAxis.js.map +0 -1
- package/dist/components/robots/SupportedRobot.cjs.map +0 -1
- package/dist/components/robots/SupportedRobot.d.ts.map +0 -1
- package/dist/components/robots/SupportedRobot.js.map +0 -1
- package/dist/components/robots/ghostStyle.cjs.map +0 -1
- package/dist/components/robots/ghostStyle.d.ts.map +0 -1
- package/dist/components/robots/ghostStyle.js.map +0 -1
- package/dist/components/robots/manufacturerHomePositions.cjs.map +0 -1
- package/dist/components/robots/manufacturerHomePositions.d.ts.map +0 -1
- package/dist/components/robots/manufacturerHomePositions.js.map +0 -1
- package/dist/components/robots/robotModelLogic.cjs.map +0 -1
- package/dist/components/robots/robotModelLogic.d.ts.map +0 -1
- package/dist/components/robots/robotModelLogic.js.map +0 -1
- package/dist/components/safetyBar/ControllerTypeIndicator.cjs.map +0 -1
- package/dist/components/safetyBar/ControllerTypeIndicator.d.ts.map +0 -1
- package/dist/components/safetyBar/ControllerTypeIndicator.js.map +0 -1
- package/dist/components/safetyBar/IndicatorWithExplanation.cjs.map +0 -1
- package/dist/components/safetyBar/IndicatorWithExplanation.d.ts.map +0 -1
- package/dist/components/safetyBar/IndicatorWithExplanation.js.map +0 -1
- package/dist/components/safetyBar/OperationModeIndicator.cjs.map +0 -1
- package/dist/components/safetyBar/OperationModeIndicator.d.ts.map +0 -1
- package/dist/components/safetyBar/OperationModeIndicator.js.map +0 -1
- package/dist/components/safetyBar/SafetyBar.cjs.map +0 -1
- package/dist/components/safetyBar/SafetyBar.d.ts.map +0 -1
- package/dist/components/safetyBar/SafetyBar.js.map +0 -1
- package/dist/components/safetyBar/SafetyStateIndicator.cjs.map +0 -1
- package/dist/components/safetyBar/SafetyStateIndicator.d.ts.map +0 -1
- package/dist/components/safetyBar/SafetyStateIndicator.js.map +0 -1
- package/dist/components/safetyBar/icons/controller-type-physical.svg.cjs +0 -2
- package/dist/components/safetyBar/icons/controller-type-physical.svg.cjs.map +0 -1
- package/dist/components/safetyBar/icons/controller-type-physical.svg.d.ts +0 -3
- package/dist/components/safetyBar/icons/controller-type-physical.svg.js.map +0 -1
- package/dist/components/safetyBar/icons/controller-type-virtual.svg.cjs +0 -2
- package/dist/components/safetyBar/icons/controller-type-virtual.svg.cjs.map +0 -1
- package/dist/components/safetyBar/icons/controller-type-virtual.svg.d.ts +0 -3
- package/dist/components/safetyBar/icons/controller-type-virtual.svg.js +0 -11
- package/dist/components/safetyBar/icons/controller-type-virtual.svg.js.map +0 -1
- package/dist/components/safetyBar/icons/index.d.ts.map +0 -1
- package/dist/components/safetyBar/icons/operation-mode-automatic.svg.cjs +0 -2
- package/dist/components/safetyBar/icons/operation-mode-automatic.svg.cjs.map +0 -1
- package/dist/components/safetyBar/icons/operation-mode-automatic.svg.d.ts +0 -3
- package/dist/components/safetyBar/icons/operation-mode-automatic.svg.js +0 -11
- package/dist/components/safetyBar/icons/operation-mode-automatic.svg.js.map +0 -1
- package/dist/components/safetyBar/icons/operation-mode-error.svg.cjs +0 -2
- package/dist/components/safetyBar/icons/operation-mode-error.svg.cjs.map +0 -1
- package/dist/components/safetyBar/icons/operation-mode-error.svg.d.ts +0 -3
- package/dist/components/safetyBar/icons/operation-mode-error.svg.js +0 -11
- package/dist/components/safetyBar/icons/operation-mode-error.svg.js.map +0 -1
- package/dist/components/safetyBar/icons/operation-mode-manual.svg.cjs +0 -2
- package/dist/components/safetyBar/icons/operation-mode-manual.svg.cjs.map +0 -1
- package/dist/components/safetyBar/icons/operation-mode-manual.svg.d.ts +0 -3
- package/dist/components/safetyBar/icons/operation-mode-manual.svg.js +0 -11
- package/dist/components/safetyBar/icons/operation-mode-manual.svg.js.map +0 -1
- package/dist/components/safetyBar/icons/safety-state-error.svg.cjs +0 -2
- package/dist/components/safetyBar/icons/safety-state-error.svg.cjs.map +0 -1
- package/dist/components/safetyBar/icons/safety-state-error.svg.d.ts +0 -3
- package/dist/components/safetyBar/icons/safety-state-error.svg.js +0 -11
- package/dist/components/safetyBar/icons/safety-state-error.svg.js.map +0 -1
- package/dist/components/safetyBar/icons/safety-state-estop.svg.cjs +0 -2
- package/dist/components/safetyBar/icons/safety-state-estop.svg.cjs.map +0 -1
- package/dist/components/safetyBar/icons/safety-state-estop.svg.d.ts +0 -3
- package/dist/components/safetyBar/icons/safety-state-estop.svg.js +0 -11
- package/dist/components/safetyBar/icons/safety-state-estop.svg.js.map +0 -1
- package/dist/components/safetyBar/icons/safety-state-manual-action-required.svg.cjs +0 -2
- package/dist/components/safetyBar/icons/safety-state-manual-action-required.svg.cjs.map +0 -1
- package/dist/components/safetyBar/icons/safety-state-manual-action-required.svg.d.ts +0 -3
- package/dist/components/safetyBar/icons/safety-state-manual-action-required.svg.js +0 -11
- package/dist/components/safetyBar/icons/safety-state-manual-action-required.svg.js.map +0 -1
- package/dist/components/safetyBar/icons/safety-state-normal.svg.cjs +0 -2
- package/dist/components/safetyBar/icons/safety-state-normal.svg.cjs.map +0 -1
- package/dist/components/safetyBar/icons/safety-state-normal.svg.d.ts +0 -3
- package/dist/components/safetyBar/icons/safety-state-normal.svg.js +0 -11
- package/dist/components/safetyBar/icons/safety-state-normal.svg.js.map +0 -1
- package/dist/components/safetyBar/icons/safety-state-stop.svg.cjs +0 -2
- package/dist/components/safetyBar/icons/safety-state-stop.svg.cjs.map +0 -1
- package/dist/components/safetyBar/icons/safety-state-stop.svg.d.ts +0 -3
- package/dist/components/safetyBar/icons/safety-state-stop.svg.js +0 -11
- package/dist/components/safetyBar/icons/safety-state-stop.svg.js.map +0 -1
- package/dist/components/utils/converters.cjs.map +0 -1
- package/dist/components/utils/converters.d.ts.map +0 -1
- package/dist/components/utils/converters.js.map +0 -1
- package/dist/components/utils/errorHandling.cjs.map +0 -1
- package/dist/components/utils/errorHandling.d.ts.map +0 -1
- package/dist/components/utils/errorHandling.js.map +0 -1
- package/dist/components/utils/errorHandling.test.d.ts +0 -2
- package/dist/components/utils/errorHandling.test.d.ts.map +0 -1
- package/dist/components/utils/hooks.cjs.map +0 -1
- package/dist/components/utils/hooks.d.ts.map +0 -1
- package/dist/components/utils/hooks.js.map +0 -1
- package/dist/components/utils/interpolation.cjs.map +0 -1
- package/dist/components/utils/interpolation.d.ts.map +0 -1
- package/dist/components/utils/interpolation.js.map +0 -1
- package/dist/components/utils/interpolation.test.d.ts +0 -2
- package/dist/components/utils/interpolation.test.d.ts.map +0 -1
- package/dist/core.cjs.map +0 -1
- package/dist/core.d.ts.map +0 -1
- package/dist/core.js.map +0 -1
- package/dist/externalizeComponent.cjs +0 -2
- package/dist/externalizeComponent.cjs.map +0 -1
- package/dist/externalizeComponent.d.ts.map +0 -1
- package/dist/externalizeComponent.js +0 -13
- package/dist/externalizeComponent.js.map +0 -1
- package/dist/i18n/config.cjs +0 -2
- package/dist/i18n/config.cjs.map +0 -1
- package/dist/i18n/config.d.ts.map +0 -1
- package/dist/i18n/config.js +0 -25
- package/dist/i18n/config.js.map +0 -1
- package/dist/i18n/locales/de/translations.json.cjs +0 -3
- package/dist/i18n/locales/de/translations.json.cjs.map +0 -1
- package/dist/i18n/locales/de/translations.json.js +0 -94
- package/dist/i18n/locales/de/translations.json.js.map +0 -1
- package/dist/i18n/locales/en/translations.json.cjs +0 -2
- package/dist/i18n/locales/en/translations.json.cjs.map +0 -1
- package/dist/i18n/locales/en/translations.json.js +0 -94
- package/dist/i18n/locales/en/translations.json.js.map +0 -1
- package/dist/icons/DropdownArrowIcon.cjs +0 -2
- package/dist/icons/DropdownArrowIcon.cjs.map +0 -1
- package/dist/icons/DropdownArrowIcon.d.ts.map +0 -1
- package/dist/icons/DropdownArrowIcon.js +0 -14
- package/dist/icons/DropdownArrowIcon.js.map +0 -1
- package/dist/icons/axis-x.svg.cjs +0 -2
- package/dist/icons/axis-x.svg.cjs.map +0 -1
- package/dist/icons/axis-x.svg.d.ts +0 -3
- package/dist/icons/axis-x.svg.js +0 -11
- package/dist/icons/axis-x.svg.js.map +0 -1
- package/dist/icons/axis-y.svg.cjs +0 -2
- package/dist/icons/axis-y.svg.cjs.map +0 -1
- package/dist/icons/axis-y.svg.d.ts +0 -3
- package/dist/icons/axis-y.svg.js +0 -11
- package/dist/icons/axis-y.svg.js.map +0 -1
- package/dist/icons/axis-z.svg.cjs +0 -2
- package/dist/icons/axis-z.svg.cjs.map +0 -1
- package/dist/icons/axis-z.svg.d.ts +0 -3
- package/dist/icons/axis-z.svg.js +0 -11
- package/dist/icons/axis-z.svg.js.map +0 -1
- package/dist/icons/home.svg.cjs +0 -2
- package/dist/icons/home.svg.cjs.map +0 -1
- package/dist/icons/home.svg.d.ts +0 -3
- package/dist/icons/home.svg.js +0 -11
- package/dist/icons/home.svg.js.map +0 -1
- package/dist/icons/index.d.ts.map +0 -1
- package/dist/icons/jog-minus.svg.cjs +0 -2
- package/dist/icons/jog-minus.svg.cjs.map +0 -1
- package/dist/icons/jog-minus.svg.d.ts +0 -3
- package/dist/icons/jog-minus.svg.js +0 -11
- package/dist/icons/jog-minus.svg.js.map +0 -1
- package/dist/icons/jog-plus.svg.cjs +0 -2
- package/dist/icons/jog-plus.svg.cjs.map +0 -1
- package/dist/icons/jog-plus.svg.d.ts +0 -3
- package/dist/icons/jog-plus.svg.js +0 -11
- package/dist/icons/jog-plus.svg.js.map +0 -1
- package/dist/icons/jogging.svg.cjs +0 -2
- package/dist/icons/jogging.svg.cjs.map +0 -1
- package/dist/icons/jogging.svg.d.ts +0 -3
- package/dist/icons/jogging.svg.js +0 -11
- package/dist/icons/jogging.svg.js.map +0 -1
- package/dist/icons/orientation-coord-system.svg.cjs +0 -2
- package/dist/icons/orientation-coord-system.svg.cjs.map +0 -1
- package/dist/icons/orientation-coord-system.svg.d.ts +0 -3
- package/dist/icons/orientation-coord-system.svg.js +0 -11
- package/dist/icons/orientation-coord-system.svg.js.map +0 -1
- package/dist/icons/orientation-tool.svg.cjs +0 -2
- package/dist/icons/orientation-tool.svg.cjs.map +0 -1
- package/dist/icons/orientation-tool.svg.d.ts +0 -3
- package/dist/icons/orientation-tool.svg.js +0 -11
- package/dist/icons/orientation-tool.svg.js.map +0 -1
- package/dist/icons/robot.svg.cjs +0 -2
- package/dist/icons/robot.svg.cjs.map +0 -1
- package/dist/icons/robot.svg.d.ts +0 -3
- package/dist/icons/robot.svg.js.map +0 -1
- package/dist/icons/rotation.svg.cjs +0 -2
- package/dist/icons/rotation.svg.cjs.map +0 -1
- package/dist/icons/rotation.svg.d.ts +0 -3
- package/dist/icons/rotation.svg.js +0 -11
- package/dist/icons/rotation.svg.js.map +0 -1
- package/dist/icons/wbLogo.svg.cjs +0 -2
- package/dist/icons/wbLogo.svg.cjs.map +0 -1
- package/dist/icons/wbLogo.svg.d.ts +0 -3
- package/dist/icons/wbLogo.svg.js +0 -11
- package/dist/icons/wbLogo.svg.js.map +0 -1
- package/dist/index.cjs.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/lib/ConnectedMotionGroup.cjs +0 -4
- package/dist/lib/ConnectedMotionGroup.cjs.map +0 -1
- package/dist/lib/ConnectedMotionGroup.d.ts.map +0 -1
- package/dist/lib/ConnectedMotionGroup.js +0 -250
- package/dist/lib/ConnectedMotionGroup.js.map +0 -1
- package/dist/lib/JoggerConnection.cjs +0 -2
- package/dist/lib/JoggerConnection.cjs.map +0 -1
- package/dist/lib/JoggerConnection.d.ts.map +0 -1
- package/dist/lib/JoggerConnection.js +0 -342
- package/dist/lib/JoggerConnection.js.map +0 -1
- package/dist/lib/JoggerConnection.test.d.ts +0 -2
- package/dist/lib/JoggerConnection.test.d.ts.map +0 -1
- package/dist/lib/MotionStreamConnection.cjs +0 -3
- package/dist/lib/MotionStreamConnection.cjs.map +0 -1
- package/dist/lib/MotionStreamConnection.d.ts.map +0 -1
- package/dist/lib/MotionStreamConnection.js +0 -94
- package/dist/lib/MotionStreamConnection.js.map +0 -1
- package/dist/lib/MotionStreamConnection.test.d.ts +0 -2
- package/dist/lib/MotionStreamConnection.test.d.ts.map +0 -1
- package/dist/lib/motionStateUpdate.cjs +0 -2
- package/dist/lib/motionStateUpdate.cjs.map +0 -1
- package/dist/lib/motionStateUpdate.d.ts.map +0 -1
- package/dist/lib/motionStateUpdate.js +0 -49
- package/dist/lib/motionStateUpdate.js.map +0 -1
- package/dist/lib/motionStateUpdate.test.d.ts +0 -2
- package/dist/lib/motionStateUpdate.test.d.ts.map +0 -1
- package/dist/test/consumer.test.d.ts +0 -2
- package/dist/test/consumer.test.d.ts.map +0 -1
- package/dist/test/setup.d.ts +0 -2
- package/dist/test/setup.d.ts.map +0 -1
- package/dist/themes/createDarkTheme.cjs +0 -2
- package/dist/themes/createDarkTheme.cjs.map +0 -1
- package/dist/themes/createDarkTheme.d.ts.map +0 -1
- package/dist/themes/createDarkTheme.js +0 -344
- package/dist/themes/createDarkTheme.js.map +0 -1
- package/dist/themes/createLightTheme.cjs +0 -2
- package/dist/themes/createLightTheme.cjs.map +0 -1
- package/dist/themes/createLightTheme.d.ts.map +0 -1
- package/dist/themes/createLightTheme.js +0 -9
- package/dist/themes/createLightTheme.js.map +0 -1
- package/dist/themes/themeTypes.d.ts.map +0 -1
- package/dist/themes/theming.cjs +0 -2
- package/dist/themes/theming.cjs.map +0 -1
- package/dist/themes/theming.d.ts.map +0 -1
- package/dist/themes/theming.js +0 -14
- package/dist/themes/theming.js.map +0 -1
- package/dist/wb-icons.cjs.map +0 -1
- package/dist/wb-icons.d.ts.map +0 -1
- package/dist/wb-icons.js.map +0 -1
- package/src/3d.ts +0 -18
- package/src/Setup.tsx +0 -33
- package/src/components/3d-viewport/CoordinateSystemTransform.tsx +0 -57
- package/src/components/3d-viewport/PresetEnvironment.tsx +0 -81
- package/src/components/3d-viewport/SafetyZonesRenderer.tsx +0 -198
- package/src/components/3d-viewport/TrajectoryRenderer.tsx +0 -41
- package/src/components/3d-viewport/collider/ColliderCollection.tsx +0 -35
- package/src/components/3d-viewport/collider/ColliderElement.tsx +0 -36
- package/src/components/3d-viewport/collider/CollisionSceneRenderer.tsx +0 -26
- package/src/components/3d-viewport/collider/colliderShapeToBufferGeometry.ts +0 -48
- package/src/components/AppHeader.md +0 -84
- package/src/components/AppHeader.tsx +0 -197
- package/src/components/ConsoleFilter.tsx +0 -24
- package/src/components/CopyableText.tsx +0 -89
- package/src/components/CycleTimer/CycleTimer.ts +0 -8
- package/src/components/CycleTimer/DefaultVariant.tsx +0 -326
- package/src/components/CycleTimer/SmallVariant.tsx +0 -229
- package/src/components/CycleTimer/index.tsx +0 -158
- package/src/components/CycleTimer/types.ts +0 -58
- package/src/components/CycleTimer/useAnimations.ts +0 -202
- package/src/components/CycleTimer/useTimerLogic.ts +0 -330
- package/src/components/CycleTimer/utils.ts +0 -122
- package/src/components/CycleTimer.tsx +0 -8
- package/src/components/DataGrid.tsx +0 -664
- package/src/components/LoadingCover.tsx +0 -91
- package/src/components/LogPanel.tsx +0 -71
- package/src/components/LogStore.ts +0 -46
- package/src/components/LogViewer.tsx +0 -368
- package/src/components/ProgramControl.tsx +0 -267
- package/src/components/ProgramStateIndicator.tsx +0 -195
- package/src/components/RobotCard.tsx +0 -495
- package/src/components/RobotListItem.tsx +0 -155
- package/src/components/RobotSetupReadinessIndicator.test.tsx +0 -60
- package/src/components/RobotSetupReadinessIndicator.tsx +0 -161
- package/src/components/SelectableFab.tsx +0 -52
- package/src/components/TabBar.tsx +0 -325
- package/src/components/ThemeSelect.tsx +0 -51
- package/src/components/Timer/Timer.ts +0 -4
- package/src/components/Timer/TimerDefaultVariant.tsx +0 -143
- package/src/components/Timer/TimerSmallVariant.tsx +0 -141
- package/src/components/Timer/index.tsx +0 -103
- package/src/components/Timer/types.ts +0 -38
- package/src/components/Timer/useTimerAnimations.ts +0 -94
- package/src/components/Timer/useTimerLogic.ts +0 -214
- package/src/components/Timer/utils.ts +0 -87
- package/src/components/Timer.ts +0 -4
- package/src/components/TransparentOverlay.tsx +0 -28
- package/src/components/VelocitySlider.tsx +0 -117
- package/src/components/experimental/utils/AdornedSelect.tsx +0 -38
- package/src/components/jogging/JoggingBlocked.tsx +0 -43
- package/src/components/jogging/JoggingCartesianAxisControl.tsx +0 -237
- package/src/components/jogging/JoggingCartesianTab.tsx +0 -349
- package/src/components/jogging/JoggingFreedriveTab.tsx +0 -8
- package/src/components/jogging/JoggingJointLimitDetector.tsx +0 -57
- package/src/components/jogging/JoggingJointTab.tsx +0 -126
- package/src/components/jogging/JoggingJointValueControl.tsx +0 -293
- package/src/components/jogging/JoggingOptions.tsx +0 -163
- package/src/components/jogging/JoggingPanel.test.tsx +0 -645
- package/src/components/jogging/JoggingPanel.tsx +0 -204
- package/src/components/jogging/JoggingStore.ts +0 -485
- package/src/components/jogging/JoggingToggleButtonGroup.tsx +0 -25
- package/src/components/jogging/JoggingVelocitySlider.tsx +0 -39
- package/src/components/jogging/PoseCartesianValues.tsx +0 -55
- package/src/components/jogging/PoseJointValues.tsx +0 -54
- package/src/components/jogging/__fixtures__/motionStreamMockData.ts +0 -136
- package/src/components/modal/NoMotionGroupModal.tsx +0 -91
- package/src/components/robots/AxisConfig.ts +0 -3
- package/src/components/robots/DHLinearAxis.tsx +0 -147
- package/src/components/robots/DHRobot.tsx +0 -152
- package/src/components/robots/GenericRobot.tsx +0 -137
- package/src/components/robots/LinearAxis.tsx +0 -74
- package/src/components/robots/LinearAxisAnimator.tsx +0 -118
- package/src/components/robots/MotionGroupVisualizer.tsx +0 -73
- package/src/components/robots/Robot.tsx +0 -57
- package/src/components/robots/RobotAnimator.test.tsx +0 -98
- package/src/components/robots/RobotAnimator.tsx +0 -116
- package/src/components/robots/SupportedLinearAxis.tsx +0 -110
- package/src/components/robots/SupportedRobot.tsx +0 -111
- package/src/components/robots/ghostStyle.ts +0 -71
- package/src/components/robots/manufacturerHomePositions.ts +0 -76
- package/src/components/robots/robotModelLogic.ts +0 -158
- package/src/components/safetyBar/ControllerTypeIndicator.tsx +0 -79
- package/src/components/safetyBar/IndicatorWithExplanation.tsx +0 -137
- package/src/components/safetyBar/OperationModeIndicator.tsx +0 -98
- package/src/components/safetyBar/SafetyBar.tsx +0 -72
- package/src/components/safetyBar/SafetyStateIndicator.tsx +0 -163
- package/src/components/safetyBar/icons/controller-type-physical.svg +0 -1
- package/src/components/safetyBar/icons/controller-type-virtual.svg +0 -1
- package/src/components/safetyBar/icons/index.ts +0 -10
- package/src/components/safetyBar/icons/operation-mode-automatic.svg +0 -1
- package/src/components/safetyBar/icons/operation-mode-error.svg +0 -1
- package/src/components/safetyBar/icons/operation-mode-manual.svg +0 -1
- package/src/components/safetyBar/icons/safety-state-error.svg +0 -1
- package/src/components/safetyBar/icons/safety-state-estop.svg +0 -1
- package/src/components/safetyBar/icons/safety-state-manual-action-required.svg +0 -1
- package/src/components/safetyBar/icons/safety-state-normal.svg +0 -1
- package/src/components/safetyBar/icons/safety-state-stop.svg +0 -1
- package/src/components/utils/converters.ts +0 -90
- package/src/components/utils/errorHandling.test.ts +0 -41
- package/src/components/utils/errorHandling.ts +0 -38
- package/src/components/utils/hooks.tsx +0 -55
- package/src/components/utils/interpolation.test.ts +0 -1138
- package/src/components/utils/interpolation.ts +0 -380
- package/src/core.ts +0 -33
- package/src/declarations.d.ts +0 -10
- package/src/env.d.ts +0 -3
- package/src/externalizeComponent.tsx +0 -28
- package/src/i18n/config.ts +0 -26
- package/src/i18n/locales/de/translations.json +0 -89
- package/src/i18n/locales/en/translations.json +0 -90
- package/src/icons/DropdownArrowIcon.tsx +0 -12
- package/src/icons/axis-x.svg +0 -1
- package/src/icons/axis-y.svg +0 -1
- package/src/icons/axis-z.svg +0 -1
- package/src/icons/home.svg +0 -1
- package/src/icons/index.ts +0 -12
- package/src/icons/jog-minus.svg +0 -5
- package/src/icons/jog-plus.svg +0 -9
- package/src/icons/jogging.svg +0 -1
- package/src/icons/orientation-coord-system.svg +0 -1
- package/src/icons/orientation-tool.svg +0 -1
- package/src/icons/robot.svg +0 -1
- package/src/icons/rotation.svg +0 -3
- package/src/icons/wbLogo.svg +0 -1
- package/src/index.ts +0 -4
- package/src/lib/ConnectedMotionGroup.ts +0 -441
- package/src/lib/JoggerConnection.test.ts +0 -122
- package/src/lib/JoggerConnection.ts +0 -694
- package/src/lib/MotionStreamConnection.test.ts +0 -23
- package/src/lib/MotionStreamConnection.ts +0 -186
- package/src/lib/motionStateUpdate.test.ts +0 -28
- package/src/lib/motionStateUpdate.ts +0 -117
- package/src/test/consumer.test.ts +0 -230
- package/src/test/setup.ts +0 -111
- package/src/themes/createDarkTheme.ts +0 -343
- package/src/themes/createLightTheme.ts +0 -8
- package/src/themes/themeTypes.ts +0 -96
- package/src/themes/theming.ts +0 -29
- package/src/wb-icons.ts +0 -3
package/dist/3d.cjs
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
2
|
-
//# sourceMappingURL=3d.cjs.map
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./components/3d-viewport/collider/CollisionSceneRenderer.cjs"),r=require("./components/3d-viewport/PresetEnvironment.cjs"),t=require("./components/3d-viewport/SafetyZonesRenderer.cjs"),n=require("./components/3d-viewport/TrajectoryRenderer.cjs"),i=require("./components/RobotCard.cjs"),s=require("./components/robots/AxisConfig.cjs"),u=require("./components/robots/LinearAxis.cjs"),e=require("./components/robots/manufacturerHomePositions.cjs"),c=require("./components/robots/Robot.cjs"),a=require("./components/robots/robotModelLogic.cjs"),p=require("./components/robots/SupportedLinearAxis.cjs"),d=require("./components/robots/SupportedRobot.cjs"),_=require("./components/robots/MotionGroupVisualizer.cjs");exports.CollisionSceneRenderer=o.default;exports.PresetEnvironment=r.PresetEnvironment;exports.SafetyZonesRenderer=t.SafetyZonesRenderer;exports.TrajectoryRenderer=n.TrajectoryRenderer;exports.RobotCard=i.RobotCard;exports.defaultAxisConfig=s.defaultAxisConfig;exports.LinearAxis=u.LinearAxis;exports.MANUFACTURER_HOME_CONFIGS=e.MANUFACTURER_HOME_CONFIGS;exports.extractManufacturer=e.extractManufacturer;exports.getDefaultHomeConfig=e.getDefaultHomeConfig;exports.Robot=c.Robot;exports.defaultGetModel=a.defaultGetModel;exports.SupportedLinearAxis=p.SupportedLinearAxis;exports.SupportedRobot=d.SupportedRobot;exports.MotionGroupVisualizer=_.MotionGroupVisualizer;
|
package/dist/3d.d.ts
CHANGED
|
@@ -11,4 +11,3 @@ export { defaultGetModel } from "./components/robots/robotModelLogic";
|
|
|
11
11
|
export * from "./components/robots/SupportedLinearAxis";
|
|
12
12
|
export * from "./components/robots/SupportedRobot";
|
|
13
13
|
export * from "./components/robots/MotionGroupVisualizer";
|
|
14
|
-
//# sourceMappingURL=3d.d.ts.map
|
package/dist/3d.js
CHANGED
package/dist/Setup.d.ts
CHANGED
|
@@ -0,0 +1,586 @@
|
|
|
1
|
+
import { jsx as m, jsxs as v } from "react/jsx-runtime";
|
|
2
|
+
import W from "@mui/icons-material/OpenWith";
|
|
3
|
+
import B from "@mui/icons-material/Share";
|
|
4
|
+
import E from "@mui/material/Stack";
|
|
5
|
+
import Y from "@mui/material/Tab";
|
|
6
|
+
import Z from "@mui/material/Tabs";
|
|
7
|
+
import { JointTypeEnum as J, NovaClient as H } from "@wandelbots/nova-js/v2";
|
|
8
|
+
import { isString as X } from "lodash-es";
|
|
9
|
+
import { runInAction as _, makeAutoObservable as K, when as k } from "mobx";
|
|
10
|
+
import { observer as N, useLocalObservable as Q } from "mobx-react-lite";
|
|
11
|
+
import { useEffect as O } from "react";
|
|
12
|
+
import { useTranslation as tt } from "react-i18next";
|
|
13
|
+
import { e as ot } from "./externalizeComponent-eiCc5DIh.js";
|
|
14
|
+
import { tryParseJson as S, XYZ_TO_VECTOR as w } from "@wandelbots/nova-js";
|
|
15
|
+
import { Vector3 as I } from "three/src/math/Vector3.js";
|
|
16
|
+
import { Vector3 as D } from "three";
|
|
17
|
+
import { LoadingCover as it } from "../components/LoadingCover.js";
|
|
18
|
+
import { JoggingBlocked as et } from "../components/jogging/JoggingBlocked.js";
|
|
19
|
+
import { JoggingCartesianTab as nt } from "../components/jogging/JoggingCartesianTab.js";
|
|
20
|
+
import { JoggingJointTab as rt } from "../components/jogging/JoggingJointTab.js";
|
|
21
|
+
import { JoggingStore as st } from "../components/jogging/JoggingStore.js";
|
|
22
|
+
function at(i, t, o) {
|
|
23
|
+
if (t.length !== i.length)
|
|
24
|
+
return !0;
|
|
25
|
+
for (let n = 0; n < t.length; n++)
|
|
26
|
+
if (
|
|
27
|
+
// biome-ignore lint/style/noNonNullAssertion: legacy code
|
|
28
|
+
Math.abs(t[n] - i[n]) > o
|
|
29
|
+
)
|
|
30
|
+
return !1;
|
|
31
|
+
return !0;
|
|
32
|
+
}
|
|
33
|
+
function gt(i, t, o) {
|
|
34
|
+
if (i === void 0 && t || i && t === void 0 || (i == null ? void 0 : i.orientation) === void 0 || (t == null ? void 0 : t.orientation) === void 0 || (i == null ? void 0 : i.position) === void 0 || (t == null ? void 0 : t.position) === void 0)
|
|
35
|
+
return !1;
|
|
36
|
+
if (i === void 0 || t === void 0)
|
|
37
|
+
return !0;
|
|
38
|
+
let n = 0;
|
|
39
|
+
return n += Math.abs(i.orientation[0] - t.orientation[0]), n += Math.abs(i.orientation[1] - t.orientation[1]), n += Math.abs(i.orientation[2] - t.orientation[2]), n += Math.abs(i.position[0] - t.position[0]), n += Math.abs(i.position[1] - t.position[1]), n += Math.abs(i.position[2] - t.position[2]), n <= o;
|
|
40
|
+
}
|
|
41
|
+
function ct(i, t, o) {
|
|
42
|
+
return i.coordinate_system === t.coordinate_system && i.tcp === t.tcp && gt(
|
|
43
|
+
i.tcp_pose,
|
|
44
|
+
t.tcp_pose,
|
|
45
|
+
o
|
|
46
|
+
);
|
|
47
|
+
}
|
|
48
|
+
function lt(i, t) {
|
|
49
|
+
const o = new D(
|
|
50
|
+
t[0],
|
|
51
|
+
t[1],
|
|
52
|
+
t[2]
|
|
53
|
+
), n = new D(
|
|
54
|
+
i[0],
|
|
55
|
+
i[1],
|
|
56
|
+
i[2]
|
|
57
|
+
), e = o.length(), r = o.normalize();
|
|
58
|
+
let g = n.length(), l = n.normalize();
|
|
59
|
+
l.dot(r) < 0 && (g = -g, l = l.multiplyScalar(-1));
|
|
60
|
+
let a = g - e;
|
|
61
|
+
return a -= 2 * Math.PI * Math.floor((a + Math.PI) / (2 * Math.PI)), g = e + a, [...l.multiplyScalar(g)];
|
|
62
|
+
}
|
|
63
|
+
const T = 1e-4;
|
|
64
|
+
class M {
|
|
65
|
+
constructor(t, o, n, e, r, g) {
|
|
66
|
+
this.nova = t, this.controller = o, this.motionGroup = n, this.description = e, this.initialMotionState = r, this.motionStateSocket = g, this.rapidlyChangingMotionState = r, g.addEventListener("message", (l) => {
|
|
67
|
+
var h;
|
|
68
|
+
const a = (h = S(l.data)) == null ? void 0 : h.result;
|
|
69
|
+
if (!a)
|
|
70
|
+
throw new Error(
|
|
71
|
+
`Failed to get motion state for ${this.motionGroupId}: ${l.data}`
|
|
72
|
+
);
|
|
73
|
+
at(
|
|
74
|
+
this.rapidlyChangingMotionState.joint_position,
|
|
75
|
+
a.joint_position,
|
|
76
|
+
T
|
|
77
|
+
) || _(() => {
|
|
78
|
+
this.rapidlyChangingMotionState.joint_position = a.joint_position;
|
|
79
|
+
}), ct(
|
|
80
|
+
this.rapidlyChangingMotionState,
|
|
81
|
+
a,
|
|
82
|
+
T
|
|
83
|
+
) || _(() => {
|
|
84
|
+
var u, d, p;
|
|
85
|
+
this.rapidlyChangingMotionState.tcp_pose == null ? this.rapidlyChangingMotionState.tcp_pose = a.tcp_pose : (u = a.tcp_pose) != null && u.orientation && ((d = a.tcp_pose) != null && d.position) && ((p = this.rapidlyChangingMotionState.tcp_pose) != null && p.orientation) ? this.rapidlyChangingMotionState.tcp_pose = {
|
|
86
|
+
position: a.tcp_pose.position,
|
|
87
|
+
orientation: lt(
|
|
88
|
+
a.tcp_pose.orientation,
|
|
89
|
+
this.rapidlyChangingMotionState.tcp_pose.orientation
|
|
90
|
+
)
|
|
91
|
+
} : console.warn(
|
|
92
|
+
"Received incomplete tcp_pose, ignoring",
|
|
93
|
+
a.tcp_pose
|
|
94
|
+
);
|
|
95
|
+
}), this.rapidlyChangingMotionState.standstill !== a.standstill && _(() => {
|
|
96
|
+
this.rapidlyChangingMotionState.standstill = a.standstill;
|
|
97
|
+
});
|
|
98
|
+
}), K(this);
|
|
99
|
+
}
|
|
100
|
+
static async open(t, o) {
|
|
101
|
+
var d;
|
|
102
|
+
const [n, e] = o.split("@"), r = await t.api.controller.getCurrentRobotControllerState(e), g = r == null ? void 0 : r.motion_groups.find(
|
|
103
|
+
(p) => p.motion_group === o
|
|
104
|
+
);
|
|
105
|
+
if (!r || !g)
|
|
106
|
+
throw new Error(
|
|
107
|
+
`Controller ${e} or motion group ${o} not found`
|
|
108
|
+
);
|
|
109
|
+
const l = t.openReconnectingWebsocket(
|
|
110
|
+
`/controllers/${e}/motion-groups/${o}/state-stream`
|
|
111
|
+
), a = await l.firstMessage(), h = (d = S(a.data)) == null ? void 0 : d.result;
|
|
112
|
+
if (!h)
|
|
113
|
+
throw new Error(
|
|
114
|
+
`Unable to parse initial motion state message ${a.data}`
|
|
115
|
+
);
|
|
116
|
+
console.log(
|
|
117
|
+
`Connected motion state websocket to motion group ${g.motion_group}. Initial state:
|
|
118
|
+
`,
|
|
119
|
+
h
|
|
120
|
+
);
|
|
121
|
+
const u = await t.api.motionGroup.getMotionGroupDescription(
|
|
122
|
+
e,
|
|
123
|
+
g.motion_group
|
|
124
|
+
);
|
|
125
|
+
return new M(
|
|
126
|
+
t,
|
|
127
|
+
r,
|
|
128
|
+
g,
|
|
129
|
+
u,
|
|
130
|
+
h,
|
|
131
|
+
l
|
|
132
|
+
);
|
|
133
|
+
}
|
|
134
|
+
get motionGroupId() {
|
|
135
|
+
return this.motionGroup.motion_group;
|
|
136
|
+
}
|
|
137
|
+
get controllerId() {
|
|
138
|
+
return this.controller.controller;
|
|
139
|
+
}
|
|
140
|
+
get joints() {
|
|
141
|
+
return this.initialMotionState.joint_position.map((t, o) => ({
|
|
142
|
+
index: o
|
|
143
|
+
}));
|
|
144
|
+
}
|
|
145
|
+
dispose() {
|
|
146
|
+
this.motionStateSocket.close();
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
const x = "Movement request rejected. Another client is currently executing a 'Jogging' motion!";
|
|
150
|
+
class b {
|
|
151
|
+
constructor(t, o = {}) {
|
|
152
|
+
this.motionStream = t, this.options = o, this.ENDPOINT_JOGGING = "/execution/jogging", this.ENDPOINT_TRAJECTORY = "/execution/trajectory", this.DEFAULT_MODE = "off", this.DEFAULT_TCP = "Flange", this.NO_TCP = void 0, this.DEFAULT_INIT_TIMEOUT = 5e3, this.DEFAULT_ORIENTATION = "coordsys", this.mode = "off", this.joggingSocket = null, this.trajectorySocket = null, this.timeout = this.DEFAULT_INIT_TIMEOUT, this.tcp = (o == null ? void 0 : o.tcp) || t.motionGroup.tcp || this.getDefaultTcp(t), this.orientation = (o == null ? void 0 : o.orientation) || this.DEFAULT_ORIENTATION, this.timeout = (o == null ? void 0 : o.timeout) || this.DEFAULT_INIT_TIMEOUT, this.mode = (o == null ? void 0 : o.mode) || this.DEFAULT_MODE, this.onError = o == null ? void 0 : o.onError;
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* Initialize the jogging connection using jogging endpoint or trajectory endpoint depending on the selected mode.
|
|
156
|
+
*
|
|
157
|
+
* @param nova - The Nova client instance
|
|
158
|
+
* @param motionGroupId - The ID of the motion group to connect to
|
|
159
|
+
* @param options - Configuration options for the jogger connection
|
|
160
|
+
* @param options.mode - The jogging mode to initialize:
|
|
161
|
+
* - "jogging": Continuous jogging mode with persistent websocket for real-time velocity commands
|
|
162
|
+
* - "trajectory": Incremental jogging mode for fixed-distance motions via trajectory planning
|
|
163
|
+
* - "off": No jogging enabled, all websockets closed (default)
|
|
164
|
+
* @param options.timeout - Timeout in milliseconds for websocket initialization (default: 5000ms)
|
|
165
|
+
* @param options.tcp - TCP frame to use for motions (default: from motion group)
|
|
166
|
+
* //param options.coordinateSystem - Coordinate system for jogging commands (default: "world"). Please note: Currently not implemented
|
|
167
|
+
* @param options.orientation - If set to "tool", jogging TcpVelocityRequest will use `use_tool_coordinate_system` option (default: "coordsys")
|
|
168
|
+
* @param options.onError - Error handler for websocket errors
|
|
169
|
+
* @returns Promise resolving to initialized JoggerConnection instance
|
|
170
|
+
*/
|
|
171
|
+
static async open(t, o, n = {}) {
|
|
172
|
+
const e = await M.open(t, o), r = new b(e, n);
|
|
173
|
+
return await r.setJoggingMode(r.mode), r;
|
|
174
|
+
}
|
|
175
|
+
getDefaultTcp(t) {
|
|
176
|
+
var n, e;
|
|
177
|
+
const o = (e = (n = t.description.dh_parameters) == null ? void 0 : n[0]) == null ? void 0 : e.type;
|
|
178
|
+
return t.joints.length < 6 && (o === J.RevoluteJoint || o === J.PrismaticJoint) ? this.NO_TCP : this.DEFAULT_TCP;
|
|
179
|
+
}
|
|
180
|
+
// Set a new tcp or other options. If current mode is jogging, will reinitialize the jogging websocket
|
|
181
|
+
async setOptions(t) {
|
|
182
|
+
t.tcp && (this.tcp = t.tcp), t.orientation && (this.orientation = t.orientation), t.timeout && (this.timeout = t.timeout), t.mode && (this.mode = t.mode), t.onError && (this.onError = t.onError), this.setJoggingMode(this.mode, !1);
|
|
183
|
+
}
|
|
184
|
+
get motionGroupId() {
|
|
185
|
+
return this.motionStream.motionGroupId;
|
|
186
|
+
}
|
|
187
|
+
get nova() {
|
|
188
|
+
return this.motionStream.nova;
|
|
189
|
+
}
|
|
190
|
+
get numJoints() {
|
|
191
|
+
return this.motionStream.joints.length;
|
|
192
|
+
}
|
|
193
|
+
// get activeJoggingMode() {
|
|
194
|
+
// return this.mode
|
|
195
|
+
// }
|
|
196
|
+
// get activeWebsocket() {
|
|
197
|
+
// return this.mode === "jogging" ? this.joggingSocket : this.trajectorySocket;
|
|
198
|
+
// }
|
|
199
|
+
// Sends stop movement command to robot
|
|
200
|
+
async stop() {
|
|
201
|
+
if (this.joggingSocket) {
|
|
202
|
+
const t = new Array(this.numJoints).fill(0);
|
|
203
|
+
this.joggingSocket.sendJson({
|
|
204
|
+
message_type: "JointVelocityRequest",
|
|
205
|
+
velocity: t
|
|
206
|
+
});
|
|
207
|
+
}
|
|
208
|
+
this.trajectorySocket && this.trajectorySocket.sendJson({
|
|
209
|
+
message_type: "PauseMovementRequest"
|
|
210
|
+
});
|
|
211
|
+
}
|
|
212
|
+
// Dispose the jogger, closing all open websockets
|
|
213
|
+
async dispose() {
|
|
214
|
+
const t = [this.joggingSocket, this.trajectorySocket].filter(
|
|
215
|
+
(o) => o !== null
|
|
216
|
+
);
|
|
217
|
+
return t.forEach((o) => {
|
|
218
|
+
o.dispose();
|
|
219
|
+
}), this.joggingSocket = null, this.trajectorySocket = null, Promise.all(t.map((o) => o.closed()));
|
|
220
|
+
}
|
|
221
|
+
// Activate jogger in one of the supported modes
|
|
222
|
+
// Will iniitialize or close websockets as necessary
|
|
223
|
+
// If mode is unchanged, does nothing (unless skipReinitializeIfSameMode is false)
|
|
224
|
+
async setJoggingMode(t, o = !0) {
|
|
225
|
+
if (!(this.mode === t && o) && (this.dispose(), this.mode = t, this.mode === "jogging"))
|
|
226
|
+
return this.initializeJoggingWebsocket();
|
|
227
|
+
}
|
|
228
|
+
// Initializes continuous jogging websocket, called by setJoggingMode("jogging")
|
|
229
|
+
async initializeJoggingWebsocket() {
|
|
230
|
+
return new Promise((t, o) => {
|
|
231
|
+
const n = setTimeout(() => {
|
|
232
|
+
o(
|
|
233
|
+
new Error(
|
|
234
|
+
`Jogging initialization timeout after ${this.timeout} seconds`
|
|
235
|
+
)
|
|
236
|
+
);
|
|
237
|
+
}, this.timeout);
|
|
238
|
+
this.joggingSocket = this.nova.openReconnectingWebsocket(
|
|
239
|
+
this.ENDPOINT_JOGGING
|
|
240
|
+
), this.joggingSocket.addEventListener("message", (e) => {
|
|
241
|
+
var g, l, a, h;
|
|
242
|
+
const r = S(e.data);
|
|
243
|
+
if (((g = r == null ? void 0 : r.result) == null ? void 0 : g.kind) === "INITIALIZE_RECEIVED") {
|
|
244
|
+
clearTimeout(n), t();
|
|
245
|
+
return;
|
|
246
|
+
}
|
|
247
|
+
if (((l = r == null ? void 0 : r.result) == null ? void 0 : l.kind) === "MOTION_ERROR")
|
|
248
|
+
if (clearTimeout(n), this.onBlocked && ((a = r == null ? void 0 : r.result) != null && a.message.includes(x))) {
|
|
249
|
+
(h = this.joggingSocket) == null || h.dispose(), this.onBlocked();
|
|
250
|
+
return;
|
|
251
|
+
} else this.onError ? this.onError(e.data) : o(new Error(e.data));
|
|
252
|
+
}), this.joggingSocket.sendJson({
|
|
253
|
+
message_type: "InitializeJoggingRequest",
|
|
254
|
+
motion_group: this.motionGroupId,
|
|
255
|
+
...this.tcp ? { tcp: this.tcp } : {}
|
|
256
|
+
});
|
|
257
|
+
});
|
|
258
|
+
}
|
|
259
|
+
/**
|
|
260
|
+
* Jogging: Start rotation of a single robot joint at the specified velocity
|
|
261
|
+
*/
|
|
262
|
+
async rotateJoints({
|
|
263
|
+
joint: t,
|
|
264
|
+
direction: o,
|
|
265
|
+
velocityValue: n,
|
|
266
|
+
velocityUnit: e
|
|
267
|
+
}) {
|
|
268
|
+
if (!this.joggingSocket || this.mode !== "jogging")
|
|
269
|
+
throw new Error(
|
|
270
|
+
"Joint jogging websocket not connected; create one by setting jogging mode to 'jogging'"
|
|
271
|
+
);
|
|
272
|
+
const r = new Array(this.numJoints).fill(0);
|
|
273
|
+
r[t] = o === "-" ? -n : n, this.joggingSocket.sendJson({
|
|
274
|
+
message_type: "JointVelocityRequest",
|
|
275
|
+
velocity: r
|
|
276
|
+
});
|
|
277
|
+
}
|
|
278
|
+
/**
|
|
279
|
+
* Jogging: Start the TCP moving along a specified axis at a given velocity
|
|
280
|
+
*/
|
|
281
|
+
async translateTCP({
|
|
282
|
+
axis: t,
|
|
283
|
+
direction: o,
|
|
284
|
+
velocityMmPerSec: n
|
|
285
|
+
}) {
|
|
286
|
+
if (!this.joggingSocket || this.mode !== "jogging")
|
|
287
|
+
throw new Error(
|
|
288
|
+
"Continuous jogging websocket not connected; create one by setting jogging mode to 'jogging'"
|
|
289
|
+
);
|
|
290
|
+
const e = [0, 0, 0], r = [0, 0, 0];
|
|
291
|
+
r[w[t]] = o === "-" ? -n : n, this.joggingSocket.sendJson({
|
|
292
|
+
message_type: "TcpVelocityRequest",
|
|
293
|
+
translation: r,
|
|
294
|
+
rotation: e,
|
|
295
|
+
use_tool_coordinate_system: this.orientation === "tool"
|
|
296
|
+
});
|
|
297
|
+
}
|
|
298
|
+
/**
|
|
299
|
+
* Jogging: Start the TCP rotating around a specified axis at a given velocity
|
|
300
|
+
*/
|
|
301
|
+
async rotateTCP({
|
|
302
|
+
axis: t,
|
|
303
|
+
direction: o,
|
|
304
|
+
velocityRadsPerSec: n
|
|
305
|
+
}) {
|
|
306
|
+
if (!this.joggingSocket || this.mode !== "jogging")
|
|
307
|
+
throw new Error(
|
|
308
|
+
"Continuous jogging websocket not connected; create one by setting jogging mode to 'jogging'"
|
|
309
|
+
);
|
|
310
|
+
const e = [0, 0, 0], r = [0, 0, 0];
|
|
311
|
+
e[w[t]] = o === "-" ? -n : n, this.joggingSocket.sendJson({
|
|
312
|
+
message_type: "TcpVelocityRequest",
|
|
313
|
+
translation: r,
|
|
314
|
+
rotation: e
|
|
315
|
+
});
|
|
316
|
+
}
|
|
317
|
+
/**
|
|
318
|
+
* Trajectory jogging:
|
|
319
|
+
*
|
|
320
|
+
* Move the robot by a fixed distance in a single cartesian
|
|
321
|
+
* axis, either rotating or translating relative to the TCP.
|
|
322
|
+
* Promise resolves only after the motion has completed.
|
|
323
|
+
*/
|
|
324
|
+
async runIncrementalCartesianMotion({
|
|
325
|
+
currentTcpPose: t,
|
|
326
|
+
currentJoints: o,
|
|
327
|
+
// coordSystemId,
|
|
328
|
+
velocityInRelevantUnits: n,
|
|
329
|
+
axis: e,
|
|
330
|
+
direction: r,
|
|
331
|
+
motion: g
|
|
332
|
+
}) {
|
|
333
|
+
const l = [];
|
|
334
|
+
if (this.mode !== "trajectory")
|
|
335
|
+
throw new Error(
|
|
336
|
+
"Set jogging mode to 'trajectory' to run incremental cartesian motions"
|
|
337
|
+
);
|
|
338
|
+
if (g.type === "translate") {
|
|
339
|
+
if (!t.position)
|
|
340
|
+
throw new Error(
|
|
341
|
+
"Current pose has no position, cannot perform translation"
|
|
342
|
+
);
|
|
343
|
+
const s = [...t.position];
|
|
344
|
+
s[w[e]] += g.distanceMm * (r === "-" ? -1 : 1), l.push({
|
|
345
|
+
limits_override: {
|
|
346
|
+
tcp_velocity_limit: n
|
|
347
|
+
},
|
|
348
|
+
path: {
|
|
349
|
+
path_definition_name: "PathLine",
|
|
350
|
+
target_pose: {
|
|
351
|
+
position: s,
|
|
352
|
+
orientation: t.orientation
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
});
|
|
356
|
+
} else if (g.type === "rotate") {
|
|
357
|
+
if (!t.orientation)
|
|
358
|
+
throw new Error(
|
|
359
|
+
"Current pose has no orientation, cannot perform rotation"
|
|
360
|
+
);
|
|
361
|
+
const s = new I(
|
|
362
|
+
t.orientation[0],
|
|
363
|
+
t.orientation[1],
|
|
364
|
+
t.orientation[2]
|
|
365
|
+
), c = s.length(), y = s.clone().normalize(), f = g.distanceRads * (r === "-" ? -1 : 1), j = new I(0, 0, 0);
|
|
366
|
+
j[e] = 1;
|
|
367
|
+
const G = Math.cos(0.5 * f) * Math.cos(0.5 * c), C = Math.sin(0.5 * f) * Math.sin(0.5 * c), P = Math.sin(0.5 * f) * Math.cos(0.5 * c), $ = Math.cos(0.5 * f) * Math.sin(0.5 * c), U = j.dot(
|
|
368
|
+
y
|
|
369
|
+
), q = j.clone().cross(y), R = 2 * Math.acos(G - C * U), z = R / Math.sin(0.5 * R), V = new I().addScaledVector(q, C).addScaledVector(j, P).addScaledVector(y, $).multiplyScalar(z);
|
|
370
|
+
l.push({
|
|
371
|
+
limits_override: {
|
|
372
|
+
tcp_orientation_velocity_limit: n
|
|
373
|
+
},
|
|
374
|
+
path: {
|
|
375
|
+
path_definition_name: "PathLine",
|
|
376
|
+
target_pose: {
|
|
377
|
+
position: t.position,
|
|
378
|
+
orientation: [...V]
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
});
|
|
382
|
+
}
|
|
383
|
+
const a = this.motionStream.description;
|
|
384
|
+
if (a.cycle_time === void 0) {
|
|
385
|
+
console.warn(
|
|
386
|
+
"Current motion group has no cycle time, cannot plan jogging motion"
|
|
387
|
+
);
|
|
388
|
+
return;
|
|
389
|
+
}
|
|
390
|
+
const h = {
|
|
391
|
+
motion_group_model: a.motion_group_model,
|
|
392
|
+
cycle_time: a.cycle_time,
|
|
393
|
+
mounting: a.mounting,
|
|
394
|
+
// tcp_offset: description.tcp_offset, TODO: implement tcp_offset handling
|
|
395
|
+
// FIXME use proper mode's limits if set
|
|
396
|
+
global: a.operation_limits.auto_limits
|
|
397
|
+
}, u = await this.nova.api.trajectoryPlanning.planTrajectory(
|
|
398
|
+
{
|
|
399
|
+
motion_group_setup: h,
|
|
400
|
+
start_joint_position: o,
|
|
401
|
+
motion_commands: l
|
|
402
|
+
}
|
|
403
|
+
), d = u.response;
|
|
404
|
+
if (!d)
|
|
405
|
+
throw new Error(
|
|
406
|
+
`Failed to plan jogging increment motion ${JSON.stringify(u)}`
|
|
407
|
+
);
|
|
408
|
+
this.trajectorySocket && (console.warn("Trajectory jogging websocket already open; will close"), this.trajectorySocket.dispose()), this.trajectorySocket = this.nova.openReconnectingWebsocket(
|
|
409
|
+
this.ENDPOINT_TRAJECTORY
|
|
410
|
+
);
|
|
411
|
+
const p = (s) => {
|
|
412
|
+
var c;
|
|
413
|
+
if (!s || s.add_trajectory_error || s.message)
|
|
414
|
+
if (this.onError)
|
|
415
|
+
this.onError(s);
|
|
416
|
+
else
|
|
417
|
+
throw new Error(
|
|
418
|
+
((c = s == null ? void 0 : s.add_trajectory_error) == null ? void 0 : c.message) || (s == null ? void 0 : s.message) || "Failed to execute trajectory, unknown error"
|
|
419
|
+
);
|
|
420
|
+
if (!this.trajectorySocket)
|
|
421
|
+
throw new Error(
|
|
422
|
+
"Failed to execute trajectory, websocket not available anymore"
|
|
423
|
+
);
|
|
424
|
+
this.trajectorySocket.sendJson({
|
|
425
|
+
message_type: "StartMovementRequest",
|
|
426
|
+
direction: "DIRECTION_FORWARD"
|
|
427
|
+
});
|
|
428
|
+
}, A = async () => {
|
|
429
|
+
var s;
|
|
430
|
+
await k(() => !this.motionStream.rapidlyChangingMotionState.standstill), await k(() => this.motionStream.rapidlyChangingMotionState.standstill), (s = this.trajectorySocket) == null || s.dispose(), this.trajectorySocket = null;
|
|
431
|
+
}, F = async () => {
|
|
432
|
+
var s;
|
|
433
|
+
await k(() => this.motionStream.rapidlyChangingMotionState.standstill), (s = this.trajectorySocket) == null || s.dispose(), this.trajectorySocket = null;
|
|
434
|
+
}, L = async (s) => {
|
|
435
|
+
if (s != null && s.message)
|
|
436
|
+
if (this.onError) {
|
|
437
|
+
this.onError(s);
|
|
438
|
+
return;
|
|
439
|
+
} else
|
|
440
|
+
throw new Error(
|
|
441
|
+
s.message || "Failed to execute trajectory, unknown error"
|
|
442
|
+
);
|
|
443
|
+
this.motionStream.rapidlyChangingMotionState.standstill ? await A() : await F();
|
|
444
|
+
};
|
|
445
|
+
this.trajectorySocket.addEventListener("message", (s) => {
|
|
446
|
+
var y, f;
|
|
447
|
+
const c = S(s.data);
|
|
448
|
+
if (!((y = c == null ? void 0 : c.result) != null && y.kind))
|
|
449
|
+
throw new Error(
|
|
450
|
+
`Failed to execute trajectory: Received invalid message ${s.data}`
|
|
451
|
+
);
|
|
452
|
+
if (this.onBlocked && ((f = c.result.message) != null && f.includes(x))) {
|
|
453
|
+
this.onBlocked();
|
|
454
|
+
return;
|
|
455
|
+
}
|
|
456
|
+
if (c.result.kind === "INITIALIZE_RECEIVED")
|
|
457
|
+
p(c.result);
|
|
458
|
+
else if (c.result.kind === "START_RECEIVED")
|
|
459
|
+
L(c);
|
|
460
|
+
else if (c.result.kind !== "PAUSE_RECEIVED") if (c.result.kind === "MOTION_ERROR" && c.result.message)
|
|
461
|
+
if (this.onError) {
|
|
462
|
+
this.onError(c);
|
|
463
|
+
return;
|
|
464
|
+
} else
|
|
465
|
+
throw new Error(c.result.message);
|
|
466
|
+
else
|
|
467
|
+
throw new Error(
|
|
468
|
+
`Failed to execute trajectory, cannot handle message type "${c.result.kind}"`
|
|
469
|
+
);
|
|
470
|
+
}), this.trajectorySocket.sendJson({
|
|
471
|
+
message_type: "InitializeMovementRequest",
|
|
472
|
+
trajectory: {
|
|
473
|
+
message_type: "TrajectoryData",
|
|
474
|
+
motion_group: this.motionGroupId,
|
|
475
|
+
data: d,
|
|
476
|
+
tcp: this.tcp
|
|
477
|
+
}
|
|
478
|
+
});
|
|
479
|
+
}
|
|
480
|
+
}
|
|
481
|
+
const Tt = ot(
|
|
482
|
+
N((i) => {
|
|
483
|
+
const t = X(i.nova) ? new H({ instanceUrl: i.nova }) : i.nova, o = Q(() => ({
|
|
484
|
+
joggingStore: null,
|
|
485
|
+
loadingError: null
|
|
486
|
+
}));
|
|
487
|
+
async function n() {
|
|
488
|
+
_(() => {
|
|
489
|
+
o.loadingError = null, o.joggingStore = null;
|
|
490
|
+
});
|
|
491
|
+
try {
|
|
492
|
+
let e = i.store;
|
|
493
|
+
if (!e) {
|
|
494
|
+
const r = await b.open(t, i.motionGroupId);
|
|
495
|
+
e = await st.loadFor(r);
|
|
496
|
+
}
|
|
497
|
+
_(() => {
|
|
498
|
+
o.joggingStore = e;
|
|
499
|
+
}), i.onSetup && i.onSetup(e);
|
|
500
|
+
} catch (e) {
|
|
501
|
+
o.loadingError = e;
|
|
502
|
+
}
|
|
503
|
+
}
|
|
504
|
+
return O(() => (n(), i.store ? () => null : () => {
|
|
505
|
+
var e;
|
|
506
|
+
(e = o.joggingStore) == null || e.dispose();
|
|
507
|
+
}), [i.store, i.nova, i.motionGroupId]), O(() => {
|
|
508
|
+
const e = o.joggingStore;
|
|
509
|
+
e && (i.locked ? e.lock("external") : e.unlock("external"));
|
|
510
|
+
}, [o.joggingStore, i.locked]), /* @__PURE__ */ m(
|
|
511
|
+
E,
|
|
512
|
+
{
|
|
513
|
+
"data-testid": "jogging-panel",
|
|
514
|
+
"aria-label": "jogging-panel",
|
|
515
|
+
sx: {
|
|
516
|
+
maxWidth: "460px",
|
|
517
|
+
minWidth: "320px",
|
|
518
|
+
position: "relative",
|
|
519
|
+
...i.sx
|
|
520
|
+
},
|
|
521
|
+
children: o.joggingStore ? /* @__PURE__ */ m(ht, { store: o.joggingStore, children: i.children }) : /* @__PURE__ */ m(it, { message: "Loading jogging", error: o.loadingError })
|
|
522
|
+
}
|
|
523
|
+
);
|
|
524
|
+
})
|
|
525
|
+
), ht = N(
|
|
526
|
+
({
|
|
527
|
+
store: i,
|
|
528
|
+
children: t
|
|
529
|
+
}) => {
|
|
530
|
+
const { t: o } = tt();
|
|
531
|
+
function n() {
|
|
532
|
+
if (i.currentTab.id === "cartesian")
|
|
533
|
+
return /* @__PURE__ */ m(nt, { store: i, children: t });
|
|
534
|
+
if (i.currentTab.id === "joint")
|
|
535
|
+
return /* @__PURE__ */ m(rt, { store: i, children: t });
|
|
536
|
+
}
|
|
537
|
+
return /* @__PURE__ */ v(E, { flexGrow: 1, sx: { overflow: "hidden" }, children: [
|
|
538
|
+
/* @__PURE__ */ m(
|
|
539
|
+
Z,
|
|
540
|
+
{
|
|
541
|
+
"data-testid": "jogging-tabs",
|
|
542
|
+
"aria-label": "jogging-tabs",
|
|
543
|
+
value: i.tabIndex,
|
|
544
|
+
onChange: i.onTabChange,
|
|
545
|
+
variant: "fullWidth",
|
|
546
|
+
children: i.tabs.map((e) => {
|
|
547
|
+
const r = e.label === "Cartesian" ? o("Jogging.Cartesian.bt") : o("Jogging.Joints.bt"), g = e.label === "cartesian" ? /* @__PURE__ */ m(W, { fontSize: "small", sx: { mr: 1 } }) : /* @__PURE__ */ m(B, { fontSize: "small", sx: { mr: 1 } });
|
|
548
|
+
return /* @__PURE__ */ m(
|
|
549
|
+
Y,
|
|
550
|
+
{
|
|
551
|
+
"data-testid": `jogging-tab-${e.id}`,
|
|
552
|
+
"aria-label": `jogging-tab-${e.id}`,
|
|
553
|
+
label: i.showTabIcons ? /* @__PURE__ */ v(E, { direction: "row", alignItems: "center", children: [
|
|
554
|
+
g,
|
|
555
|
+
r
|
|
556
|
+
] }) : r,
|
|
557
|
+
id: `jogging-tab-${e.id}`,
|
|
558
|
+
"aria-controls": `jogging-tab-${e.id}`
|
|
559
|
+
},
|
|
560
|
+
e.id
|
|
561
|
+
);
|
|
562
|
+
})
|
|
563
|
+
}
|
|
564
|
+
),
|
|
565
|
+
/* @__PURE__ */ m(
|
|
566
|
+
E,
|
|
567
|
+
{
|
|
568
|
+
flexGrow: 1,
|
|
569
|
+
position: "relative",
|
|
570
|
+
sx: { overflowY: "auto", overflowX: "hidden" },
|
|
571
|
+
children: n()
|
|
572
|
+
}
|
|
573
|
+
),
|
|
574
|
+
i.blocked && /* @__PURE__ */ m(et, { store: i })
|
|
575
|
+
] });
|
|
576
|
+
}
|
|
577
|
+
);
|
|
578
|
+
export {
|
|
579
|
+
Tt as J,
|
|
580
|
+
M,
|
|
581
|
+
b as a,
|
|
582
|
+
at as j,
|
|
583
|
+
gt as p,
|
|
584
|
+
ct as t,
|
|
585
|
+
lt as u
|
|
586
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";const h=require("react/jsx-runtime"),B=require("@mui/icons-material/OpenWith"),Y=require("@mui/icons-material/Share"),S=require("@mui/material/Stack"),Z=require("@mui/material/Tab"),X=require("@mui/material/Tabs"),M=require("@wandelbots/nova-js/v2"),H=require("lodash-es"),d=require("mobx"),C=require("mobx-react-lite"),J=require("react"),K=require("react-i18next"),Q=require("./externalizeComponent-DOwkaDcw.cjs"),f=require("@wandelbots/nova-js"),w=require("three/src/math/Vector3.js"),v=require("three"),tt=require("../components/LoadingCover.cjs"),ot=require("../components/jogging/JoggingBlocked.cjs"),et=require("../components/jogging/JoggingCartesianTab.cjs"),nt=require("../components/jogging/JoggingJointTab.cjs"),it=require("../components/jogging/JoggingStore.cjs");function T(e,t,o){if(t.length!==e.length)return!0;for(let i=0;i<t.length;i++)if(Math.abs(t[i]-e[i])>o)return!1;return!0}function q(e,t,o){if(e===void 0&&t||e&&t===void 0||(e==null?void 0:e.orientation)===void 0||(t==null?void 0:t.orientation)===void 0||(e==null?void 0:e.position)===void 0||(t==null?void 0:t.position)===void 0)return!1;if(e===void 0||t===void 0)return!0;let i=0;return i+=Math.abs(e.orientation[0]-t.orientation[0]),i+=Math.abs(e.orientation[1]-t.orientation[1]),i+=Math.abs(e.orientation[2]-t.orientation[2]),i+=Math.abs(e.position[0]-t.position[0]),i+=Math.abs(e.position[1]-t.position[1]),i+=Math.abs(e.position[2]-t.position[2]),i<=o}function D(e,t,o){return e.coordinate_system===t.coordinate_system&&e.tcp===t.tcp&&q(e.tcp_pose,t.tcp_pose,o)}function A(e,t){const o=new v.Vector3(t[0],t[1],t[2]),i=new v.Vector3(e[0],e[1],e[2]),n=o.length(),r=o.normalize();let g=i.length(),l=i.normalize();l.dot(r)<0&&(g=-g,l=l.multiplyScalar(-1));let a=g-n;return a-=2*Math.PI*Math.floor((a+Math.PI)/(2*Math.PI)),g=n+a,[...l.multiplyScalar(g)]}const x=1e-4;class k{constructor(t,o,i,n,r,g){this.nova=t,this.controller=o,this.motionGroup=i,this.description=n,this.initialMotionState=r,this.motionStateSocket=g,this.rapidlyChangingMotionState=r,g.addEventListener("message",l=>{var u;const a=(u=f.tryParseJson(l.data))==null?void 0:u.result;if(!a)throw new Error(`Failed to get motion state for ${this.motionGroupId}: ${l.data}`);T(this.rapidlyChangingMotionState.joint_position,a.joint_position,x)||d.runInAction(()=>{this.rapidlyChangingMotionState.joint_position=a.joint_position}),D(this.rapidlyChangingMotionState,a,x)||d.runInAction(()=>{var _,m,y;this.rapidlyChangingMotionState.tcp_pose==null?this.rapidlyChangingMotionState.tcp_pose=a.tcp_pose:(_=a.tcp_pose)!=null&&_.orientation&&((m=a.tcp_pose)!=null&&m.position)&&((y=this.rapidlyChangingMotionState.tcp_pose)!=null&&y.orientation)?this.rapidlyChangingMotionState.tcp_pose={position:a.tcp_pose.position,orientation:A(a.tcp_pose.orientation,this.rapidlyChangingMotionState.tcp_pose.orientation)}:console.warn("Received incomplete tcp_pose, ignoring",a.tcp_pose)}),this.rapidlyChangingMotionState.standstill!==a.standstill&&d.runInAction(()=>{this.rapidlyChangingMotionState.standstill=a.standstill})}),d.makeAutoObservable(this)}static async open(t,o){var m;const[i,n]=o.split("@"),r=await t.api.controller.getCurrentRobotControllerState(n),g=r==null?void 0:r.motion_groups.find(y=>y.motion_group===o);if(!r||!g)throw new Error(`Controller ${n} or motion group ${o} not found`);const l=t.openReconnectingWebsocket(`/controllers/${n}/motion-groups/${o}/state-stream`),a=await l.firstMessage(),u=(m=f.tryParseJson(a.data))==null?void 0:m.result;if(!u)throw new Error(`Unable to parse initial motion state message ${a.data}`);console.log(`Connected motion state websocket to motion group ${g.motion_group}. Initial state:
|
|
2
|
+
`,u);const _=await t.api.motionGroup.getMotionGroupDescription(n,g.motion_group);return new k(t,r,g,_,u,l)}get motionGroupId(){return this.motionGroup.motion_group}get controllerId(){return this.controller.controller}get joints(){return this.initialMotionState.joint_position.map((t,o)=>({index:o}))}dispose(){this.motionStateSocket.close()}}const O="Movement request rejected. Another client is currently executing a 'Jogging' motion!";class I{constructor(t,o={}){this.motionStream=t,this.options=o,this.ENDPOINT_JOGGING="/execution/jogging",this.ENDPOINT_TRAJECTORY="/execution/trajectory",this.DEFAULT_MODE="off",this.DEFAULT_TCP="Flange",this.NO_TCP=void 0,this.DEFAULT_INIT_TIMEOUT=5e3,this.DEFAULT_ORIENTATION="coordsys",this.mode="off",this.joggingSocket=null,this.trajectorySocket=null,this.timeout=this.DEFAULT_INIT_TIMEOUT,this.tcp=(o==null?void 0:o.tcp)||t.motionGroup.tcp||this.getDefaultTcp(t),this.orientation=(o==null?void 0:o.orientation)||this.DEFAULT_ORIENTATION,this.timeout=(o==null?void 0:o.timeout)||this.DEFAULT_INIT_TIMEOUT,this.mode=(o==null?void 0:o.mode)||this.DEFAULT_MODE,this.onError=o==null?void 0:o.onError}static async open(t,o,i={}){const n=await k.open(t,o),r=new I(n,i);return await r.setJoggingMode(r.mode),r}getDefaultTcp(t){var i,n;const o=(n=(i=t.description.dh_parameters)==null?void 0:i[0])==null?void 0:n.type;return t.joints.length<6&&(o===M.JointTypeEnum.RevoluteJoint||o===M.JointTypeEnum.PrismaticJoint)?this.NO_TCP:this.DEFAULT_TCP}async setOptions(t){t.tcp&&(this.tcp=t.tcp),t.orientation&&(this.orientation=t.orientation),t.timeout&&(this.timeout=t.timeout),t.mode&&(this.mode=t.mode),t.onError&&(this.onError=t.onError),this.setJoggingMode(this.mode,!1)}get motionGroupId(){return this.motionStream.motionGroupId}get nova(){return this.motionStream.nova}get numJoints(){return this.motionStream.joints.length}async stop(){if(this.joggingSocket){const t=new Array(this.numJoints).fill(0);this.joggingSocket.sendJson({message_type:"JointVelocityRequest",velocity:t})}this.trajectorySocket&&this.trajectorySocket.sendJson({message_type:"PauseMovementRequest"})}async dispose(){const t=[this.joggingSocket,this.trajectorySocket].filter(o=>o!==null);return t.forEach(o=>{o.dispose()}),this.joggingSocket=null,this.trajectorySocket=null,Promise.all(t.map(o=>o.closed()))}async setJoggingMode(t,o=!0){if(!(this.mode===t&&o)&&(this.dispose(),this.mode=t,this.mode==="jogging"))return this.initializeJoggingWebsocket()}async initializeJoggingWebsocket(){return new Promise((t,o)=>{const i=setTimeout(()=>{o(new Error(`Jogging initialization timeout after ${this.timeout} seconds`))},this.timeout);this.joggingSocket=this.nova.openReconnectingWebsocket(this.ENDPOINT_JOGGING),this.joggingSocket.addEventListener("message",n=>{var g,l,a,u;const r=f.tryParseJson(n.data);if(((g=r==null?void 0:r.result)==null?void 0:g.kind)==="INITIALIZE_RECEIVED"){clearTimeout(i),t();return}if(((l=r==null?void 0:r.result)==null?void 0:l.kind)==="MOTION_ERROR")if(clearTimeout(i),this.onBlocked&&((a=r==null?void 0:r.result)!=null&&a.message.includes(O))){(u=this.joggingSocket)==null||u.dispose(),this.onBlocked();return}else this.onError?this.onError(n.data):o(new Error(n.data))}),this.joggingSocket.sendJson({message_type:"InitializeJoggingRequest",motion_group:this.motionGroupId,...this.tcp?{tcp:this.tcp}:{}})})}async rotateJoints({joint:t,direction:o,velocityValue:i,velocityUnit:n}){if(!this.joggingSocket||this.mode!=="jogging")throw new Error("Joint jogging websocket not connected; create one by setting jogging mode to 'jogging'");const r=new Array(this.numJoints).fill(0);r[t]=o==="-"?-i:i,this.joggingSocket.sendJson({message_type:"JointVelocityRequest",velocity:r})}async translateTCP({axis:t,direction:o,velocityMmPerSec:i}){if(!this.joggingSocket||this.mode!=="jogging")throw new Error("Continuous jogging websocket not connected; create one by setting jogging mode to 'jogging'");const n=[0,0,0],r=[0,0,0];r[f.XYZ_TO_VECTOR[t]]=o==="-"?-i:i,this.joggingSocket.sendJson({message_type:"TcpVelocityRequest",translation:r,rotation:n,use_tool_coordinate_system:this.orientation==="tool"})}async rotateTCP({axis:t,direction:o,velocityRadsPerSec:i}){if(!this.joggingSocket||this.mode!=="jogging")throw new Error("Continuous jogging websocket not connected; create one by setting jogging mode to 'jogging'");const n=[0,0,0],r=[0,0,0];n[f.XYZ_TO_VECTOR[t]]=o==="-"?-i:i,this.joggingSocket.sendJson({message_type:"TcpVelocityRequest",translation:r,rotation:n})}async runIncrementalCartesianMotion({currentTcpPose:t,currentJoints:o,velocityInRelevantUnits:i,axis:n,direction:r,motion:g}){const l=[];if(this.mode!=="trajectory")throw new Error("Set jogging mode to 'trajectory' to run incremental cartesian motions");if(g.type==="translate"){if(!t.position)throw new Error("Current pose has no position, cannot perform translation");const s=[...t.position];s[f.XYZ_TO_VECTOR[n]]+=g.distanceMm*(r==="-"?-1:1),l.push({limits_override:{tcp_velocity_limit:i},path:{path_definition_name:"PathLine",target_pose:{position:s,orientation:t.orientation}}})}else if(g.type==="rotate"){if(!t.orientation)throw new Error("Current pose has no orientation, cannot perform rotation");const s=new w.Vector3(t.orientation[0],t.orientation[1],t.orientation[2]),c=s.length(),p=s.clone().normalize(),j=g.distanceRads*(r==="-"?-1:1),E=new w.Vector3(0,0,0);E[n]=1;const P=Math.cos(.5*j)*Math.cos(.5*c),R=Math.sin(.5*j)*Math.sin(.5*c),G=Math.sin(.5*j)*Math.cos(.5*c),V=Math.cos(.5*j)*Math.sin(.5*c),$=E.dot(p),U=E.clone().cross(p),b=2*Math.acos(P-R*$),z=b/Math.sin(.5*b),W=new w.Vector3().addScaledVector(U,R).addScaledVector(E,G).addScaledVector(p,V).multiplyScalar(z);l.push({limits_override:{tcp_orientation_velocity_limit:i},path:{path_definition_name:"PathLine",target_pose:{position:t.position,orientation:[...W]}}})}const a=this.motionStream.description;if(a.cycle_time===void 0){console.warn("Current motion group has no cycle time, cannot plan jogging motion");return}const u={motion_group_model:a.motion_group_model,cycle_time:a.cycle_time,mounting:a.mounting,global:a.operation_limits.auto_limits},_=await this.nova.api.trajectoryPlanning.planTrajectory({motion_group_setup:u,start_joint_position:o,motion_commands:l}),m=_.response;if(!m)throw new Error(`Failed to plan jogging increment motion ${JSON.stringify(_)}`);this.trajectorySocket&&(console.warn("Trajectory jogging websocket already open; will close"),this.trajectorySocket.dispose()),this.trajectorySocket=this.nova.openReconnectingWebsocket(this.ENDPOINT_TRAJECTORY);const y=s=>{var c;if(!s||s.add_trajectory_error||s.message)if(this.onError)this.onError(s);else throw new Error(((c=s==null?void 0:s.add_trajectory_error)==null?void 0:c.message)||(s==null?void 0:s.message)||"Failed to execute trajectory, unknown error");if(!this.trajectorySocket)throw new Error("Failed to execute trajectory, websocket not available anymore");this.trajectorySocket.sendJson({message_type:"StartMovementRequest",direction:"DIRECTION_FORWARD"})},N=async()=>{var s;await d.when(()=>!this.motionStream.rapidlyChangingMotionState.standstill),await d.when(()=>this.motionStream.rapidlyChangingMotionState.standstill),(s=this.trajectorySocket)==null||s.dispose(),this.trajectorySocket=null},F=async()=>{var s;await d.when(()=>this.motionStream.rapidlyChangingMotionState.standstill),(s=this.trajectorySocket)==null||s.dispose(),this.trajectorySocket=null},L=async s=>{if(s!=null&&s.message)if(this.onError){this.onError(s);return}else throw new Error(s.message||"Failed to execute trajectory, unknown error");this.motionStream.rapidlyChangingMotionState.standstill?await N():await F()};this.trajectorySocket.addEventListener("message",s=>{var p,j;const c=f.tryParseJson(s.data);if(!((p=c==null?void 0:c.result)!=null&&p.kind))throw new Error(`Failed to execute trajectory: Received invalid message ${s.data}`);if(this.onBlocked&&((j=c.result.message)!=null&&j.includes(O))){this.onBlocked();return}if(c.result.kind==="INITIALIZE_RECEIVED")y(c.result);else if(c.result.kind==="START_RECEIVED")L(c);else if(c.result.kind!=="PAUSE_RECEIVED")if(c.result.kind==="MOTION_ERROR"&&c.result.message)if(this.onError){this.onError(c);return}else throw new Error(c.result.message);else throw new Error(`Failed to execute trajectory, cannot handle message type "${c.result.kind}"`)}),this.trajectorySocket.sendJson({message_type:"InitializeMovementRequest",trajectory:{message_type:"TrajectoryData",motion_group:this.motionGroupId,data:m,tcp:this.tcp}})}}const rt=Q.externalizeComponent(C.observer(e=>{const t=H.isString(e.nova)?new M.NovaClient({instanceUrl:e.nova}):e.nova,o=C.useLocalObservable(()=>({joggingStore:null,loadingError:null}));async function i(){d.runInAction(()=>{o.loadingError=null,o.joggingStore=null});try{let n=e.store;if(!n){const r=await I.open(t,e.motionGroupId);n=await it.JoggingStore.loadFor(r)}d.runInAction(()=>{o.joggingStore=n}),e.onSetup&&e.onSetup(n)}catch(n){o.loadingError=n}}return J.useEffect(()=>(i(),e.store?()=>null:()=>{var n;(n=o.joggingStore)==null||n.dispose()}),[e.store,e.nova,e.motionGroupId]),J.useEffect(()=>{const n=o.joggingStore;n&&(e.locked?n.lock("external"):n.unlock("external"))},[o.joggingStore,e.locked]),h.jsx(S,{"data-testid":"jogging-panel","aria-label":"jogging-panel",sx:{maxWidth:"460px",minWidth:"320px",position:"relative",...e.sx},children:o.joggingStore?h.jsx(st,{store:o.joggingStore,children:e.children}):h.jsx(tt.LoadingCover,{message:"Loading jogging",error:o.loadingError})})})),st=C.observer(({store:e,children:t})=>{const{t:o}=K.useTranslation();function i(){if(e.currentTab.id==="cartesian")return h.jsx(et.JoggingCartesianTab,{store:e,children:t});if(e.currentTab.id==="joint")return h.jsx(nt.JoggingJointTab,{store:e,children:t})}return h.jsxs(S,{flexGrow:1,sx:{overflow:"hidden"},children:[h.jsx(X,{"data-testid":"jogging-tabs","aria-label":"jogging-tabs",value:e.tabIndex,onChange:e.onTabChange,variant:"fullWidth",children:e.tabs.map(n=>{const r=n.label==="Cartesian"?o("Jogging.Cartesian.bt"):o("Jogging.Joints.bt"),g=n.label==="cartesian"?h.jsx(B,{fontSize:"small",sx:{mr:1}}):h.jsx(Y,{fontSize:"small",sx:{mr:1}});return h.jsx(Z,{"data-testid":`jogging-tab-${n.id}`,"aria-label":`jogging-tab-${n.id}`,label:e.showTabIcons?h.jsxs(S,{direction:"row",alignItems:"center",children:[g,r]}):r,id:`jogging-tab-${n.id}`,"aria-controls":`jogging-tab-${n.id}`},n.id)})}),h.jsx(S,{flexGrow:1,position:"relative",sx:{overflowY:"auto",overflowX:"hidden"},children:i()}),e.blocked&&h.jsx(ot.JoggingBlocked,{store:e})]})});exports.JoggerConnection=I;exports.JoggingPanel=rt;exports.MotionStreamConnection=k;exports.jointValuesEqual=T;exports.poseEqual=q;exports.tcpMotionEqual=D;exports.unwrapRotationVector=A;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const c=require("react");function n(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const a in e)if(a!=="default"){const r=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(t,a,r.get?r:{enumerable:!0,get:()=>e[a]})}}return t.default=e,Object.freeze(t)}const l=n(c),o=({title:e,titleId:t,...a},r)=>l.createElement("svg",{width:24,height:24,xmlns:"http://www.w3.org/2000/svg",ref:r,"aria-labelledby":t,...a},e?l.createElement("title",{id:t},e):null,l.createElement("path",{d:"M5.248 21c-.334 0-.619-.116-.853-.35a1.153 1.153 0 0 1-.351-.848c0-.333.117-.616.351-.85.234-.233.519-.35.853-.35H7.24L4.558 9.87a2.881 2.881 0 0 1-1.126-1.042A2.77 2.77 0 0 1 3 7.317c0-.793.28-1.467.838-2.023a2.774 2.774 0 0 1 2.033-.834 2.71 2.71 0 0 1 1.728.585c.494.389.832.887 1.014 1.493h3.58V5.239c0-.22.076-.406.226-.555a.76.76 0 0 1 .558-.224c.136 0 .263.035.381.104.118.07.209.167.273.292v.14l1.835-1.702a.979.979 0 0 1 .52-.279.881.881 0 0 1 .58.091l4.01 1.85a.74.74 0 0 1 .36.364.537.537 0 0 1-.002.474.592.592 0 0 1-.366.323.657.657 0 0 1-.477-.039l-3.858-1.774L13.76 6.59v1.454l2.473 2.233 3.858-1.774a.648.648 0 0 1 .485-.03.571.571 0 0 1 .358.314.513.513 0 0 1 .01.482.79.79 0 0 1-.367.357l-4.011 1.882a.881.881 0 0 1-.58.09.979.979 0 0 1-.52-.278L13.63 9.638v.14a.92.92 0 0 1-.273.275.665.665 0 0 1-.381.12.76.76 0 0 1-.558-.224.752.752 0 0 1-.225-.555V8.096h-3.58a2.82 2.82 0 0 1-.215.54 2.552 2.552 0 0 1-.323.479l5.139 9.488h2.673c.335 0 .62.116.854.35.234.233.35.516.35.849 0 .332-.116.615-.35.849a1.167 1.167 0 0 1-.854.349H5.248Zm.623-12.385c.362 0 .67-.126.924-.378a1.25 1.25 0 0 0 .38-.92 1.25 1.25 0 0 0-.38-.92 1.261 1.261 0 0 0-.924-.379 1.26 1.26 0 0 0-.925.379 1.25 1.25 0 0 0-.38.92c0 .36.127.667.38.92.254.252.562.378.925.378Z"})),h=c.forwardRef(o),v=({title:e,titleId:t,...a},r)=>l.createElement("svg",{width:24,height:24,xmlns:"http://www.w3.org/2000/svg",ref:r,"aria-labelledby":t,...a},e?l.createElement("title",{id:t},e):null,l.createElement("path",{d:"m13.37 9.12 1.69 1.69 2.99-2.99-3.73-3.73-.95-.95-7.66 7.66-.95.95 3.99 3.99v3.44h7.55v-3.55l-4.72-4.72 1.79-1.79Zm-.91-2.99.91-.91 2.6 2.6-.91.91-2.6-2.6Zm-2.25 10.24h3.74l-1.34-1.34-.04-.04h-2.5l-3.25-3.25 4.59-4.59.92.92L9.5 10.9l5.33 5.33v1.48H10.2v-1.35l.01.01ZM2 2v4.99h1.41V3.4h3.58V2H2ZM22.21 2h-4.98v1.41h3.59v3.58h1.4V2h-.01ZM20.81 20.65h-3.58v1.4h4.98v-4.99h-1.4v3.59ZM3.4 17.06H2v4.98h4.99v-1.4H3.4v-3.58Z"})),s=c.forwardRef(v);exports.ForwardRef=h;exports.ForwardRef$1=s;
|