@wandelbots/wandelbots-js-react-components 6.3.0 → 6.4.0-pr.chore-playground-tool-steps.664.4537d63
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +323 -120
- package/dist/3d.cjs +1 -1
- package/dist/3d.d.ts +5 -3
- package/dist/3d.js +24 -23
- package/dist/CurrentPoseBar/index.cjs +1 -0
- package/dist/CurrentPoseBar/index.d.ts +2 -0
- package/dist/CurrentPoseBar/index.js +5 -0
- package/dist/JoggingButtons/index.cjs +1 -0
- package/dist/JoggingButtons/index.d.ts +3 -0
- package/dist/JoggingButtons/index.js +5 -0
- package/dist/JoggingGizmo/index.cjs +1 -0
- package/dist/JoggingGizmo/index.d.ts +4 -0
- package/dist/JoggingGizmo/index.js +7 -0
- package/dist/JoggingJointSlider/index.cjs +1 -0
- package/dist/JoggingJointSlider/index.d.ts +2 -0
- package/dist/JoggingJointSlider/index.js +5 -0
- package/dist/RobotControlPanel/index.cjs +1 -0
- package/dist/RobotControlPanel/index.d.ts +2 -0
- package/dist/RobotControlPanel/index.js +5 -0
- package/dist/RobotHeader/index.cjs +1 -0
- package/dist/RobotHeader/index.d.ts +4 -0
- package/dist/RobotHeader/index.js +5 -0
- package/dist/SafetyBar/index.cjs +1 -1
- package/dist/SafetyBar/index.js +1 -1
- package/dist/chunks/CurrentPoseBar-CyHUWmjM.cjs +1 -0
- package/dist/chunks/CurrentPoseBar-zTZi68tY.js +505 -0
- package/dist/chunks/JoggingButtons-CXaozFVz.js +108 -0
- package/dist/chunks/JoggingButtons-CbL-5LMK.cjs +1 -0
- package/dist/chunks/JoggingGizmo-DGbFLWgT.cjs +1 -0
- package/dist/chunks/JoggingGizmo-SuS9MmL7.js +810 -0
- package/dist/chunks/JoggingGizmoOrientation-dzned4f4.cjs +1 -0
- package/dist/chunks/JoggingGizmoOrientation-x_crT_64.js +14 -0
- package/dist/chunks/JoggingJointSlider-CZ-k6XCa.js +406 -0
- package/dist/chunks/JoggingJointSlider-R3_A9Ppj.cjs +1 -0
- package/dist/chunks/Robot-D0ZqUCn3.cjs +1 -0
- package/dist/chunks/Robot-UoykZeYH.js +1272 -0
- package/dist/chunks/RobotControlPanel-BnMfmO41.js +822 -0
- package/dist/chunks/RobotControlPanel-BuDGcxPR.cjs +1 -0
- package/dist/chunks/RobotHeader-BZci9ahT.js +244 -0
- package/dist/chunks/RobotHeader-CqK0700U.cjs +1 -0
- package/dist/chunks/SafetyBar-Bbg-o8h9.cjs +1 -0
- package/dist/chunks/{SafetyBar-Cy9DiXp9.js → SafetyBar-Cuak4ffd.js} +11 -10
- package/dist/chunks/SmallSelect-BdD9uLKK.js +52 -0
- package/dist/chunks/SmallSelect-Dcsd7_6_.cjs +1 -0
- package/dist/chunks/TrajectoryExecutionStore-DPqfDcfn.js +3398 -0
- package/dist/chunks/TrajectoryExecutionStore-DV6mLEx9.cjs +3 -0
- package/dist/chunks/converters-C8I_A_tA.cjs +1 -0
- package/dist/chunks/converters-DpNB_WNQ.js +39 -0
- package/dist/chunks/externalizeComponent-BdxGBLIv.cjs +2 -0
- package/dist/chunks/externalizeComponent-_w2d1_pz.js +283 -0
- package/dist/chunks/holdSafety-BtoZ5We3.cjs +1 -0
- package/dist/chunks/holdSafety-Di1GZAWg.js +37 -0
- package/dist/chunks/joggingColors-CuT5u0H8.js +135 -0
- package/dist/chunks/joggingColors-ZDc_2UCp.cjs +1 -0
- package/dist/chunks/useEveryFrame-G_-ma1nC.js +142 -0
- package/dist/chunks/useEveryFrame-dmPPTKtT.cjs +1 -0
- package/dist/chunks/useSmoothedMotionState-COMJRcOt.js +214 -0
- package/dist/chunks/useSmoothedMotionState-Con0E5Bx.cjs +1 -0
- package/dist/components/AppHeader.d.ts +1 -1
- package/dist/components/currentPoseBar/CurrentPoseBar.d.ts +48 -0
- package/dist/components/currentPoseBar/OrientationFormatPopover.d.ts +19 -0
- package/dist/components/currentPoseBar/StreamStatus.d.ts +10 -0
- package/dist/components/currentPoseBar/orientation.d.ts +34 -0
- package/dist/components/currentPoseBar/poseValues.d.ts +15 -0
- package/dist/components/jogging/JoggingButtons.d.ts +16 -0
- package/dist/components/jogging/JoggingCartesianAxisControl.d.ts +1 -1
- package/dist/components/jogging/JoggingJointTab.d.ts +1 -1
- package/dist/components/jogging/JoggingPanel.d.ts +6 -3
- package/dist/components/jogging/JoggingStore.d.ts +96 -19
- package/dist/components/jogging/gizmo/JoggingGizmo.d.ts +43 -0
- package/dist/components/jogging/gizmo/JoggingGizmoOrientation.d.ts +26 -0
- package/dist/components/jogging/gizmo/RotationHandles.d.ts +7 -0
- package/dist/components/jogging/gizmo/RotationScene.d.ts +6 -0
- package/dist/components/jogging/gizmo/TranslationHandles.d.ts +6 -0
- package/dist/components/jogging/gizmo/TranslationScene.d.ts +6 -0
- package/dist/components/jogging/gizmo/arcGrabAreas.d.ts +58 -0
- package/dist/components/jogging/gizmo/arcs.d.ts +54 -0
- package/dist/components/jogging/gizmo/arrows.d.ts +63 -0
- package/dist/components/jogging/gizmo/gizmoShared.d.ts +125 -0
- package/dist/components/jogging/gizmo/gizmoView.d.ts +42 -0
- package/dist/components/jogging/gizmo/useGizmoTurn.d.ts +11 -0
- package/dist/components/jogging/holdSafety.d.ts +44 -0
- package/dist/components/jogging/jogError.d.ts +9 -0
- package/dist/components/jogging/jogHandle.d.ts +23 -0
- package/dist/components/jogging/joggingColors.d.ts +24 -0
- package/dist/components/jogging/joggingVelocity.d.ts +21 -0
- package/dist/components/jogging/joint/JoggingJointSlider.d.ts +52 -0
- package/dist/components/jogging/joint/JointSliderTrack.d.ts +27 -0
- package/dist/components/jogging/joint/jointJog.d.ts +55 -0
- package/dist/components/jogging/joint/useJointJogHold.d.ts +48 -0
- package/dist/components/jogging/useHold.d.ts +38 -0
- package/dist/components/jogging/useJogControls.d.ts +45 -0
- package/dist/components/robotControl/CartesianJogTab.d.ts +21 -0
- package/dist/components/robotControl/HoldToMoveButton.d.ts +25 -0
- package/dist/components/robotControl/JogArea.d.ts +22 -0
- package/dist/components/robotControl/JogModeToggle.d.ts +8 -0
- package/dist/components/robotControl/JointJogTab.d.ts +11 -0
- package/dist/components/robotControl/MoveToTab.d.ts +18 -0
- package/dist/components/robotControl/PanelSelect.d.ts +13 -0
- package/dist/components/robotControl/PoseField.d.ts +21 -0
- package/dist/components/robotControl/RobotControlPanel.d.ts +212 -0
- package/dist/components/robotControl/Section.d.ts +5 -0
- package/dist/components/robotControl/SmallSelect.d.ts +15 -0
- package/dist/components/robotControl/VelocityRow.d.ts +14 -0
- package/dist/components/robotControl/atPose.d.ts +8 -0
- package/dist/components/robotControl/poseText.d.ts +15 -0
- package/dist/components/robotControl/units.d.ts +16 -0
- package/dist/components/robotControl/useCopyText.d.ts +12 -0
- package/dist/components/robotControl/useEveryFrame.d.ts +6 -0
- package/dist/components/robotHeader/ActivationSwitch.d.ts +7 -0
- package/dist/components/robotHeader/AppNavigation.d.ts +15 -0
- package/dist/components/robotHeader/RobotHeader.d.ts +42 -0
- package/dist/components/robots/GenericRobot.d.ts +2 -1
- package/dist/components/robots/LinearAxis.d.ts +1 -1
- package/dist/components/robots/LinearAxisAnimator.d.ts +11 -2
- package/dist/components/robots/Robot.d.ts +1 -1
- package/dist/components/robots/robotModelLogic.d.ts +11 -9
- package/dist/components/utils/hooks.d.ts +1 -6
- package/dist/core.cjs +1 -1
- package/dist/core.d.ts +13 -18
- package/dist/core.js +37 -51
- package/dist/index.cjs +1 -1
- package/dist/index.js +58 -71
- package/dist/lib/ConnectedMotionGroup.d.ts +5 -7
- package/dist/lib/JoggerConnection.d.ts +137 -27
- package/dist/lib/MotionStreamConnection.d.ts +15 -6
- package/dist/lib/Pose3.d.ts +22 -0
- package/dist/lib/PoseTransformer.d.ts +25 -0
- package/dist/lib/TrajectoryExecutionStore.d.ts +129 -0
- package/dist/lib/connectionLogger.d.ts +9 -0
- package/dist/lib/incrementalCartesianMotion.d.ts +40 -0
- package/dist/lib/motionStateUpdate.d.ts +27 -0
- package/dist/lib/novaConnection.d.ts +23 -0
- package/dist/lib/planErrorTranslation.d.ts +8 -0
- package/dist/lib/rotation.d.ts +12 -0
- package/package.json +31 -66
- package/dist/Setup.d.ts +0 -11
- package/dist/chunks/MotionGroupVisualizer-DshWR1wY.js +0 -1653
- package/dist/chunks/MotionGroupVisualizer-eD7yFEcF.cjs +0 -1
- package/dist/chunks/SafetyBar-DPrv_OQA.cjs +0 -1
- package/dist/chunks/externalizeComponent-EDymnaGR.js +0 -268
- package/dist/chunks/externalizeComponent-OO4jcrz5.cjs +0 -2
- package/dist/chunks/theming-DfSy4-Ic.cjs +0 -4
- package/dist/chunks/theming-mF9Rt8SS.js +0 -5542
- package/dist/chunks/useSmoothedMotionState-DyDgSVYX.js +0 -478
- package/dist/chunks/useSmoothedMotionState-VYxEIyfr.cjs +0 -1
- package/dist/components/3d-viewport/CoordinateSystemTransform.d.ts +0 -11
- package/dist/components/AdornedTextField.d.ts +0 -7
- package/dist/components/CopyableText.d.ts +0 -6
- package/dist/components/CycleTimer/CycleTimer.d.ts +0 -3
- package/dist/components/CycleTimer/DefaultVariant.d.ts +0 -9
- package/dist/components/CycleTimer/SmallVariant.d.ts +0 -10
- package/dist/components/CycleTimer/index.d.ts +0 -27
- package/dist/components/CycleTimer/types.d.ts +0 -49
- package/dist/components/CycleTimer/useAnimations.d.ts +0 -14
- package/dist/components/CycleTimer/useTimerLogic.d.ts +0 -24
- package/dist/components/CycleTimer/utils.d.ts +0 -21
- package/dist/components/CycleTimer.d.ts +0 -3
- package/dist/components/DataGrid.d.ts +0 -66
- package/dist/components/LogPanel.d.ts +0 -38
- package/dist/components/LogStore.d.ts +0 -12
- package/dist/components/LogViewer.d.ts +0 -46
- package/dist/components/ProgramControl.d.ts +0 -55
- package/dist/components/ProgramStateIndicator.d.ts +0 -26
- package/dist/components/RobotCard.d.ts +0 -98
- package/dist/components/RobotListItem.d.ts +0 -34
- package/dist/components/RobotSetupReadinessIndicator.d.ts +0 -37
- package/dist/components/SelectableFab.d.ts +0 -7
- package/dist/components/TabBar.d.ts +0 -45
- package/dist/components/ThemeSelect.d.ts +0 -6
- package/dist/components/Timer/Timer.d.ts +0 -3
- package/dist/components/Timer/TimerDefaultVariant.d.ts +0 -9
- package/dist/components/Timer/TimerSmallVariant.d.ts +0 -10
- package/dist/components/Timer/index.d.ts +0 -19
- package/dist/components/Timer/types.d.ts +0 -35
- package/dist/components/Timer/useTimerAnimations.d.ts +0 -10
- package/dist/components/Timer/useTimerLogic.d.ts +0 -19
- package/dist/components/Timer/utils.d.ts +0 -17
- package/dist/components/Timer.d.ts +0 -3
- package/dist/components/TransparentOverlay.d.ts +0 -4
- package/dist/components/jogging/JoggingFreedriveTab.d.ts +0 -1
- package/dist/components/jogging/PoseCartesianValues.d.ts +0 -9
- package/dist/components/jogging/PoseJointValues.d.ts +0 -8
- package/dist/components/robots/AxisConfig.d.ts +0 -2
- package/dist/components/robots/manufacturerHomePositions.d.ts +0 -20
- package/dist/icons/DropdownArrowIcon.d.ts +0 -2
- package/dist/icons/index.d.ts +0 -12
- package/dist/lib/novaCompat.d.ts +0 -16
- package/dist/themes/createDarkTheme.d.ts +0 -7
- package/dist/themes/themeTypes.d.ts +0 -40
- package/dist/themes/theming.d.ts +0 -24
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
import type { SxProps, Theme } from "@mui/material/styles";
|
|
2
|
+
import { type RefObject } from "react";
|
|
3
|
+
import type { Quaternion } from "three";
|
|
4
|
+
import type { JogAxis, JogDirection, JogHandle } from "../jogging/jogHandle";
|
|
5
|
+
/** Whether a jog moves the TCP along the axes or turns it about them */
|
|
6
|
+
export type JogMotion = "translate" | "rotate";
|
|
7
|
+
/** A tab of the panel */
|
|
8
|
+
export type RobotControlTab = JogMotion | "joint" | "moveTo";
|
|
9
|
+
/** Jogging while a control is held, or one step per press */
|
|
10
|
+
export type RobotControlJogMode = "continuous" | "increment";
|
|
11
|
+
/** A choice of one of the panel's selects */
|
|
12
|
+
export type RobotControlOption = {
|
|
13
|
+
id: string;
|
|
14
|
+
/** As shown, e.g. "Flange" */
|
|
15
|
+
label: string;
|
|
16
|
+
};
|
|
17
|
+
/** A select of the panel, e.g. the TCP: the app gives its choices */
|
|
18
|
+
export type RobotControlSelect = {
|
|
19
|
+
options: RobotControlOption[];
|
|
20
|
+
/** The `id` of the chosen option */
|
|
21
|
+
value: string;
|
|
22
|
+
onChange: (id: string) => void;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* A jog velocity and its range, in NOVA's units: mm/s to translate, rad/s
|
|
26
|
+
* to rotate. The panel shows mm/s and °/s.
|
|
27
|
+
*/
|
|
28
|
+
export type RobotControlVelocity = {
|
|
29
|
+
value: number;
|
|
30
|
+
min: number;
|
|
31
|
+
max: number;
|
|
32
|
+
};
|
|
33
|
+
/** Jogging one step per press: what the app needs for the Increment mode */
|
|
34
|
+
export type RobotControlIncrements = {
|
|
35
|
+
/**
|
|
36
|
+
* The step sizes to choose from, in NOVA's units: mm to translate, rad to
|
|
37
|
+
* rotate. The panel shows mm and degrees, and starts with the first.
|
|
38
|
+
*/
|
|
39
|
+
steps: Record<JogMotion, number[]>;
|
|
40
|
+
/** A control was pressed: jog one step of `distance` */
|
|
41
|
+
onStep: (motion: JogMotion, axis: JogAxis, direction: JogDirection, distance: number) => void;
|
|
42
|
+
/** The step that runs now: its control shows as pressed */
|
|
43
|
+
running?: JogHandle | null;
|
|
44
|
+
/**
|
|
45
|
+
* The chosen step size of a motion, one of its `steps`. Without it, the
|
|
46
|
+
* panel keeps its own choice (the first step to start with).
|
|
47
|
+
*/
|
|
48
|
+
step?: Partial<Record<JogMotion, number>>;
|
|
49
|
+
/** A step size was chosen in the panel */
|
|
50
|
+
onStepChange?: (motion: JogMotion, distance: number) => void;
|
|
51
|
+
};
|
|
52
|
+
/** One joint of the Joint tab, in NOVA's units: rad, or mm for a linear axis */
|
|
53
|
+
export type RobotControlJoint = {
|
|
54
|
+
/** Its live position */
|
|
55
|
+
value: number;
|
|
56
|
+
/** Its lower limit: see `JoggingJointSlider` for a joint without limits */
|
|
57
|
+
min?: number;
|
|
58
|
+
/** Its upper limit */
|
|
59
|
+
max?: number;
|
|
60
|
+
/** What it is, e.g. "Base", shown after its label (J1, J2, …) */
|
|
61
|
+
name?: string;
|
|
62
|
+
};
|
|
63
|
+
/** The Joint tab: what the app gives to jog joint by joint */
|
|
64
|
+
export type RobotControlJoints = {
|
|
65
|
+
/** The joints in order: the panel labels them J1, J2, … */
|
|
66
|
+
joints: RobotControlJoint[];
|
|
67
|
+
/** The joints are linear axes, in mm and mm/s. Defaults to revolute joints. */
|
|
68
|
+
linear?: boolean;
|
|
69
|
+
/** The velocity of a joint jog: rad/s, or mm/s for linear axes */
|
|
70
|
+
velocity: RobotControlVelocity;
|
|
71
|
+
onVelocityChange: (value: number) => void;
|
|
72
|
+
/**
|
|
73
|
+
* A joint's slider was pressed: jog joint `index` (from 0) in `direction`
|
|
74
|
+
* until `onJogStop`. As with `JoggingJointSlider`, one press can bring
|
|
75
|
+
* several starts and stops, always in turn; when the goal passes the
|
|
76
|
+
* joint, `onJogStop` and the `onJogStart` of the other way come in the
|
|
77
|
+
* same event. One joint jogs at a time.
|
|
78
|
+
*/
|
|
79
|
+
onJogStart: (index: number, direction: JogDirection) => void;
|
|
80
|
+
/** The joint must stop: it got to its goal, or its slider was let go */
|
|
81
|
+
onJogStop: () => void;
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* A pose of the TCP: the position in mm and the orientation as a rotation
|
|
85
|
+
* vector in rad, as NOVA gives it
|
|
86
|
+
*/
|
|
87
|
+
export type RobotControlPose = {
|
|
88
|
+
position: [number, number, number];
|
|
89
|
+
orientation: [number, number, number];
|
|
90
|
+
};
|
|
91
|
+
/**
|
|
92
|
+
* Where the move to the typed pose is, as RobotPad's trajectory: "planning"
|
|
93
|
+
* the move, "planned" and loaded so that the button can start it, "moving",
|
|
94
|
+
* "stopping" after the release, or "idle" (no plan)
|
|
95
|
+
*/
|
|
96
|
+
export type RobotControlMoveState = "idle" | "planning" | "planned" | "moving" | "stopping";
|
|
97
|
+
/**
|
|
98
|
+
* The Move to tab, as RobotPad's pose field: what the app gives to move the
|
|
99
|
+
* TCP to a typed pose. The field shows the TCP's current pose; Edit pose (or
|
|
100
|
+
* a click on the field) makes it editable, and Save pose edit (or Enter)
|
|
101
|
+
* makes the typed pose the target. Then Reset and the Move to button show:
|
|
102
|
+
* held for 200 ms, it starts the move; let go, it pauses it. Once a move has
|
|
103
|
+
* taken the TCP to the target and it stands still, the field shows the
|
|
104
|
+
* current pose again.
|
|
105
|
+
*/
|
|
106
|
+
export type RobotControlMoveTo = {
|
|
107
|
+
/**
|
|
108
|
+
* The TCP's pose now, relative to the chosen `frame`. A function, read
|
|
109
|
+
* every animation frame while the field shows it: the pose changes too
|
|
110
|
+
* fast for a prop.
|
|
111
|
+
*/
|
|
112
|
+
getCurrentPose: () => RobotControlPose | null;
|
|
113
|
+
/** The frame the typed pose is relative to ("Relative to"). Without it, no select. */
|
|
114
|
+
frame?: RobotControlSelect;
|
|
115
|
+
/**
|
|
116
|
+
* A typed pose became the target: plan the move to it and load it, so that
|
|
117
|
+
* the button can start it at once. null: the field shows the current pose
|
|
118
|
+
* again (Reset, the TCP arrived, another tab was chosen, or the TCP or the
|
|
119
|
+
* frame changed): drop the plan. A held move gets its `onMoveStop` first.
|
|
120
|
+
*/
|
|
121
|
+
onTargetChange: (pose: RobotControlPose | null) => void;
|
|
122
|
+
/** Where the move is: the button waits, says Moving… or Stopping… */
|
|
123
|
+
state: RobotControlMoveState;
|
|
124
|
+
/** Why the TCP cannot move to the target, e.g. it is out of reach */
|
|
125
|
+
error?: string | null;
|
|
126
|
+
/** The button was held 200 ms while the move was "planned": start it */
|
|
127
|
+
onMoveStart: (pose: RobotControlPose) => void;
|
|
128
|
+
/**
|
|
129
|
+
* The button was let go after a start, or the hold ended otherwise (e.g.
|
|
130
|
+
* another tab, or editing another pose): pause the move
|
|
131
|
+
*/
|
|
132
|
+
onMoveStop: () => void;
|
|
133
|
+
};
|
|
134
|
+
/**
|
|
135
|
+
* Props of {@link RobotControlPanel}
|
|
136
|
+
*/
|
|
137
|
+
export type RobotControlPanelProps = {
|
|
138
|
+
/** Shows a close button in the header that calls this */
|
|
139
|
+
onClose?: () => void;
|
|
140
|
+
/** Disables every control: nothing may move */
|
|
141
|
+
disabled?: boolean;
|
|
142
|
+
/**
|
|
143
|
+
* Disables the jogging of the Translate, Rotate and Joint tabs, e.g. while
|
|
144
|
+
* a trajectory moves the robot. Move to stays usable: a move of its own
|
|
145
|
+
* must not end because the app locks jogging while it runs.
|
|
146
|
+
*/
|
|
147
|
+
jogDisabled?: boolean;
|
|
148
|
+
/** The tab to show. Without it, the panel keeps its own tab. */
|
|
149
|
+
tab?: RobotControlTab;
|
|
150
|
+
/** A tab was chosen in the panel */
|
|
151
|
+
onTabChange?: (tab: RobotControlTab) => void;
|
|
152
|
+
/** The jog mode. Without it, the panel keeps its own mode. */
|
|
153
|
+
jogMode?: RobotControlJogMode;
|
|
154
|
+
/** A jog mode was chosen in the panel */
|
|
155
|
+
onJogModeChange?: (mode: RobotControlJogMode) => void;
|
|
156
|
+
/** The TCP to jog. Without it, the panel has no TCP select. */
|
|
157
|
+
tcp?: RobotControlSelect;
|
|
158
|
+
/**
|
|
159
|
+
* The frame the TCP jogs relative to ("Move relative to"), e.g. a
|
|
160
|
+
* coordinate system or the selected TCP. Without it, no select.
|
|
161
|
+
*/
|
|
162
|
+
jogFrame?: RobotControlSelect;
|
|
163
|
+
/** The velocity of each motion: see {@link RobotControlVelocity} */
|
|
164
|
+
velocity: Record<JogMotion, RobotControlVelocity>;
|
|
165
|
+
/** The velocity of a motion was changed, in NOVA's units */
|
|
166
|
+
onVelocityChange: (motion: JogMotion, value: number) => void;
|
|
167
|
+
/**
|
|
168
|
+
* A jog control was pressed: jog along `axis` (or about it, to rotate)
|
|
169
|
+
* until `onJogStop`
|
|
170
|
+
*/
|
|
171
|
+
onJogStart: (motion: JogMotion, axis: JogAxis, direction: JogDirection) => void;
|
|
172
|
+
/**
|
|
173
|
+
* The jog must stop: its control was let go, or the tab, the mode or the
|
|
174
|
+
* view changed while it was held
|
|
175
|
+
*/
|
|
176
|
+
onJogStop: () => void;
|
|
177
|
+
/**
|
|
178
|
+
* The Increment mode, one step per press. Without it, the panel has no
|
|
179
|
+
* Continuous/Increment toggle and jogs while a control is held.
|
|
180
|
+
*/
|
|
181
|
+
increments?: RobotControlIncrements;
|
|
182
|
+
/**
|
|
183
|
+
* NOVA's axes as the app's 3D view sees them, from a
|
|
184
|
+
* `JoggingGizmoOrientation` in its scene: see `JoggingGizmo`. Without it,
|
|
185
|
+
* the panel jogs with buttons and offers no gizmo.
|
|
186
|
+
*/
|
|
187
|
+
gizmoOrientation?: RefObject<Quaternion | null>;
|
|
188
|
+
/** The orientation of the frame the gizmo jogs along: see `JoggingGizmo` */
|
|
189
|
+
gizmoFrameQuaternion?: Quaternion | (() => Quaternion);
|
|
190
|
+
/** The Joint tab. Without it, the panel has none. */
|
|
191
|
+
joints?: RobotControlJoints;
|
|
192
|
+
/**
|
|
193
|
+
* The Move to tab. Without it, the panel has none. It moves with the
|
|
194
|
+
* translation velocity (`velocity.translate`).
|
|
195
|
+
*/
|
|
196
|
+
moveTo?: RobotControlMoveTo;
|
|
197
|
+
/** Styles of the panel's box, e.g. its width */
|
|
198
|
+
sx?: SxProps<Theme>;
|
|
199
|
+
};
|
|
200
|
+
/**
|
|
201
|
+
* The Robot control panel of the design: a header, the tabs Translate and
|
|
202
|
+
* Rotate, and in them the TCP and the frame to jog along, Continuous or
|
|
203
|
+
* Increment, the velocity, the step size, and the gizmo or the buttons; the
|
|
204
|
+
* tab Joint, with a slider per joint and the joint velocity; and the tab
|
|
205
|
+
* Move to, with a target pose and a button to hold to move there.
|
|
206
|
+
*
|
|
207
|
+
* It moves nothing itself: the app gets the presses (`onJogStart`,
|
|
208
|
+
* `onJogStop`, `increments.onStep`) and keeps the velocity and the selects
|
|
209
|
+
* in its own store. The panel keeps the rest: the tab, the mode, the step
|
|
210
|
+
* size and whether it shows the gizmo or the buttons.
|
|
211
|
+
*/
|
|
212
|
+
export declare const RobotControlPanel: ({ onClose, sx, joints, moveTo, jogDisabled, tab: appTab, onTabChange, jogMode, onJogModeChange, ...props }: RobotControlPanelProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { RobotControlSelect } from "./RobotControlPanel";
|
|
2
|
+
type SmallSelectProps = RobotControlSelect & {
|
|
3
|
+
/** The id of the element that names the select */
|
|
4
|
+
labelId: string;
|
|
5
|
+
width: string;
|
|
6
|
+
};
|
|
7
|
+
/**
|
|
8
|
+
* The select of Figma's bars (CurrentPoseBar, RobotHeader): 36 px high, its
|
|
9
|
+
* value as input/value (14 px), smaller than the design system's small
|
|
10
|
+
* select (41 px). It renders again only for other options or another value:
|
|
11
|
+
* an open menu measures its place on every render, and an app may render on
|
|
12
|
+
* every update of the robot.
|
|
13
|
+
*/
|
|
14
|
+
export declare const SmallSelect: import("react").NamedExoticComponent<SmallSelectProps>;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { JogMotion, RobotControlVelocity } from "./RobotControlPanel";
|
|
2
|
+
type VelocityRowProps = {
|
|
3
|
+
motion: JogMotion;
|
|
4
|
+
velocity: RobotControlVelocity;
|
|
5
|
+
/** The new velocity, in NOVA's units */
|
|
6
|
+
onChange: (value: number) => void;
|
|
7
|
+
disabled: boolean;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* The jog velocity: its label and value above a slider. The slider moves in
|
|
11
|
+
* whole shown units (mm/s, °/s); the app gets NOVA's units (mm/s, rad/s).
|
|
12
|
+
*/
|
|
13
|
+
export declare function VelocityRow({ motion, velocity, onChange, disabled, }: VelocityRowProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { RobotControlPose } from "./RobotControlPanel";
|
|
2
|
+
/**
|
|
3
|
+
* Whether the TCP stands at `target`, within RobotPad's tolerances. The
|
|
4
|
+
* orientations are compared as rotations, not as rotation vectors: a vector
|
|
5
|
+
* and the same turn the other way round (by π, or a typed turn beyond π that
|
|
6
|
+
* NOVA reports as the shorter one) are one orientation.
|
|
7
|
+
*/
|
|
8
|
+
export declare function isAtPose(current: RobotControlPose | null, target: RobotControlPose): boolean;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A pose as typed and copied: "(x, y, z, rx, ry, rz)", position in mm and
|
|
3
|
+
* orientation as a rotation vector in rad. The same format and rules as
|
|
4
|
+
* robot-pad's typed target pose, so a pose copied in one app reads the same
|
|
5
|
+
* in the other.
|
|
6
|
+
*/
|
|
7
|
+
import type { RobotControlPose } from "./RobotControlPanel";
|
|
8
|
+
/** A pose as text: position to 0.1 mm, orientation to 0.0001 rad */
|
|
9
|
+
export declare function poseToText(pose: RobotControlPose): string;
|
|
10
|
+
/**
|
|
11
|
+
* The pose in `text`, or null if it is not one: six comma-separated numbers,
|
|
12
|
+
* optionally in parentheses. Anything else is rejected rather than guessed,
|
|
13
|
+
* e.g. a forgotten comma, which would otherwise shift every value after it.
|
|
14
|
+
*/
|
|
15
|
+
export declare function parsePoseText(text: string): RobotControlPose | null;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { JogMotion } from "./RobotControlPanel";
|
|
2
|
+
/** Radians as degrees */
|
|
3
|
+
export declare function toDegrees(radians: number): number;
|
|
4
|
+
/** Degrees as radians */
|
|
5
|
+
export declare function toRadians(degrees: number): number;
|
|
6
|
+
/**
|
|
7
|
+
* A value of a motion as the panel shows it: NOVA gives translations in mm
|
|
8
|
+
* (or mm/s) and rotations in rad (or rad/s); the panel shows degrees
|
|
9
|
+
*/
|
|
10
|
+
export declare function shownValue(motion: JogMotion, value: number): number;
|
|
11
|
+
/** The inverse of {@link shownValue}: a shown value in NOVA's units */
|
|
12
|
+
export declare function novaValue(motion: JogMotion, shown: number): number;
|
|
13
|
+
/** A step size as shown, e.g. "5 mm" or "2.5°": at most two decimals */
|
|
14
|
+
export declare function formatStep(motion: JogMotion, distance: number): string;
|
|
15
|
+
/** A velocity as shown, e.g. "125 mm/s" or "10°/s": in whole units */
|
|
16
|
+
export declare function formatVelocity(motion: JogMotion, velocity: number): string;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copies a text to the clipboard; `copied` is true for 3 s after it did.
|
|
3
|
+
*
|
|
4
|
+
* The clipboard API needs a secure context; NOVA instances are often reached
|
|
5
|
+
* over plain http, as RobotPad notes. Then the legacy command copies the
|
|
6
|
+
* selected text: `select` selects the shown text, which stays selected to
|
|
7
|
+
* copy by hand if that fails; without it, a hidden field holds the text.
|
|
8
|
+
*/
|
|
9
|
+
export declare function useCopyText(): {
|
|
10
|
+
copied: boolean;
|
|
11
|
+
copy: (text: string, select?: () => void) => Promise<void>;
|
|
12
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `read()`, read every animation frame while `active`: for what follows the
|
|
3
|
+
* robot, which changes too fast for a prop. It renders only when the value
|
|
4
|
+
* changes, so `read` returns a string, a number or a boolean.
|
|
5
|
+
*/
|
|
6
|
+
export declare function useEveryFrame<T extends string | number | boolean>(read: () => T, active: boolean): T;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { RobotHeaderActivation } from "./RobotHeader";
|
|
2
|
+
/**
|
|
3
|
+
* Whether the robot is activated (its controller in control mode), as
|
|
4
|
+
* RobotPad's ServoActivationToggle: on while active or deactivating, off and
|
|
5
|
+
* waiting while it changes, with a spinner
|
|
6
|
+
*/
|
|
7
|
+
export declare function ActivationSwitch({ state, disabled, onToggle, }: RobotHeaderActivation): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
|
+
import type { AppItem } from "../AppHeader";
|
|
3
|
+
type AppNavigationProps = {
|
|
4
|
+
appIcon?: ReactNode;
|
|
5
|
+
appName: string;
|
|
6
|
+
apps: AppItem[];
|
|
7
|
+
onAppSelect?: (app: AppItem) => void;
|
|
8
|
+
onSearch?: () => void;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* The left of the header, as Figma's header-navigation: the app menu and
|
|
12
|
+
* search in one button group, then the app's icon and name
|
|
13
|
+
*/
|
|
14
|
+
export declare function AppNavigation({ appIcon, appName, apps, onAppSelect, onSearch, }: AppNavigationProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import type { SxProps, Theme } from "@mui/material/styles";
|
|
2
|
+
import { type ReactNode } from "react";
|
|
3
|
+
import { type SafetyBarProps } from "../../SafetyBar/SafetyBar";
|
|
4
|
+
import type { AppItem } from "../AppHeader";
|
|
5
|
+
import type { RobotControlSelect } from "../robotControl/RobotControlPanel";
|
|
6
|
+
/** Whether the robot is activated: its controller in control mode */
|
|
7
|
+
export type RobotHeaderActivationState = "inactive" | "activating" | "active" | "deactivating";
|
|
8
|
+
/** The activation switch: the app changes the controller's mode */
|
|
9
|
+
export type RobotHeaderActivation = {
|
|
10
|
+
state: RobotHeaderActivationState;
|
|
11
|
+
/** The robot cannot be activated now, e.g. at an emergency stop */
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
/** Activates an inactive robot, deactivates an active one */
|
|
14
|
+
onToggle: () => void;
|
|
15
|
+
};
|
|
16
|
+
/** What the app gives RobotHeader */
|
|
17
|
+
export type RobotHeaderProps = {
|
|
18
|
+
/** The app's icon before its name, e.g. Robot Pad's robot arm */
|
|
19
|
+
appIcon?: ReactNode;
|
|
20
|
+
appName: string;
|
|
21
|
+
/** The apps of the app menu (the grid button) */
|
|
22
|
+
apps?: AppItem[];
|
|
23
|
+
onAppSelect?: (app: AppItem) => void;
|
|
24
|
+
/** The search button; none without it */
|
|
25
|
+
onSearch?: () => void;
|
|
26
|
+
/** The motion group select */
|
|
27
|
+
motionGroup?: RobotControlSelect;
|
|
28
|
+
/** The safety state, operation mode and controller type: the SafetyBar */
|
|
29
|
+
safety?: Pick<SafetyBarProps, "isVirtual" | "motionGroupId" | "operationMode" | "safetyState">;
|
|
30
|
+
/** The activation switch */
|
|
31
|
+
activation?: RobotHeaderActivation;
|
|
32
|
+
/** The app's own buttons at the right, e.g. notifications and Add robot */
|
|
33
|
+
actions?: ReactNode;
|
|
34
|
+
sx?: SxProps<Theme>;
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* The header of a robot app, as Figma's top bar: the app menu, search and
|
|
38
|
+
* the app's name at the left; the motion group, its safety state, operation
|
|
39
|
+
* mode and controller type, and the activation switch in the middle; the
|
|
40
|
+
* app's own buttons at the right
|
|
41
|
+
*/
|
|
42
|
+
export declare const RobotHeader: ({ appIcon, appName, apps, onAppSelect, onSearch, motionGroup, safety, activation, actions, sx, }: RobotHeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -5,7 +5,8 @@ export type RobotModelProps = {
|
|
|
5
5
|
modelURL: string | Promise<string>;
|
|
6
6
|
/**
|
|
7
7
|
* Called after a robot model has been loaded and
|
|
8
|
-
* rendered into the threejs scene
|
|
8
|
+
* rendered into the threejs scene, when the components above it
|
|
9
|
+
* (RobotAnimator, LinearAxisAnimator) have mounted
|
|
9
10
|
*/
|
|
10
11
|
postModelRender?: () => void;
|
|
11
12
|
flangeRef?: React.Ref<Group>;
|
|
@@ -15,7 +15,7 @@ export type LinearAxisProps = {
|
|
|
15
15
|
*
|
|
16
16
|
* @param {LinearAxisProps} props - The properties for the LinearAxis component.
|
|
17
17
|
* @param {ConnectedMotionGroup} props.connectedMotionGroup - The connected motion group containing motion state and parameters.
|
|
18
|
-
* @param {Function} [props.getModel
|
|
18
|
+
* @param {Function} [props.getModel] - Optional function to get the model URL. Defaults to defaultGetModel with the connection of the connected motion group (its URL and access token).
|
|
19
19
|
* @param {Object} props - Additional properties passed to the underlying component.
|
|
20
20
|
*
|
|
21
21
|
* @returns {JSX.Element} The rendered SupportedLinearAxis or DHLinearAxis component.
|
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
import type { DHParameter, MotionGroupState } from "@wandelbots/nova-js/v2";
|
|
2
2
|
import type React from "react";
|
|
3
3
|
import type { Object3D, Quaternion } from "three";
|
|
4
|
+
export type LinearAxisAnimatorHandle = {
|
|
5
|
+
/**
|
|
6
|
+
* Re-scan the linear axis group for joints and re-apply the current
|
|
7
|
+
* position. Must be called whenever the (async-loaded) model mounts its
|
|
8
|
+
* meshes into the scene, since the group ref callback only fires when the
|
|
9
|
+
* outer group itself mounts — not when its children appear later.
|
|
10
|
+
*/
|
|
11
|
+
recollectJoints: () => void;
|
|
12
|
+
};
|
|
4
13
|
type LinearAxisAnimatorProps = {
|
|
5
14
|
rapidlyChangingMotionState: MotionGroupState;
|
|
6
15
|
dhParameters: DHParameter[];
|
|
@@ -16,5 +25,5 @@ type LinearAxisAnimatorProps = {
|
|
|
16
25
|
* given. If damped/spring transitions are desired, run the motion state
|
|
17
26
|
* through {@link useSmoothedMotionState} before passing it here.
|
|
18
27
|
*/
|
|
19
|
-
|
|
20
|
-
export
|
|
28
|
+
declare const LinearAxisAnimator: React.ForwardRefExoticComponent<LinearAxisAnimatorProps & React.RefAttributes<LinearAxisAnimatorHandle>>;
|
|
29
|
+
export default LinearAxisAnimator;
|
|
@@ -15,7 +15,7 @@ export type RobotProps = {
|
|
|
15
15
|
*
|
|
16
16
|
* @param {RobotProps} props - The properties for the Robot component.
|
|
17
17
|
* @param {ConnectedMotionGroup} props.connectedMotionGroup - The connected motion group containing motion state and parameters.
|
|
18
|
-
* @param {Function} [props.getModel
|
|
18
|
+
* @param {Function} [props.getModel] - Optional function to get the model URL. Defaults to defaultGetModel with the connection of the connected motion group (its URL and access token).
|
|
19
19
|
* @param {Object} props - Additional properties passed to the SupportedRobot component.
|
|
20
20
|
*
|
|
21
21
|
* @returns {JSX.Element} The rendered SupportedRobot component.
|
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
import type { Object3D } from "three";
|
|
2
2
|
import type { GLTF } from "three-stdlib";
|
|
3
|
+
import { type NovaConnection } from "../../lib/novaConnection";
|
|
3
4
|
/**
|
|
4
|
-
*
|
|
5
|
-
*
|
|
5
|
+
* Downloads the GLB model of a motion group model from a NOVA instance and
|
|
6
|
+
* returns an object URL for it. Each model downloads once per instance; after
|
|
7
|
+
* a failed download, the next call downloads it again.
|
|
8
|
+
*
|
|
9
|
+
* @param modelFromController - The motion group model, e.g. `UniversalRobots_UR5e`
|
|
10
|
+
* @param connection - The NOVA instance: its base URL, or a NOVA client of the
|
|
11
|
+
* app (see `NovaConnection`), which also gives the access token of a cloud
|
|
12
|
+
* instance. `Robot` and `LinearAxis` pass the connection of their
|
|
13
|
+
* `ConnectedMotionGroup`.
|
|
6
14
|
*/
|
|
7
|
-
export declare function
|
|
8
|
-
/**
|
|
9
|
-
* Revoke all cached model object URLs and clear the cache.
|
|
10
|
-
* Useful for cleanup on app teardown.
|
|
11
|
-
*/
|
|
12
|
-
export declare function revokeAllModelUrls(): Promise<void>;
|
|
13
|
-
export declare function defaultGetModel(modelFromController: string, instanceUrlProp?: string): Promise<string>;
|
|
15
|
+
export declare function defaultGetModel(modelFromController: string, connection?: NovaConnection): Promise<string>;
|
|
14
16
|
/**
|
|
15
17
|
* Finds all the joint groups in a GLTF tree, as identified
|
|
16
18
|
* by the _Jxx name ending convention.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { autorun
|
|
1
|
+
import { autorun } from "mobx";
|
|
2
2
|
import { type EffectCallback } from "react";
|
|
3
3
|
/**
|
|
4
4
|
* Run code once on component mount. Shorthand for useEffect(effect, []).
|
|
@@ -9,11 +9,6 @@ export declare function useMounted(effect: EffectCallback): void;
|
|
|
9
9
|
* clean it up when the component unmounts.
|
|
10
10
|
*/
|
|
11
11
|
export declare function useAutorun(view: Parameters<typeof autorun>[0]): void;
|
|
12
|
-
/**
|
|
13
|
-
* Initialize a mobx reaction watcher on component mount, and
|
|
14
|
-
* clean it up when the component unmounts.
|
|
15
|
-
*/
|
|
16
|
-
export declare function useReaction<T>(expression: Parameters<typeof reaction<T>>[0], effect: Parameters<typeof reaction<T>>[1], opts?: Parameters<typeof reaction<T>>[2]): void;
|
|
17
12
|
/**
|
|
18
13
|
* Run a callback on every animation frame. Cleans up
|
|
19
14
|
* after component unmount.
|
package/dist/core.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("@wandelbots/mui");const o=require("./chunks/TrajectoryExecutionStore-DV6mLEx9.cjs"),t=require("./chunks/CurrentPoseBar-CyHUWmjM.cjs"),n=require("./chunks/JoggingButtons-CbL-5LMK.cjs"),r=require("./chunks/JoggingJointSlider-R3_A9Ppj.cjs"),i=require("./chunks/RobotHeader-CqK0700U.cjs"),e=require("./chunks/useSmoothedMotionState-Con0E5Bx.cjs"),a=require("./chunks/externalizeComponent-BdxGBLIv.cjs"),g=require("./chunks/SafetyBar-Bbg-o8h9.cjs");exports.AppHeader=o.AppHeader;exports.ConnectedMotionGroup=o.ConnectedMotionGroup;exports.JoggerConnection=o.JoggerConnection;exports.JoggingCartesianAxisControl=o.JoggingCartesianAxisControl;exports.JoggingJointValueControl=o.JoggingJointValueControl;exports.JoggingPanel=o.JoggingPanel;exports.JoggingStore=o.JoggingStore;exports.LoadingCover=o.LoadingCover;exports.LoadingErrorMessage=o.LoadingErrorMessage;exports.MotionStreamConnection=o.MotionStreamConnection;exports.NoMotionGroupModal=o.NoMotionGroupModal;exports.TrajectoryExecutionStore=o.TrajectoryExecutionStore;exports.VelocitySlider=o.VelocitySlider;exports.VelocitySliderLabel=o.VelocitySliderLabel;exports.jointValuesEqual=o.jointValuesEqual;exports.jointValuesUnchanged=o.jointValuesUnchanged;exports.planErrorTranslationKey=o.planErrorTranslationKey;exports.poseEqual=o.poseEqual;exports.readoutOf=o.readoutOf;exports.readoutsEqual=o.readoutsEqual;exports.tcpMotionEqual=o.tcpMotionEqual;exports.unwrapRotationVector=o.unwrapRotationVector;exports.CurrentPoseBar=t.CurrentPoseBar;exports.JoggingButtons=n.JoggingButtons;exports.JoggingJointSlider=r.JoggingJointSlider;exports.RobotHeader=i.RobotHeader;exports.ValueInterpolator=e.ValueInterpolator;exports.useInterpolation=e.useInterpolation;exports.useSmoothedMotionState=e.useSmoothedMotionState;exports.i18n=a.i18n;exports.SafetyBar=g.SafetyBar;
|
package/dist/core.d.ts
CHANGED
|
@@ -1,34 +1,29 @@
|
|
|
1
|
-
|
|
1
|
+
import "@wandelbots/mui";
|
|
2
2
|
export * from "./components/AppHeader";
|
|
3
|
-
export
|
|
4
|
-
export
|
|
3
|
+
export { CurrentPoseBar, type CurrentPoseBarProps, type CurrentPoseBarState, type EulerConvention, type OrientationFormat, } from "./components/currentPoseBar/CurrentPoseBar";
|
|
4
|
+
export { JoggingButtons, type JoggingButtonsProps, } from "./components/jogging/JoggingButtons";
|
|
5
5
|
export * from "./components/jogging/JoggingCartesianAxisControl";
|
|
6
|
+
export type { AxisControlComponentColors } from "./components/jogging/joggingColors";
|
|
6
7
|
export * from "./components/jogging/JoggingJointValueControl";
|
|
8
|
+
export { JoggingJointSlider, type JoggingJointSliderProps, } from "./components/jogging/joint/JoggingJointSlider";
|
|
7
9
|
export * from "./components/jogging/JoggingPanel";
|
|
8
10
|
export { JoggingStore } from "./components/jogging/JoggingStore";
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
+
export type { JogAxis, JogDirection, JogHandle, } from "./components/jogging/jogHandle";
|
|
12
|
+
export type { JogControlsProps } from "./components/jogging/useJogControls";
|
|
11
13
|
export * from "./components/LoadingCover";
|
|
12
|
-
export
|
|
13
|
-
export {
|
|
14
|
-
export * from "./components/LogViewer";
|
|
14
|
+
export { RobotHeader, type RobotHeaderActivation, type RobotHeaderActivationState, type RobotHeaderProps, } from "./components/robotHeader/RobotHeader";
|
|
15
|
+
export type { RobotControlOption, RobotControlPose, RobotControlSelect, } from "./components/robotControl/RobotControlPanel";
|
|
15
16
|
export * from "./components/modal/NoMotionGroupModal";
|
|
16
|
-
export * from "./components/ProgramControl";
|
|
17
|
-
export * from "./components/ProgramStateIndicator";
|
|
18
|
-
export * from "./components/RobotListItem";
|
|
19
|
-
export * from "./components/RobotSetupReadinessIndicator";
|
|
20
|
-
export * from "./components/SelectableFab";
|
|
21
|
-
export * from "./components/TabBar";
|
|
22
|
-
export * from "./components/Timer";
|
|
23
|
-
export * from "./components/utils/hooks";
|
|
24
17
|
export * from "./components/utils/interpolation";
|
|
25
18
|
export * from "./components/utils/useSmoothedMotionState";
|
|
26
19
|
export * from "./components/VelocitySlider";
|
|
27
20
|
export * from "./i18n/config";
|
|
28
21
|
export * from "./lib/ConnectedMotionGroup";
|
|
22
|
+
export type { ConnectionLogger } from "./lib/connectionLogger";
|
|
29
23
|
export * from "./lib/JoggerConnection";
|
|
30
24
|
export * from "./lib/motionStateUpdate";
|
|
31
25
|
export * from "./lib/MotionStreamConnection";
|
|
26
|
+
export type { NovaConnection } from "./lib/novaConnection";
|
|
27
|
+
export { planErrorTranslationKey } from "./lib/planErrorTranslation";
|
|
28
|
+
export * from "./lib/TrajectoryExecutionStore";
|
|
32
29
|
export * from "./SafetyBar";
|
|
33
|
-
export * from "./themes/themeTypes";
|
|
34
|
-
export { createNovaTheme, createNovaMuiTheme } from "./themes/theming";
|