@wandelbots/wandelbots-js-react-components 1.3.2 → 1.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/3d-viewport/CoordinateSystemTransform.d.ts +11 -0
- package/dist/components/3d-viewport/CoordinateSystemTransform.d.ts.map +1 -0
- package/dist/components/3d-viewport/PresetEnvironment.d.ts +7 -0
- package/dist/components/3d-viewport/PresetEnvironment.d.ts.map +1 -0
- package/dist/components/3d-viewport/SafetyZonesRenderer.d.ts +7 -0
- package/dist/components/3d-viewport/SafetyZonesRenderer.d.ts.map +1 -0
- package/dist/components/LoadingButton.d.ts +5 -0
- package/dist/components/LoadingButton.d.ts.map +1 -0
- package/dist/components/LoadingButton.stories.d.ts +6 -0
- package/dist/components/LoadingButton.stories.d.ts.map +1 -0
- package/dist/components/LoadingCover.d.ts +6 -0
- package/dist/components/LoadingCover.d.ts.map +1 -0
- package/dist/components/ThemeSelect.d.ts +7 -0
- package/dist/components/ThemeSelect.d.ts.map +1 -0
- package/dist/components/VelocitySlider.d.ts +14 -0
- package/dist/components/VelocitySlider.d.ts.map +1 -0
- package/dist/components/VelocitySlider.stories.d.ts +6 -0
- package/dist/components/VelocitySlider.stories.d.ts.map +1 -0
- package/dist/components/jogging/JoggingCartesianAxisControl.d.ts +15 -0
- package/dist/components/jogging/JoggingCartesianAxisControl.d.ts.map +1 -0
- package/dist/components/jogging/JoggingCartesianAxisControl.stories.d.ts +6 -0
- package/dist/components/jogging/JoggingCartesianAxisControl.stories.d.ts.map +1 -0
- package/dist/components/jogging/JoggingCartesianTab.d.ts +7 -0
- package/dist/components/jogging/JoggingCartesianTab.d.ts.map +1 -0
- package/dist/components/jogging/JoggingCartesianValues.d.ts +7 -0
- package/dist/components/jogging/JoggingCartesianValues.d.ts.map +1 -0
- package/dist/components/jogging/JoggingFreedriveTab.d.ts +2 -0
- package/dist/components/jogging/JoggingFreedriveTab.d.ts.map +1 -0
- package/dist/components/jogging/JoggingJointLimitDetector.d.ts +9 -0
- package/dist/components/jogging/JoggingJointLimitDetector.d.ts.map +1 -0
- package/dist/components/jogging/JoggingJointRotationControl.d.ts +14 -0
- package/dist/components/jogging/JoggingJointRotationControl.d.ts.map +1 -0
- package/dist/components/jogging/JoggingJointRotationControl.stories.d.ts +6 -0
- package/dist/components/jogging/JoggingJointRotationControl.stories.d.ts.map +1 -0
- package/dist/components/jogging/JoggingJointTab.d.ts +7 -0
- package/dist/components/jogging/JoggingJointTab.d.ts.map +1 -0
- package/dist/components/jogging/JoggingJointValues.d.ts +7 -0
- package/dist/components/jogging/JoggingJointValues.d.ts.map +1 -0
- package/dist/components/jogging/JoggingOptions.d.ts +7 -0
- package/dist/components/jogging/JoggingOptions.d.ts.map +1 -0
- package/dist/components/jogging/JoggingPanel.d.ts +9 -0
- package/dist/components/jogging/JoggingPanel.d.ts.map +1 -0
- package/dist/components/jogging/JoggingPanel.stories.d.ts +6 -0
- package/dist/components/jogging/JoggingPanel.stories.d.ts.map +1 -0
- package/dist/components/jogging/JoggingStore.d.ts +141 -0
- package/dist/components/jogging/JoggingStore.d.ts.map +1 -0
- package/dist/components/jogging/JoggingVelocitySlider.d.ts +7 -0
- package/dist/components/jogging/JoggingVelocitySlider.d.ts.map +1 -0
- package/dist/components/robots/ABB_1200_07_7.d.ts +3 -0
- package/dist/components/robots/ABB_1200_07_7.d.ts.map +1 -0
- package/dist/components/robots/AxisConfig.d.ts +3 -0
- package/dist/components/robots/AxisConfig.d.ts.map +1 -0
- package/dist/components/robots/DHRobot.d.ts +3 -0
- package/dist/components/robots/DHRobot.d.ts.map +1 -0
- package/dist/components/robots/FANUC_ARC_Mate_100iD.d.ts +3 -0
- package/dist/components/robots/FANUC_ARC_Mate_100iD.d.ts.map +1 -0
- package/dist/components/robots/FANUC_ARC_Mate_120iD.d.ts +3 -0
- package/dist/components/robots/FANUC_ARC_Mate_120iD.d.ts.map +1 -0
- package/dist/components/robots/FANUC_CRX10iA.d.ts +3 -0
- package/dist/components/robots/FANUC_CRX10iA.d.ts.map +1 -0
- package/dist/components/robots/FANUC_CRX25iA.d.ts +3 -0
- package/dist/components/robots/FANUC_CRX25iA.d.ts.map +1 -0
- package/dist/components/robots/FANUC_CRX25iAL.d.ts +3 -0
- package/dist/components/robots/FANUC_CRX25iAL.d.ts.map +1 -0
- package/dist/components/robots/KUKA_KR210_R2700.d.ts +3 -0
- package/dist/components/robots/KUKA_KR210_R2700.d.ts.map +1 -0
- package/dist/components/robots/KUKA_KR270_R2700.d.ts +3 -0
- package/dist/components/robots/KUKA_KR270_R2700.d.ts.map +1 -0
- package/dist/components/robots/Robot.d.ts +19 -0
- package/dist/components/robots/Robot.d.ts.map +1 -0
- package/dist/components/robots/RobotAnimator.d.ts +12 -0
- package/dist/components/robots/RobotAnimator.d.ts.map +1 -0
- package/dist/components/robots/SupportedRobot.d.ts +19 -0
- package/dist/components/robots/SupportedRobot.d.ts.map +1 -0
- package/dist/components/robots/UniversalRobots_UR10.d.ts +3 -0
- package/dist/components/robots/UniversalRobots_UR10.d.ts.map +1 -0
- package/dist/components/robots/UniversalRobots_UR10e.d.ts +3 -0
- package/dist/components/robots/UniversalRobots_UR10e.d.ts.map +1 -0
- package/dist/components/robots/UniversalRobots_UR3.d.ts +3 -0
- package/dist/components/robots/UniversalRobots_UR3.d.ts.map +1 -0
- package/dist/components/robots/UniversalRobots_UR3e.d.ts +3 -0
- package/dist/components/robots/UniversalRobots_UR3e.d.ts.map +1 -0
- package/dist/components/robots/UniversalRobots_UR5.d.ts +3 -0
- package/dist/components/robots/UniversalRobots_UR5.d.ts.map +1 -0
- package/dist/components/robots/UniversalRobots_UR5e.d.ts +3 -0
- package/dist/components/robots/UniversalRobots_UR5e.d.ts.map +1 -0
- package/dist/components/robots/Yaskawa_AR1440.d.ts +3 -0
- package/dist/components/robots/Yaskawa_AR1440.d.ts.map +1 -0
- package/dist/components/robots/Yaskawa_AR1730.d.ts +3 -0
- package/dist/components/robots/Yaskawa_AR1730.d.ts.map +1 -0
- package/dist/components/robots/Yaskawa_AR2010.d.ts +3 -0
- package/dist/components/robots/Yaskawa_AR2010.d.ts.map +1 -0
- package/dist/components/robots/Yaskawa_AR3120.d.ts +3 -0
- package/dist/components/robots/Yaskawa_AR3120.d.ts.map +1 -0
- package/dist/components/robots/Yaskawa_AR900.d.ts +3 -0
- package/dist/components/robots/Yaskawa_AR900.d.ts.map +1 -0
- package/dist/components/utils/converters.d.ts +5 -0
- package/dist/components/utils/converters.d.ts.map +1 -0
- package/dist/components/utils/errorHandling.d.ts +4 -0
- package/dist/components/utils/errorHandling.d.ts.map +1 -0
- package/dist/components/utils/hooks.d.ts +22 -0
- package/dist/components/utils/hooks.d.ts.map +1 -0
- package/dist/components/utils/robotTreeQuery.d.ts +6 -0
- package/dist/components/utils/robotTreeQuery.d.ts.map +1 -0
- package/dist/components/wandelscript-editor/WandelscriptEditor.d.ts +14 -0
- package/dist/components/wandelscript-editor/WandelscriptEditor.d.ts.map +1 -0
- package/dist/components/wandelscript-editor/WandelscriptEditor.stories.d.ts +6 -0
- package/dist/components/wandelscript-editor/WandelscriptEditor.stories.d.ts.map +1 -0
- package/dist/components/wandelscript-editor/wandelscript.tmLanguage.d.ts +45 -0
- package/dist/components/wandelscript-editor/wandelscript.tmLanguage.d.ts.map +1 -0
- package/dist/i18n/config.d.ts +4 -0
- package/dist/i18n/config.d.ts.map +1 -0
- package/dist/icons/arrowForwardFilled.d.ts +2 -0
- package/dist/icons/arrowForwardFilled.d.ts.map +1 -0
- package/dist/icons/expandFilled.d.ts +2 -0
- package/dist/icons/expandFilled.d.ts.map +1 -0
- package/dist/icons/home.d.ts +2 -0
- package/dist/icons/home.d.ts.map +1 -0
- package/dist/icons/index.d.ts +7 -0
- package/dist/icons/index.d.ts.map +1 -0
- package/dist/icons/infoOutlined.d.ts +2 -0
- package/dist/icons/infoOutlined.d.ts.map +1 -0
- package/dist/icons/robot.d.ts +2 -0
- package/dist/icons/robot.d.ts.map +1 -0
- package/dist/icons/wbLogo.d.ts +7 -0
- package/dist/icons/wbLogo.d.ts.map +1 -0
- package/dist/index.cjs +102 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +15200 -0
- package/dist/index.js.map +1 -0
- package/dist/themes/color.d.ts +10 -0
- package/dist/themes/color.d.ts.map +1 -0
- package/dist/themes/theme.d.ts +144 -0
- package/dist/themes/theme.d.ts.map +1 -0
- package/dist/themes/wbTheme.d.ts +73 -0
- package/dist/themes/wbTheme.d.ts.map +1 -0
- package/dist/themes/wbTheme.stories.d.ts +7 -0
- package/dist/themes/wbTheme.stories.d.ts.map +1 -0
- package/package.json +1 -2
- package/src/components/3d-viewport/SafetyZonesRenderer.tsx +2 -1
- package/src/components/robots/ABB_1200_07_7.tsx +6 -2
- package/src/components/robots/DHRobot.tsx +28 -29
- package/src/components/robots/FANUC_ARC_Mate_100iD.tsx +2 -2
- package/src/components/robots/FANUC_ARC_Mate_120iD.tsx +2 -2
- package/src/components/robots/FANUC_CRX10iA.tsx +6 -2
- package/src/components/robots/FANUC_CRX25iA.tsx +6 -2
- package/src/components/robots/FANUC_CRX25iAL.tsx +6 -2
- package/src/components/robots/KUKA_KR210_R2700.tsx +2 -2
- package/src/components/robots/KUKA_KR270_R2700.tsx +2 -2
- package/src/components/robots/Robot.tsx +42 -0
- package/src/components/robots/RobotAnimator.tsx +5 -6
- package/src/components/robots/SupportedRobot.tsx +23 -10
- package/src/components/robots/UniversalRobots_UR10.tsx +2 -2
- package/src/components/robots/UniversalRobots_UR10e.tsx +2 -2
- package/src/components/robots/UniversalRobots_UR3.tsx +2 -2
- package/src/components/robots/UniversalRobots_UR3e.tsx +2 -2
- package/src/components/robots/UniversalRobots_UR5.tsx +2 -2
- package/src/components/robots/UniversalRobots_UR5e.tsx +2 -2
- package/src/components/robots/Yaskawa_AR1440.tsx +6 -2
- package/src/components/robots/Yaskawa_AR1730.tsx +6 -2
- package/src/components/robots/Yaskawa_AR2010.tsx +6 -2
- package/src/components/robots/Yaskawa_AR3120.tsx +6 -2
- package/src/components/robots/Yaskawa_AR900.tsx +6 -2
- package/src/index.ts +1 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { CoordinateSystem } from "@wandelbots/wandelbots-api-client";
|
|
2
|
+
import type { ReactNode } from "react";
|
|
3
|
+
/**
|
|
4
|
+
* Applies a API coordinate system transformation to
|
|
5
|
+
* all react-three child components.
|
|
6
|
+
*/
|
|
7
|
+
export declare const CoordinateSystemTransform: ({ coordinateSystem, children, }: {
|
|
8
|
+
coordinateSystem?: CoordinateSystem;
|
|
9
|
+
children: ReactNode;
|
|
10
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
//# sourceMappingURL=CoordinateSystemTransform.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CoordinateSystemTransform.d.ts","sourceRoot":"","sources":["../../../src/components/3d-viewport/CoordinateSystemTransform.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAA;AACzE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAGtC;;;GAGG;AACH,eAAO,MAAM,yBAAyB,oCAGnC;IACD,gBAAgB,CAAC,EAAE,gBAAgB,CAAA;IACnC,QAAQ,EAAE,SAAS,CAAA;CACpB,4CA6BA,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Renders a preset environment for the 3D scene.
|
|
3
|
+
* This component wraps the scene with an `Environment` component
|
|
4
|
+
* and builds a lightmap build with `Lightformers`.
|
|
5
|
+
*/
|
|
6
|
+
export declare function PresetEnvironment(): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
//# sourceMappingURL=PresetEnvironment.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PresetEnvironment.d.ts","sourceRoot":"","sources":["../../../src/components/3d-viewport/PresetEnvironment.tsx"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,wBAAgB,iBAAiB,4CAMhC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { SafetySetupSafetyZone } from "@wandelbots/wandelbots-js";
|
|
2
|
+
import { type GroupProps } from "@react-three/fiber";
|
|
3
|
+
export type SafetyZonesRendererProps = {
|
|
4
|
+
safetyZones: SafetySetupSafetyZone[];
|
|
5
|
+
} & GroupProps;
|
|
6
|
+
export declare function SafetyZonesRenderer({ safetyZones, ...props }: SafetyZonesRendererProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
//# sourceMappingURL=SafetyZonesRenderer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SafetyZonesRenderer.d.ts","sourceRoot":"","sources":["../../../src/components/3d-viewport/SafetyZonesRenderer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAA;AAIjE,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAEpD,MAAM,MAAM,wBAAwB,GAAG;IACrC,WAAW,EAAE,qBAAqB,EAAE,CAAA;CACrC,GAAG,UAAU,CAAA;AAEd,wBAAgB,mBAAmB,CAAC,EAClC,WAAW,EACX,GAAG,KAAK,EACT,EAAE,wBAAwB,2CAyC1B"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/** Button with a loading state to indicate a task is being processed */
|
|
2
|
+
export declare const LoadingButton: import("react").ForwardRefExoticComponent<Omit<import("@mui/lab").LoadingButtonOwnProps & Omit<import("@mui/material").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes">, "classes"> & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
3
|
+
ref?: ((instance: HTMLButtonElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
4
|
+
}, "children" | "style" | "color" | "className" | "classes" | "tabIndex" | "sx" | "disabled" | "size" | "href" | "action" | "loading" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "startIcon" | "variant" | "loadingIndicator" | "loadingPosition">, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
5
|
+
//# sourceMappingURL=LoadingButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LoadingButton.d.ts","sourceRoot":"","sources":["../../src/components/LoadingButton.tsx"],"names":[],"mappings":"AAKA,wEAAwE;AACxE,eAAO,MAAM,aAAa;;4fAYzB,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import { LoadingButton } from "./LoadingButton";
|
|
3
|
+
declare const meta: Meta<typeof LoadingButton>;
|
|
4
|
+
export default meta;
|
|
5
|
+
export declare const Default: StoryObj<typeof LoadingButton>;
|
|
6
|
+
//# sourceMappingURL=LoadingButton.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LoadingButton.stories.d.ts","sourceRoot":"","sources":["../../src/components/LoadingButton.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAiChD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,aAAa,CAsBpC,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,OAAO,EAAE,QAAQ,CAAC,OAAO,aAAa,CAClD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LoadingCover.d.ts","sourceRoot":"","sources":["../../src/components/LoadingCover.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY,UAAW;IAClC,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB,4CAuCA,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Select } from "@mui/material";
|
|
2
|
+
type ThemeSelectProps = {
|
|
3
|
+
kind: "filled" | "outlined" | "text";
|
|
4
|
+
} & React.ComponentProps<typeof Select>;
|
|
5
|
+
export declare const ThemeSelect: ({ kind, sx, ...rest }: ThemeSelectProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=ThemeSelect.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThemeSelect.d.ts","sourceRoot":"","sources":["../../src/components/ThemeSelect.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAgB,MAAM,eAAe,CAAA;AAGpD,KAAK,gBAAgB,GAAG;IACtB,IAAI,EAAE,QAAQ,GAAG,UAAU,GAAG,MAAM,CAAA;CACrC,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,CAAA;AAEvC,eAAO,MAAM,WAAW,0BAA2B,gBAAgB,4CAsClE,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
type VelocitySliderProps = {
|
|
2
|
+
min: number;
|
|
3
|
+
max: number;
|
|
4
|
+
velocity: number;
|
|
5
|
+
onVelocityChange: (newVelocity: number) => void;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
valueLabelFormat?: (value: number) => string;
|
|
8
|
+
};
|
|
9
|
+
/** A slider for controlling the movement velocity of a robot */
|
|
10
|
+
export declare const VelocitySlider: ((props: VelocitySliderProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
11
|
+
displayName: string;
|
|
12
|
+
};
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=VelocitySlider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VelocitySlider.d.ts","sourceRoot":"","sources":["../../src/components/VelocitySlider.tsx"],"names":[],"mappings":"AAKA,KAAK,mBAAmB,GAAG;IACzB,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;IACX,QAAQ,EAAE,MAAM,CAAA;IAChB,gBAAgB,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,CAAA;IAC/C,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAA;CAC7C,CAAA;AAED,gEAAgE;AAChE,eAAO,MAAM,cAAc,WAAoB,mBAAmB;;CAoChE,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import { VelocitySlider } from "./VelocitySlider";
|
|
3
|
+
declare const meta: Meta<typeof VelocitySlider>;
|
|
4
|
+
export default meta;
|
|
5
|
+
export declare const Default: StoryObj<typeof VelocitySlider>;
|
|
6
|
+
//# sourceMappingURL=VelocitySlider.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VelocitySlider.stories.d.ts","sourceRoot":"","sources":["../../src/components/VelocitySlider.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGlD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,cAAc,CAuBrC,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,OAAO,EAAE,QAAQ,CAAC,OAAO,cAAc,CACnD,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import Stack from "@mui/material/Stack";
|
|
2
|
+
import { type ReactNode } from "react";
|
|
3
|
+
type JoggingCartesianAxisControlProps = {
|
|
4
|
+
color?: string;
|
|
5
|
+
label: ReactNode;
|
|
6
|
+
getDisplayedValue: () => string;
|
|
7
|
+
startJogging: (direction: "-" | "+") => void;
|
|
8
|
+
stopJogging: () => void;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
} & React.ComponentProps<typeof Stack>;
|
|
11
|
+
export declare const JoggingCartesianAxisControl: (({ color, label, getDisplayedValue, startJogging, stopJogging, disabled, ...rest }: JoggingCartesianAxisControlProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
12
|
+
displayName: string;
|
|
13
|
+
};
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=JoggingCartesianAxisControl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"JoggingCartesianAxisControl.d.ts","sourceRoot":"","sources":["../../../src/components/jogging/JoggingCartesianAxisControl.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,qBAAqB,CAAA;AAEvC,OAAO,EAAU,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAG9C,KAAK,gCAAgC,GAAG;IACtC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,SAAS,CAAA;IAChB,iBAAiB,EAAE,MAAM,MAAM,CAAA;IAC/B,YAAY,EAAE,CAAC,SAAS,EAAE,GAAG,GAAG,GAAG,KAAK,IAAI,CAAA;IAC5C,WAAW,EAAE,MAAM,IAAI,CAAA;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,KAAK,CAAC,CAAA;AAEtC,eAAO,MAAM,2BAA2B,uFASnC,gCAAgC;;CAsGpC,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import { JoggingCartesianAxisControl } from "./JoggingCartesianAxisControl";
|
|
3
|
+
declare const meta: Meta<typeof JoggingCartesianAxisControl>;
|
|
4
|
+
export default meta;
|
|
5
|
+
export declare const Default: StoryObj<typeof JoggingCartesianAxisControl>;
|
|
6
|
+
//# sourceMappingURL=JoggingCartesianAxisControl.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"JoggingCartesianAxisControl.stories.d.ts","sourceRoot":"","sources":["../../../src/components/jogging/JoggingCartesianAxisControl.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAK5E,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,2BAA2B,CA8BlD,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,OAAO,EAAE,QAAQ,CAAC,OAAO,2BAA2B,CAChE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"JoggingCartesianTab.d.ts","sourceRoot":"","sources":["../../../src/components/jogging/JoggingCartesianTab.tsx"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,YAAY,EAA2B,MAAM,gBAAgB,CAAA;AAa3E,eAAO,MAAM,mBAAmB,eAClB;IAAE,KAAK,EAAE,YAAY,CAAA;CAAE;;CA4OpC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"JoggingCartesianValues.d.ts","sourceRoot":"","sources":["../../../src/components/jogging/JoggingCartesianValues.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAE7C,eAAO,MAAM,sBAAsB,eAAwB;IAAE,KAAK,EAAE,YAAY,CAAA;CAAE;;CAqChF,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"JoggingFreedriveTab.d.ts","sourceRoot":"","sources":["../../../src/components/jogging/JoggingFreedriveTab.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,mBAAmB,+CAM/B,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { JoggingStore } from "./JoggingStore";
|
|
2
|
+
/**
|
|
3
|
+
* Monitors the active robot motion state and displays a message if
|
|
4
|
+
* any joint limits are reached.
|
|
5
|
+
*/
|
|
6
|
+
export declare const JoggingJointLimitDetector: ({ store }: {
|
|
7
|
+
store: JoggingStore;
|
|
8
|
+
}) => import("react/jsx-runtime").JSX.Element | null;
|
|
9
|
+
//# sourceMappingURL=JoggingJointLimitDetector.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"JoggingJointLimitDetector.d.ts","sourceRoot":"","sources":["../../../src/components/jogging/JoggingJointLimitDetector.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAE7C;;;GAGG;AACH,eAAO,MAAM,yBAAyB,cAAe;IAAE,KAAK,EAAE,YAAY,CAAA;CAAE,mDAsC3E,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import Stack from "@mui/material/Stack";
|
|
2
|
+
type JoggingJointRotationControlProps = {
|
|
3
|
+
startJogging: (direction: "-" | "+") => void;
|
|
4
|
+
stopJogging: () => void;
|
|
5
|
+
lowerLimitDegs?: number;
|
|
6
|
+
upperLimitDegs?: number;
|
|
7
|
+
getValueDegs: () => number | undefined;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
} & React.ComponentProps<typeof Stack>;
|
|
10
|
+
export declare const JoggingJointRotationControl: (({ startJogging, stopJogging, lowerLimitDegs, upperLimitDegs, getValueDegs, disabled, ...rest }: JoggingJointRotationControlProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
11
|
+
displayName: string;
|
|
12
|
+
};
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=JoggingJointRotationControl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"JoggingJointRotationControl.d.ts","sourceRoot":"","sources":["../../../src/components/jogging/JoggingJointRotationControl.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,qBAAqB,CAAA;AAQvC,KAAK,gCAAgC,GAAG;IACtC,YAAY,EAAE,CAAC,SAAS,EAAE,GAAG,GAAG,GAAG,KAAK,IAAI,CAAA;IAC5C,WAAW,EAAE,MAAM,IAAI,CAAA;IACvB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,YAAY,EAAE,MAAM,MAAM,GAAC,SAAS,CAAA;IAEpC,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,KAAK,CAAC,CAAA;AAEtC,eAAO,MAAM,2BAA2B,oGASnC,gCAAgC;;CAwKpC,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import { JoggingJointRotationControl } from "./JoggingJointRotationControl";
|
|
3
|
+
declare const meta: Meta<typeof JoggingJointRotationControl>;
|
|
4
|
+
export default meta;
|
|
5
|
+
export declare const Default: StoryObj<typeof JoggingJointRotationControl>;
|
|
6
|
+
//# sourceMappingURL=JoggingJointRotationControl.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"JoggingJointRotationControl.stories.d.ts","sourceRoot":"","sources":["../../../src/components/jogging/JoggingJointRotationControl.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAI5E,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,2BAA2B,CA4BlD,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,OAAO,EAAE,QAAQ,CAAC,OAAO,2BAA2B,CAChE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"JoggingJointTab.d.ts","sourceRoot":"","sources":["../../../src/components/jogging/JoggingJointTab.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAKlD,eAAO,MAAM,eAAe,eACd;IAAE,KAAK,EAAE,YAAY,CAAC;CAAE;;CAmFrC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"JoggingJointValues.d.ts","sourceRoot":"","sources":["../../../src/components/jogging/JoggingJointValues.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAG7C,eAAO,MAAM,kBAAkB,eAAwB;IAAE,KAAK,EAAE,YAAY,CAAA;CAAE;;CAqC5E,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"JoggingOptions.d.ts","sourceRoot":"","sources":["../../../src/components/jogging/JoggingOptions.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAqB,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAKrE,eAAO,MAAM,cAAc,eAAwB;IAAE,KAAK,EAAE,YAAY,CAAA;CAAE;;CAwFxE,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { NovaClient } from "@wandelbots/wandelbots-js";
|
|
2
|
+
export type JoggingPanelProps = {
|
|
3
|
+
nova: NovaClient;
|
|
4
|
+
motionGroupId: string;
|
|
5
|
+
};
|
|
6
|
+
export declare const JoggingPanel: ((props: JoggingPanelProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
7
|
+
displayName: string;
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=JoggingPanel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"JoggingPanel.d.ts","sourceRoot":"","sources":["../../../src/components/jogging/JoggingPanel.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAA;AAEtD,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,EAAE,UAAU,CAAA;IAChB,aAAa,EAAE,MAAM,CAAA;CACtB,CAAA;AAED,eAAO,MAAM,YAAY,WAAoB,iBAAiB;;CAiH5D,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import { JoggingPanel } from "./JoggingPanel";
|
|
3
|
+
declare const meta: Meta<typeof JoggingPanel>;
|
|
4
|
+
export default meta;
|
|
5
|
+
export declare const Default: StoryObj<typeof JoggingPanel>;
|
|
6
|
+
//# sourceMappingURL=JoggingPanel.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"JoggingPanel.stories.d.ts","sourceRoot":"","sources":["../../../src/components/jogging/JoggingPanel.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAI9C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,YAAY,CAgBnC,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,OAAO,EAAE,QAAQ,CAAC,OAAO,YAAY,CACjD,CAAC"}
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
import { type IReactionDisposer } from "mobx";
|
|
2
|
+
import type { CoordinateSystem, JoggerConnection, MotionGroupSpecification, RobotTcp } from "@wandelbots/wandelbots-js";
|
|
3
|
+
declare const discreteIncrementOptions: {
|
|
4
|
+
id: string;
|
|
5
|
+
mm: number;
|
|
6
|
+
degrees: number;
|
|
7
|
+
}[];
|
|
8
|
+
declare const incrementOptions: readonly [{
|
|
9
|
+
readonly id: "continuous";
|
|
10
|
+
}, ...{
|
|
11
|
+
id: string;
|
|
12
|
+
mm: number;
|
|
13
|
+
degrees: number;
|
|
14
|
+
}[]];
|
|
15
|
+
export type DiscreteIncrementOption = (typeof discreteIncrementOptions)[number];
|
|
16
|
+
export type IncrementOption = (typeof incrementOptions)[number];
|
|
17
|
+
export type IncrementOptionId = IncrementOption["id"];
|
|
18
|
+
export declare class JoggingStore {
|
|
19
|
+
readonly jogger: JoggerConnection;
|
|
20
|
+
readonly motionGroupSpec: MotionGroupSpecification;
|
|
21
|
+
readonly coordSystems: CoordinateSystem[];
|
|
22
|
+
readonly tcps: RobotTcp[];
|
|
23
|
+
selectedTabId: "cartesian" | "joint" | "debug";
|
|
24
|
+
isLocked: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Id of selected coordinate system from among those defined on the API side
|
|
27
|
+
*/
|
|
28
|
+
selectedCoordSystemId: string;
|
|
29
|
+
/** Id of selected tool center point from among the options available on the robot */
|
|
30
|
+
selectedTcpId: string;
|
|
31
|
+
/**
|
|
32
|
+
* Id of selected increment amount for jogging. Options are defined by robot pad.
|
|
33
|
+
* When non-continuous, jogging moves the robot by a fixed number of mm or degrees
|
|
34
|
+
* each time the button is pressed, for extra precision
|
|
35
|
+
*/
|
|
36
|
+
selectedIncrementId: IncrementOptionId;
|
|
37
|
+
/**
|
|
38
|
+
* When on the cartesian tab, jogging can be either translating or rotating
|
|
39
|
+
* around the TCP.
|
|
40
|
+
*/
|
|
41
|
+
selectedCartesianMotionType: "translate" | "rotate";
|
|
42
|
+
/** True when the API is busy doing a planned increment jog motion */
|
|
43
|
+
incrementJoggingInProgress: boolean;
|
|
44
|
+
/** How fast the robot goes when doing cartesian translate jogging in mm/s */
|
|
45
|
+
translationVelocityMmPerSec: number;
|
|
46
|
+
/** How fast the robot goes when doing cartesian or joint rotation jogging in °/s */
|
|
47
|
+
rotationVelocityDegPerSec: number;
|
|
48
|
+
/** Minimum translation velocity user can choose on the velocity slider in °/s */
|
|
49
|
+
minTranslationVelocityMmPerSec: number;
|
|
50
|
+
/** Maximum translation velocity user can choose on the velocity slider in °/s */
|
|
51
|
+
maxTranslationVelocityMmPerSec: number;
|
|
52
|
+
/** Minimum rotation velocity user can choose on the velocity slider in °/s */
|
|
53
|
+
minRotationVelocityDegPerSec: number;
|
|
54
|
+
/** Maximum rotation velocity user can choose on the velocity slider in °/s */
|
|
55
|
+
maxRotationVelocityDegPerSec: number;
|
|
56
|
+
disposers: IReactionDisposer[];
|
|
57
|
+
/**
|
|
58
|
+
* Load a jogging store with the relevant data it needs
|
|
59
|
+
* from the backend
|
|
60
|
+
*/
|
|
61
|
+
static loadFor(jogger: JoggerConnection): Promise<JoggingStore>;
|
|
62
|
+
constructor(jogger: JoggerConnection, motionGroupSpec: MotionGroupSpecification, coordSystems: CoordinateSystem[], tcps: RobotTcp[]);
|
|
63
|
+
dispose(): void;
|
|
64
|
+
loadFromLocalStorage(): void;
|
|
65
|
+
saveToLocalStorage(): void;
|
|
66
|
+
get localStorageSave(): {
|
|
67
|
+
selectedTabId: "cartesian" | "joint" | "debug";
|
|
68
|
+
selectedCoordSystemId: string;
|
|
69
|
+
selectedTcpId: string;
|
|
70
|
+
selectedIncrementId: string;
|
|
71
|
+
selectedCartesianMotionType: "rotate" | "translate";
|
|
72
|
+
};
|
|
73
|
+
get tabs(): readonly [{
|
|
74
|
+
readonly id: "cartesian";
|
|
75
|
+
readonly label: "Cartesian";
|
|
76
|
+
}, {
|
|
77
|
+
readonly id: "joint";
|
|
78
|
+
readonly label: "Joint";
|
|
79
|
+
}];
|
|
80
|
+
get incrementOptions(): readonly [{
|
|
81
|
+
readonly id: "continuous";
|
|
82
|
+
}, ...{
|
|
83
|
+
id: string;
|
|
84
|
+
mm: number;
|
|
85
|
+
degrees: number;
|
|
86
|
+
}[]];
|
|
87
|
+
get discreteIncrementOptions(): {
|
|
88
|
+
id: string;
|
|
89
|
+
mm: number;
|
|
90
|
+
degrees: number;
|
|
91
|
+
}[];
|
|
92
|
+
get incrementOptionsById(): import("lodash").Dictionary<{
|
|
93
|
+
id: string;
|
|
94
|
+
mm: number;
|
|
95
|
+
degrees: number;
|
|
96
|
+
} | {
|
|
97
|
+
readonly id: "continuous";
|
|
98
|
+
}>;
|
|
99
|
+
get tabsById(): import("lodash").Dictionary<{
|
|
100
|
+
readonly id: "cartesian";
|
|
101
|
+
readonly label: "Cartesian";
|
|
102
|
+
} | {
|
|
103
|
+
readonly id: "joint";
|
|
104
|
+
readonly label: "Joint";
|
|
105
|
+
}>;
|
|
106
|
+
get currentTab(): {
|
|
107
|
+
readonly id: "cartesian";
|
|
108
|
+
readonly label: "Cartesian";
|
|
109
|
+
} | {
|
|
110
|
+
readonly id: "joint";
|
|
111
|
+
readonly label: "Joint";
|
|
112
|
+
};
|
|
113
|
+
get tabIndex(): number;
|
|
114
|
+
get coordSystemsById(): import("lodash").Dictionary<CoordinateSystem>;
|
|
115
|
+
get selectedCoordSystem(): CoordinateSystem;
|
|
116
|
+
get tcpsById(): import("lodash").Dictionary<RobotTcp>;
|
|
117
|
+
get selectedDiscreteIncrement(): {
|
|
118
|
+
id: string;
|
|
119
|
+
mm: number;
|
|
120
|
+
degrees: number;
|
|
121
|
+
} | undefined;
|
|
122
|
+
/** The selected rotation velocity converted to radians per second */
|
|
123
|
+
get rotationVelocityRadsPerSec(): number;
|
|
124
|
+
get velocityInCurrentUnits(): number;
|
|
125
|
+
get minVelocityInCurrentUnits(): number;
|
|
126
|
+
get maxVelocityInCurrentUnits(): number;
|
|
127
|
+
/**
|
|
128
|
+
* For velocity unit purposes, joint and cartesian rotation
|
|
129
|
+
* are treated as the same type of motion
|
|
130
|
+
*/
|
|
131
|
+
get currentMotionType(): "translate" | "rotate";
|
|
132
|
+
onTabChange(_event: React.SyntheticEvent, newValue: number): void;
|
|
133
|
+
setSelectedCoordSystemId(id: string): void;
|
|
134
|
+
setSelectedTcpId(id: string): void;
|
|
135
|
+
setSelectedIncrementId(id: IncrementOptionId): void;
|
|
136
|
+
setIncrementJoggingInProgress(inProgress: boolean): void;
|
|
137
|
+
setVelocityFromSlider(velocity: number): void;
|
|
138
|
+
setSelectedCartesianMotionType(type: "translate" | "rotate"): void;
|
|
139
|
+
}
|
|
140
|
+
export {};
|
|
141
|
+
//# sourceMappingURL=JoggingStore.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"JoggingStore.d.ts","sourceRoot":"","sources":["../../../src/components/jogging/JoggingStore.tsx"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { JoggingStore } from "./JoggingStore";
|
|
2
|
+
export declare const JoggingVelocitySlider: (({ store }: {
|
|
3
|
+
store: JoggingStore;
|
|
4
|
+
}) => import("react/jsx-runtime").JSX.Element) & {
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
7
|
+
//# sourceMappingURL=JoggingVelocitySlider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"JoggingVelocitySlider.d.ts","sourceRoot":"","sources":["../../../src/components/jogging/JoggingVelocitySlider.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAIlD,eAAO,MAAM,qBAAqB,eACpB;IAAE,KAAK,EAAE,YAAY,CAAA;CAAE;;CAgDpC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ABB_1200_07_7.d.ts","sourceRoot":"","sources":["../../../src/components/robots/ABB_1200_07_7.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAIlD,wBAAgB,aAAa,CAAC,EAC5B,QAAQ,EACR,0BAA0B,EAC1B,GAAG,KAAK,EACT,EAAE,UAAU,2CAoHZ"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AxisConfig.d.ts","sourceRoot":"","sources":["../../../src/components/robots/AxisConfig.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,GAAG,MAAM,EAAE,CAAA;AAEjC,eAAO,MAAM,iBAAiB,EAAE,UAAuC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DHRobot.d.ts","sourceRoot":"","sources":["../../../src/components/robots/DHRobot.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAKpD,wBAAgB,OAAO,CAAC,EACtB,0BAA0B,EAC1B,YAAY,EACZ,GAAG,KAAK,EACT,EAAE,YAAY,2CA4Gd"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FANUC_ARC_Mate_100iD.d.ts","sourceRoot":"","sources":["../../../src/components/robots/FANUC_ARC_Mate_100iD.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAIlD,wBAAgB,oBAAoB,CAAC,EACnC,QAAQ,EACR,0BAA0B,EAC1B,GAAG,KAAK,EACT,EAAE,UAAU,2CAgLZ"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FANUC_ARC_Mate_120iD.d.ts","sourceRoot":"","sources":["../../../src/components/robots/FANUC_ARC_Mate_120iD.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAIlD,wBAAgB,oBAAoB,CAAC,EACnC,QAAQ,EACR,0BAA0B,EAC1B,GAAG,KAAK,EACT,EAAE,UAAU,2CAgLZ"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FANUC_CRX10iA.d.ts","sourceRoot":"","sources":["../../../src/components/robots/FANUC_CRX10iA.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAIlD,wBAAgB,aAAa,CAAC,EAC5B,QAAQ,EACR,0BAA0B,EAC1B,GAAG,KAAK,EACT,EAAE,UAAU,2CAgKZ"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FANUC_CRX25iA.d.ts","sourceRoot":"","sources":["../../../src/components/robots/FANUC_CRX25iA.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAIlD,wBAAgB,aAAa,CAAC,EAC5B,QAAQ,EACR,0BAA0B,EAC1B,GAAG,KAAK,EACT,EAAE,UAAU,2CAgKZ"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FANUC_CRX25iAL.d.ts","sourceRoot":"","sources":["../../../src/components/robots/FANUC_CRX25iAL.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAIlD,wBAAgB,cAAc,CAAC,EAC7B,QAAQ,EACR,0BAA0B,EAC1B,GAAG,KAAK,EACT,EAAE,UAAU,2CA2KZ"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KUKA_KR210_R2700.d.ts","sourceRoot":"","sources":["../../../src/components/robots/KUKA_KR210_R2700.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAIlD,wBAAgB,gBAAgB,CAAC,EAC/B,QAAQ,EACR,0BAA0B,EAC1B,GAAG,KAAK,EACT,EAAE,UAAU,2CAwRZ"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KUKA_KR270_R2700.d.ts","sourceRoot":"","sources":["../../../src/components/robots/KUKA_KR270_R2700.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAIlD,wBAAgB,gBAAgB,CAAC,EAC/B,QAAQ,EACR,0BAA0B,EAC1B,GAAG,KAAK,EACT,EAAE,UAAU,2CAyOZ"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type GroupProps } from "@react-three/fiber";
|
|
2
|
+
import type { ConnectedMotionGroup } from "@wandelbots/wandelbots-js";
|
|
3
|
+
export type ConnectecMotionGroupRobotProps = {
|
|
4
|
+
connectedMotionGroup: ConnectedMotionGroup;
|
|
5
|
+
getModel?: (modelFromController: string) => string;
|
|
6
|
+
} & GroupProps;
|
|
7
|
+
/**
|
|
8
|
+
* The Robot component is a wrapper around the SupportedRobot component
|
|
9
|
+
* for usage with @wandelbots/wandelbots-js ConnectedMotionGroup object.
|
|
10
|
+
*
|
|
11
|
+
* @param {ConnectecMotionGroupRobotProps} props - The properties for the Robot component.
|
|
12
|
+
* @param {ConnectedMotionGroup} props.connectedMotionGroup - The connected motion group containing motion state and parameters.
|
|
13
|
+
* @param {Function} [props.getModel=defaultGetModel] - Optional function to get the model URL. Defaults to defaultGetModel.
|
|
14
|
+
* @param {Object} props - Additional properties passed to the SupportedRobot component.
|
|
15
|
+
*
|
|
16
|
+
* @returns {JSX.Element} The rendered SupportedRobot component.
|
|
17
|
+
*/
|
|
18
|
+
export declare function Robot({ connectedMotionGroup, getModel, ...props }: ConnectecMotionGroupRobotProps): import("react/jsx-runtime").JSX.Element | null;
|
|
19
|
+
//# sourceMappingURL=Robot.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Robot.d.ts","sourceRoot":"","sources":["../../../src/components/robots/Robot.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAEpD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAA;AAGrE,MAAM,MAAM,8BAA8B,GAAG;IAC3C,oBAAoB,EAAE,oBAAoB,CAAA;IAC1C,QAAQ,CAAC,EAAE,CAAC,mBAAmB,EAAE,MAAM,KAAK,MAAM,CAAA;CACnD,GAAG,UAAU,CAAA;AAEd;;;;;;;;;;GAUG;AACH,wBAAgB,KAAK,CAAC,EACpB,oBAAoB,EACpB,QAA0B,EAC1B,GAAG,KAAK,EACT,EAAE,8BAA8B,kDAgBhC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as THREE from "three";
|
|
2
|
+
import { type RobotSceneJoint } from "../utils/robotTreeQuery";
|
|
3
|
+
import type { MotionGroupStateResponse } from "@wandelbots/wandelbots-api-client";
|
|
4
|
+
type RobotAnimatorProps = {
|
|
5
|
+
rapidlyChangingMotionState: MotionGroupStateResponse;
|
|
6
|
+
robotRootObjectName: string;
|
|
7
|
+
onRotationChanged: (joints: THREE.Object3D[], jointValues: number[]) => void;
|
|
8
|
+
jointCollector?: (rootObject: THREE.Object3D) => RobotSceneJoint[];
|
|
9
|
+
};
|
|
10
|
+
export default function RobotAnimator({ rapidlyChangingMotionState, robotRootObjectName, onRotationChanged, jointCollector, }: RobotAnimatorProps): null;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=RobotAnimator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RobotAnimator.d.ts","sourceRoot":"","sources":["../../../src/components/robots/RobotAnimator.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAA;AACnC,OAAO,EAEL,KAAK,eAAe,EACrB,MAAM,yBAAyB,CAAA;AAChC,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,mCAAmC,CAAA;AAGjF,KAAK,kBAAkB,GAAG;IACxB,0BAA0B,EAAE,wBAAwB,CAAA;IACpD,mBAAmB,EAAE,MAAM,CAAA;IAC3B,iBAAiB,EAAE,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ,EAAE,EAAE,WAAW,EAAE,MAAM,EAAE,KAAK,IAAI,CAAA;IAC5E,cAAc,CAAC,EAAE,CAAC,UAAU,EAAE,KAAK,CAAC,QAAQ,KAAK,eAAe,EAAE,CAAA;CACnE,CAAA;AAED,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EACpC,0BAA0B,EAC1B,mBAAmB,EACnB,iBAAiB,EACjB,cAAc,GACf,EAAE,kBAAkB,QA0DpB"}
|