franky-control 1.0.2__cp38-cp38-manylinux_2_28_x86_64.whl
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.
- franky/__init__.py +12 -0
- franky/_franky.cpython-38-x86_64-linux-gnu.so +0 -0
- franky/_franky.pyi +1736 -0
- franky/motion.py +12 -0
- franky/reaction.py +43 -0
- franky/robot.py +8 -0
- franky/robot_web_session.py +183 -0
- franky_control-1.0.2.dist-info/LICENSE +165 -0
- franky_control-1.0.2.dist-info/METADATA +869 -0
- franky_control-1.0.2.dist-info/RECORD +27 -0
- franky_control-1.0.2.dist-info/WHEEL +5 -0
- franky_control-1.0.2.dist-info/top_level.txt +2 -0
- franky_control.libs/libPocoFoundation-7333b9fc.so.95 +0 -0
- franky_control.libs/libPocoNet-007a41b7.so.95 +0 -0
- franky_control.libs/libboost_filesystem-38deced9.so.1.66.0 +0 -0
- franky_control.libs/libboost_serialization-3aa46b41.so.1.66.0 +0 -0
- franky_control.libs/libboost_system-69a6c43e.so.1.66.0 +0 -0
- franky_control.libs/libconsole_bridge-def124d9.so.0.3 +0 -0
- franky_control.libs/libfmt-8375f6bf.so.6.2.1 +0 -0
- franky_control.libs/libfranka-92ddaf43.so.0.15.0 +0 -0
- franky_control.libs/libpinocchio_default-7b0164b0.so.3.1.0 +0 -0
- franky_control.libs/libpinocchio_parsers-50abb87c.so.3.1.0 +0 -0
- franky_control.libs/libtinyxml-435d1f53.so.0.2.6.2 +0 -0
- franky_control.libs/liburdfdom_model-9e7b5a88.so.1.0 +0 -0
- franky_control.libs/liburdfdom_model_state-741cbb83.so.1.0 +0 -0
- franky_control.libs/liburdfdom_sensor-5dbb5bb4.so.1.0 +0 -0
- franky_control.libs/liburdfdom_world-bd943329.so.1.0 +0 -0
franky/_franky.pyi
ADDED
@@ -0,0 +1,1736 @@
|
|
1
|
+
"""
|
2
|
+
High-Level Control Library for Franka Robots
|
3
|
+
"""
|
4
|
+
from __future__ import annotations
|
5
|
+
import numpy
|
6
|
+
import pybind11_stubgen.typing_ext
|
7
|
+
import typing
|
8
|
+
__all__ = ['Affine', 'BaseCartesianPoseMotion', 'BaseCartesianVelocityMotion', 'BaseJointPositionMotion', 'BaseJointVelocityMotion', 'BaseTorqueMotion', 'BoolFuture', 'CartesianImpedanceMotion', 'CartesianMotion', 'CartesianPose', 'CartesianPoseReaction', 'CartesianState', 'CartesianStopMotion', 'CartesianVelocities', 'CartesianVelocityMotion', 'CartesianVelocityReaction', 'CartesianVelocityStopMotion', 'CartesianVelocityWaypoint', 'CartesianVelocityWaypointMotion', 'CartesianWaypoint', 'CartesianWaypointMotion', 'CommandException', 'Condition', 'ControlException', 'ControlSignalType', 'ControllerMode', 'DoubleDynamicsLimit', 'Duration', 'ElbowState', 'Errors', 'Exception', 'ExponentialImpedanceMotion', 'FlipDirection', 'Frame', 'Gripper', 'GripperException', 'GripperState', 'ImpedanceMotion', 'IncompatibleVersionException', 'InvalidMotionTypeException', 'InvalidOperationException', 'JointMotion', 'JointPositionReaction', 'JointPositions', 'JointState', 'JointStopMotion', 'JointVelocities', 'JointVelocityMotion', 'JointVelocityReaction', 'JointVelocityStopMotion', 'JointVelocityWaypoint', 'JointVelocityWaypointMotion', 'JointWaypoint', 'JointWaypointMotion', 'Measure', 'Model', 'ModelException', 'NetworkException', 'ProtocolException', 'ReactionRecursionException', 'RealtimeConfig', 'RealtimeException', 'ReferenceType', 'RelativeDynamicsFactor', 'RobotMode', 'RobotPose', 'RobotState', 'RobotVelocity', 'TorqueReaction', 'Torques', 'Twist', 'TwistAcceleration', 'VectorDynamicsLimit']
|
9
|
+
class Affine:
|
10
|
+
@staticmethod
|
11
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
12
|
+
...
|
13
|
+
def __getstate__(self) -> tuple:
|
14
|
+
...
|
15
|
+
@typing.overload
|
16
|
+
def __init__(self, transformation_matrix: numpy.ndarray[numpy.float64[4, 4]] = ...) -> None:
|
17
|
+
...
|
18
|
+
@typing.overload
|
19
|
+
def __init__(self, translation: numpy.ndarray[numpy.float64[3, 1]] = ..., quaternion: numpy.ndarray[numpy.float64[4, 1]] = ...) -> None:
|
20
|
+
...
|
21
|
+
@typing.overload
|
22
|
+
def __init__(self, arg0: Affine) -> None:
|
23
|
+
...
|
24
|
+
def __mul__(self, arg0: Affine) -> Affine:
|
25
|
+
...
|
26
|
+
def __repr__(self) -> str:
|
27
|
+
...
|
28
|
+
def __setstate__(self, arg0: tuple) -> None:
|
29
|
+
...
|
30
|
+
@property
|
31
|
+
def inverse(self) -> Affine:
|
32
|
+
...
|
33
|
+
@property
|
34
|
+
def matrix(self) -> numpy.ndarray[numpy.float64[4, 4]]:
|
35
|
+
...
|
36
|
+
@property
|
37
|
+
def quaternion(self) -> numpy.ndarray[numpy.float64[4, 1]]:
|
38
|
+
...
|
39
|
+
@property
|
40
|
+
def translation(self) -> numpy.ndarray[numpy.float64[3, 1]]:
|
41
|
+
...
|
42
|
+
class BaseCartesianPoseMotion:
|
43
|
+
@staticmethod
|
44
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
45
|
+
...
|
46
|
+
def add_reaction(self, arg0: CartesianPoseReaction) -> None:
|
47
|
+
...
|
48
|
+
def register_callback(self, callback: typing.Callable[[_franky.RobotState, _franky.Duration, _franky.Duration, _franky.Duration, _franky.CartesianPose], None]) -> None:
|
49
|
+
...
|
50
|
+
@property
|
51
|
+
def reactions(self) -> list[CartesianPoseReaction]:
|
52
|
+
...
|
53
|
+
class BaseCartesianVelocityMotion:
|
54
|
+
@staticmethod
|
55
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
56
|
+
...
|
57
|
+
def add_reaction(self, arg0: CartesianVelocityReaction) -> None:
|
58
|
+
...
|
59
|
+
def register_callback(self, callback: typing.Callable[[_franky.RobotState, _franky.Duration, _franky.Duration, _franky.Duration, _franky.CartesianVelocities], None]) -> None:
|
60
|
+
...
|
61
|
+
@property
|
62
|
+
def reactions(self) -> list[CartesianVelocityReaction]:
|
63
|
+
...
|
64
|
+
class BaseJointPositionMotion:
|
65
|
+
@staticmethod
|
66
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
67
|
+
...
|
68
|
+
def add_reaction(self, arg0: JointPositionReaction) -> None:
|
69
|
+
...
|
70
|
+
def register_callback(self, callback: typing.Callable[[_franky.RobotState, _franky.Duration, _franky.Duration, _franky.Duration, _franky.JointPositions], None]) -> None:
|
71
|
+
...
|
72
|
+
@property
|
73
|
+
def reactions(self) -> list[JointPositionReaction]:
|
74
|
+
...
|
75
|
+
class BaseJointVelocityMotion:
|
76
|
+
@staticmethod
|
77
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
78
|
+
...
|
79
|
+
def add_reaction(self, arg0: JointVelocityReaction) -> None:
|
80
|
+
...
|
81
|
+
def register_callback(self, callback: typing.Callable[[_franky.RobotState, _franky.Duration, _franky.Duration, _franky.Duration, _franky.JointVelocities], None]) -> None:
|
82
|
+
...
|
83
|
+
@property
|
84
|
+
def reactions(self) -> list[JointVelocityReaction]:
|
85
|
+
...
|
86
|
+
class BaseTorqueMotion:
|
87
|
+
@staticmethod
|
88
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
89
|
+
...
|
90
|
+
def add_reaction(self, arg0: TorqueReaction) -> None:
|
91
|
+
...
|
92
|
+
def register_callback(self, callback: typing.Callable[[_franky.RobotState, _franky.Duration, _franky.Duration, _franky.Duration, _franky.Torques], None]) -> None:
|
93
|
+
...
|
94
|
+
@property
|
95
|
+
def reactions(self) -> list[TorqueReaction]:
|
96
|
+
...
|
97
|
+
class BoolFuture:
|
98
|
+
@staticmethod
|
99
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
100
|
+
...
|
101
|
+
def get(self) -> bool:
|
102
|
+
...
|
103
|
+
def wait(self, timeout: float | None = None) -> bool:
|
104
|
+
...
|
105
|
+
class CartesianImpedanceMotion(ImpedanceMotion):
|
106
|
+
@staticmethod
|
107
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
108
|
+
...
|
109
|
+
def __init__(self, target: Affine, duration: Duration, target_type: ReferenceType = ..., translational_stiffness: float = 2000, rotational_stiffness: float = 200, force_constraints: typing.Annotated[list[float | None], pybind11_stubgen.typing_ext.FixedSize(6)] | None = None, return_when_finished: bool = True, finish_wait_factor: float = 1.2) -> None:
|
110
|
+
...
|
111
|
+
class CartesianMotion(CartesianWaypointMotion):
|
112
|
+
@staticmethod
|
113
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
114
|
+
...
|
115
|
+
def __init__(self, target: CartesianState | RobotPose | Affine, reference_type: ReferenceType = ..., relative_dynamics_factor: RelativeDynamicsFactor | float = 1.0, return_when_finished: bool = True, ee_frame: Affine | None = None) -> None:
|
116
|
+
...
|
117
|
+
class CartesianPose:
|
118
|
+
@staticmethod
|
119
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
120
|
+
...
|
121
|
+
def __getstate__(self) -> tuple:
|
122
|
+
...
|
123
|
+
def __setstate__(self, arg0: tuple) -> None:
|
124
|
+
...
|
125
|
+
@property
|
126
|
+
def O_T_EE(self) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(16)]:
|
127
|
+
...
|
128
|
+
class CartesianPoseReaction:
|
129
|
+
@staticmethod
|
130
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
131
|
+
...
|
132
|
+
def __init__(self, condition: Condition | bool, motion: BaseCartesianPoseMotion = None) -> None:
|
133
|
+
...
|
134
|
+
def register_callback(self, callback: typing.Callable[[_franky.RobotState, _franky.Duration, _franky.Duration], None]) -> None:
|
135
|
+
...
|
136
|
+
class CartesianState:
|
137
|
+
@staticmethod
|
138
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
139
|
+
...
|
140
|
+
def __getstate__(self) -> tuple:
|
141
|
+
...
|
142
|
+
@typing.overload
|
143
|
+
def __init__(self, pose: RobotPose | Affine) -> None:
|
144
|
+
...
|
145
|
+
@typing.overload
|
146
|
+
def __init__(self, pose: RobotPose | Affine, velocity: RobotVelocity | Twist) -> None:
|
147
|
+
...
|
148
|
+
@typing.overload
|
149
|
+
def __init__(self, arg0: CartesianState | RobotPose | Affine) -> None:
|
150
|
+
...
|
151
|
+
def __repr__(self) -> str:
|
152
|
+
...
|
153
|
+
def __rmul__(self, arg0: Affine) -> CartesianState:
|
154
|
+
...
|
155
|
+
def __setstate__(self, arg0: tuple) -> None:
|
156
|
+
...
|
157
|
+
def change_end_effector_frame(self, transform: Affine) -> CartesianState:
|
158
|
+
...
|
159
|
+
def transform_with(self, transform: Affine) -> CartesianState:
|
160
|
+
...
|
161
|
+
@property
|
162
|
+
def pose(self) -> RobotPose:
|
163
|
+
...
|
164
|
+
@property
|
165
|
+
def velocity(self) -> RobotVelocity:
|
166
|
+
...
|
167
|
+
class CartesianStopMotion(BaseCartesianPoseMotion):
|
168
|
+
@staticmethod
|
169
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
170
|
+
...
|
171
|
+
def __init__(self, relative_dynamics_factor: RelativeDynamicsFactor | float = 1.0) -> None:
|
172
|
+
...
|
173
|
+
class CartesianVelocities:
|
174
|
+
@staticmethod
|
175
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
176
|
+
...
|
177
|
+
def __getstate__(self) -> tuple:
|
178
|
+
...
|
179
|
+
def __setstate__(self, arg0: tuple) -> None:
|
180
|
+
...
|
181
|
+
@property
|
182
|
+
def O_dP_EE(self) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(6)]:
|
183
|
+
...
|
184
|
+
@property
|
185
|
+
def elbow(self) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(2)]:
|
186
|
+
...
|
187
|
+
class CartesianVelocityMotion(CartesianVelocityWaypointMotion):
|
188
|
+
@staticmethod
|
189
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
190
|
+
...
|
191
|
+
def __init__(self, target: RobotVelocity | Twist, duration: Duration = ..., relative_dynamics_factor: RelativeDynamicsFactor | float = 1.0, ee_frame: Affine | None = None) -> None:
|
192
|
+
...
|
193
|
+
class CartesianVelocityReaction:
|
194
|
+
@staticmethod
|
195
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
196
|
+
...
|
197
|
+
def __init__(self, condition: Condition | bool, motion: BaseCartesianVelocityMotion = None) -> None:
|
198
|
+
...
|
199
|
+
def register_callback(self, callback: typing.Callable[[_franky.RobotState, _franky.Duration, _franky.Duration], None]) -> None:
|
200
|
+
...
|
201
|
+
class CartesianVelocityStopMotion(BaseCartesianVelocityMotion):
|
202
|
+
@staticmethod
|
203
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
204
|
+
...
|
205
|
+
def __init__(self, relative_dynamics_factor: RelativeDynamicsFactor | float = 1.0) -> None:
|
206
|
+
...
|
207
|
+
class CartesianVelocityWaypoint:
|
208
|
+
@staticmethod
|
209
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
210
|
+
...
|
211
|
+
def __init__(self, target: RobotVelocity | Twist, relative_dynamics_factor: RelativeDynamicsFactor | float = 1.0, minimum_time: Duration | None = None, hold_target_duration: Duration = ..., max_total_duration: Duration | None = None) -> None:
|
212
|
+
...
|
213
|
+
@property
|
214
|
+
def hold_target_duration(self) -> Duration:
|
215
|
+
...
|
216
|
+
@property
|
217
|
+
def max_total_duration(self) -> Duration | None:
|
218
|
+
...
|
219
|
+
@property
|
220
|
+
def minimum_time(self) -> Duration | None:
|
221
|
+
...
|
222
|
+
@property
|
223
|
+
def relative_dynamics_factor(self) -> RelativeDynamicsFactor:
|
224
|
+
...
|
225
|
+
@property
|
226
|
+
def target(self) -> RobotVelocity:
|
227
|
+
...
|
228
|
+
class CartesianVelocityWaypointMotion(BaseCartesianVelocityMotion):
|
229
|
+
@staticmethod
|
230
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
231
|
+
...
|
232
|
+
def __init__(self, waypoints: list[CartesianVelocityWaypoint], ee_frame: Affine | None = None, relative_dynamics_factor: RelativeDynamicsFactor | float = 1.0) -> None:
|
233
|
+
...
|
234
|
+
class CartesianWaypoint:
|
235
|
+
@staticmethod
|
236
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
237
|
+
...
|
238
|
+
def __init__(self, target: CartesianState | RobotPose | Affine, reference_type: ReferenceType = ..., relative_dynamics_factor: RelativeDynamicsFactor | float = 1.0, minimum_time: Duration | None = None, hold_target_duration: Duration = ..., max_total_duration: Duration | None = None) -> None:
|
239
|
+
...
|
240
|
+
@property
|
241
|
+
def hold_target_duration(self) -> Duration:
|
242
|
+
...
|
243
|
+
@property
|
244
|
+
def max_total_duration(self) -> Duration | None:
|
245
|
+
...
|
246
|
+
@property
|
247
|
+
def minimum_time(self) -> Duration | None:
|
248
|
+
...
|
249
|
+
@property
|
250
|
+
def reference_type(self) -> ReferenceType:
|
251
|
+
...
|
252
|
+
@property
|
253
|
+
def relative_dynamics_factor(self) -> RelativeDynamicsFactor:
|
254
|
+
...
|
255
|
+
@property
|
256
|
+
def target(self) -> CartesianState:
|
257
|
+
...
|
258
|
+
class CartesianWaypointMotion(BaseCartesianPoseMotion):
|
259
|
+
@staticmethod
|
260
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
261
|
+
...
|
262
|
+
def __init__(self, waypoints: list[CartesianWaypoint], ee_frame: Affine | None = None, relative_dynamics_factor: RelativeDynamicsFactor | float = 1.0, return_when_finished: bool = True) -> None:
|
263
|
+
...
|
264
|
+
class CommandException(Exception):
|
265
|
+
pass
|
266
|
+
class Condition:
|
267
|
+
__hash__: typing.ClassVar[None] = None
|
268
|
+
@staticmethod
|
269
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
270
|
+
...
|
271
|
+
@typing.overload
|
272
|
+
def __and__(self, arg0: Condition | bool) -> Condition:
|
273
|
+
...
|
274
|
+
@typing.overload
|
275
|
+
def __and__(self, arg0: bool) -> Condition:
|
276
|
+
...
|
277
|
+
@typing.overload
|
278
|
+
def __eq__(self, arg0: Condition | bool) -> Condition:
|
279
|
+
...
|
280
|
+
@typing.overload
|
281
|
+
def __eq__(self, arg0: bool) -> Condition:
|
282
|
+
...
|
283
|
+
def __init__(self, constant_value: bool) -> None:
|
284
|
+
...
|
285
|
+
def __invert__(self) -> Condition:
|
286
|
+
...
|
287
|
+
@typing.overload
|
288
|
+
def __ne__(self, arg0: Condition | bool) -> Condition:
|
289
|
+
...
|
290
|
+
@typing.overload
|
291
|
+
def __ne__(self, arg0: bool) -> Condition:
|
292
|
+
...
|
293
|
+
@typing.overload
|
294
|
+
def __or__(self, arg0: Condition | bool) -> Condition:
|
295
|
+
...
|
296
|
+
@typing.overload
|
297
|
+
def __or__(self, arg0: bool) -> Condition:
|
298
|
+
...
|
299
|
+
def __rand__(self, arg0: Condition | bool) -> Condition:
|
300
|
+
...
|
301
|
+
def __repr__(self) -> str:
|
302
|
+
...
|
303
|
+
def __ror__(self, arg0: Condition | bool) -> Condition:
|
304
|
+
...
|
305
|
+
class ControlException(Exception):
|
306
|
+
pass
|
307
|
+
class ControlSignalType:
|
308
|
+
"""
|
309
|
+
Members:
|
310
|
+
|
311
|
+
Torques
|
312
|
+
|
313
|
+
JointVelocities
|
314
|
+
|
315
|
+
JointPositions
|
316
|
+
|
317
|
+
CartesianVelocities
|
318
|
+
|
319
|
+
CartesianPose
|
320
|
+
"""
|
321
|
+
CartesianPose: typing.ClassVar[ControlSignalType] # value = <ControlSignalType.CartesianPose: 4>
|
322
|
+
CartesianVelocities: typing.ClassVar[ControlSignalType] # value = <ControlSignalType.CartesianVelocities: 3>
|
323
|
+
JointPositions: typing.ClassVar[ControlSignalType] # value = <ControlSignalType.JointPositions: 2>
|
324
|
+
JointVelocities: typing.ClassVar[ControlSignalType] # value = <ControlSignalType.JointVelocities: 1>
|
325
|
+
Torques: typing.ClassVar[ControlSignalType] # value = <ControlSignalType.Torques: 0>
|
326
|
+
__members__: typing.ClassVar[dict[str, ControlSignalType]] # value = {'Torques': <ControlSignalType.Torques: 0>, 'JointVelocities': <ControlSignalType.JointVelocities: 1>, 'JointPositions': <ControlSignalType.JointPositions: 2>, 'CartesianVelocities': <ControlSignalType.CartesianVelocities: 3>, 'CartesianPose': <ControlSignalType.CartesianPose: 4>}
|
327
|
+
@staticmethod
|
328
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
329
|
+
...
|
330
|
+
def __eq__(self, other: typing.Any) -> bool:
|
331
|
+
...
|
332
|
+
def __getstate__(self) -> int:
|
333
|
+
...
|
334
|
+
def __hash__(self) -> int:
|
335
|
+
...
|
336
|
+
def __index__(self) -> int:
|
337
|
+
...
|
338
|
+
def __init__(self, value: int) -> None:
|
339
|
+
...
|
340
|
+
def __int__(self) -> int:
|
341
|
+
...
|
342
|
+
def __ne__(self, other: typing.Any) -> bool:
|
343
|
+
...
|
344
|
+
def __repr__(self) -> str:
|
345
|
+
...
|
346
|
+
def __setstate__(self, state: int) -> None:
|
347
|
+
...
|
348
|
+
def __str__(self) -> str:
|
349
|
+
...
|
350
|
+
@property
|
351
|
+
def name(self) -> str:
|
352
|
+
...
|
353
|
+
@property
|
354
|
+
def value(self) -> int:
|
355
|
+
...
|
356
|
+
class ControllerMode:
|
357
|
+
"""
|
358
|
+
Members:
|
359
|
+
|
360
|
+
JointImpedance
|
361
|
+
|
362
|
+
CartesianImpedance
|
363
|
+
"""
|
364
|
+
CartesianImpedance: typing.ClassVar[ControllerMode] # value = <ControllerMode.CartesianImpedance: 1>
|
365
|
+
JointImpedance: typing.ClassVar[ControllerMode] # value = <ControllerMode.JointImpedance: 0>
|
366
|
+
__members__: typing.ClassVar[dict[str, ControllerMode]] # value = {'JointImpedance': <ControllerMode.JointImpedance: 0>, 'CartesianImpedance': <ControllerMode.CartesianImpedance: 1>}
|
367
|
+
@staticmethod
|
368
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
369
|
+
...
|
370
|
+
def __eq__(self, other: typing.Any) -> bool:
|
371
|
+
...
|
372
|
+
def __getstate__(self) -> int:
|
373
|
+
...
|
374
|
+
def __hash__(self) -> int:
|
375
|
+
...
|
376
|
+
def __index__(self) -> int:
|
377
|
+
...
|
378
|
+
def __init__(self, value: int) -> None:
|
379
|
+
...
|
380
|
+
def __int__(self) -> int:
|
381
|
+
...
|
382
|
+
def __ne__(self, other: typing.Any) -> bool:
|
383
|
+
...
|
384
|
+
def __repr__(self) -> str:
|
385
|
+
...
|
386
|
+
def __setstate__(self, state: int) -> None:
|
387
|
+
...
|
388
|
+
def __str__(self) -> str:
|
389
|
+
...
|
390
|
+
@property
|
391
|
+
def name(self) -> str:
|
392
|
+
...
|
393
|
+
@property
|
394
|
+
def value(self) -> int:
|
395
|
+
...
|
396
|
+
class DoubleDynamicsLimit:
|
397
|
+
@staticmethod
|
398
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
399
|
+
...
|
400
|
+
def __repr__(self) -> str:
|
401
|
+
...
|
402
|
+
def get(self) -> float:
|
403
|
+
...
|
404
|
+
def set(self, value: float) -> None:
|
405
|
+
...
|
406
|
+
@property
|
407
|
+
def desc(self) -> str:
|
408
|
+
...
|
409
|
+
@property
|
410
|
+
def max(self) -> float:
|
411
|
+
...
|
412
|
+
class Duration:
|
413
|
+
@staticmethod
|
414
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
415
|
+
...
|
416
|
+
def __add__(self, arg0: Duration) -> Duration:
|
417
|
+
...
|
418
|
+
def __getstate__(self) -> tuple:
|
419
|
+
...
|
420
|
+
def __iadd__(self, arg0: Duration) -> Duration:
|
421
|
+
...
|
422
|
+
def __imul__(self, arg0: int) -> Duration:
|
423
|
+
...
|
424
|
+
@typing.overload
|
425
|
+
def __init__(self) -> None:
|
426
|
+
...
|
427
|
+
@typing.overload
|
428
|
+
def __init__(self, arg0: int) -> None:
|
429
|
+
...
|
430
|
+
def __isub__(self, arg0: Duration) -> Duration:
|
431
|
+
...
|
432
|
+
def __itruediv__(self, arg0: int) -> Duration:
|
433
|
+
...
|
434
|
+
def __mul__(self, arg0: int) -> Duration:
|
435
|
+
...
|
436
|
+
def __repr__(self) -> str:
|
437
|
+
...
|
438
|
+
def __setstate__(self, arg0: tuple) -> None:
|
439
|
+
...
|
440
|
+
def __sub__(self, arg0: Duration) -> Duration:
|
441
|
+
...
|
442
|
+
def __truediv__(self, arg0: int) -> Duration:
|
443
|
+
...
|
444
|
+
def to_msec(self) -> int:
|
445
|
+
...
|
446
|
+
def to_sec(self) -> float:
|
447
|
+
...
|
448
|
+
class ElbowState:
|
449
|
+
@staticmethod
|
450
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
451
|
+
...
|
452
|
+
def __getstate__(self) -> tuple:
|
453
|
+
...
|
454
|
+
@typing.overload
|
455
|
+
def __init__(self, joint_3_pos: float, joint_4_flip: FlipDirection | None = None) -> None:
|
456
|
+
...
|
457
|
+
@typing.overload
|
458
|
+
def __init__(self, arg0: ElbowState) -> None:
|
459
|
+
...
|
460
|
+
def __repr__(self) -> str:
|
461
|
+
...
|
462
|
+
def __setstate__(self, arg0: tuple) -> None:
|
463
|
+
...
|
464
|
+
@property
|
465
|
+
def joint_3_pos(self) -> float:
|
466
|
+
...
|
467
|
+
@property
|
468
|
+
def joint_4_flip(self) -> FlipDirection | None:
|
469
|
+
...
|
470
|
+
class Errors:
|
471
|
+
@staticmethod
|
472
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
473
|
+
...
|
474
|
+
def __getstate__(self) -> tuple:
|
475
|
+
...
|
476
|
+
def __init__(self) -> None:
|
477
|
+
...
|
478
|
+
def __repr__(self) -> str:
|
479
|
+
...
|
480
|
+
def __setstate__(self, arg0: tuple) -> None:
|
481
|
+
...
|
482
|
+
@property
|
483
|
+
def base_acceleration_initialization_timeout(self) -> bool:
|
484
|
+
...
|
485
|
+
@property
|
486
|
+
def base_acceleration_invalid_reading(self) -> bool:
|
487
|
+
...
|
488
|
+
@property
|
489
|
+
def cartesian_motion_generator_acceleration_discontinuity(self) -> bool:
|
490
|
+
...
|
491
|
+
@property
|
492
|
+
def cartesian_motion_generator_elbow_limit_violation(self) -> bool:
|
493
|
+
...
|
494
|
+
@property
|
495
|
+
def cartesian_motion_generator_elbow_sign_inconsistent(self) -> bool:
|
496
|
+
...
|
497
|
+
@property
|
498
|
+
def cartesian_motion_generator_joint_acceleration_discontinuity(self) -> bool:
|
499
|
+
...
|
500
|
+
@property
|
501
|
+
def cartesian_motion_generator_joint_position_limits_violation(self) -> bool:
|
502
|
+
...
|
503
|
+
@property
|
504
|
+
def cartesian_motion_generator_joint_velocity_discontinuity(self) -> bool:
|
505
|
+
...
|
506
|
+
@property
|
507
|
+
def cartesian_motion_generator_joint_velocity_limits_violation(self) -> bool:
|
508
|
+
...
|
509
|
+
@property
|
510
|
+
def cartesian_motion_generator_start_elbow_invalid(self) -> bool:
|
511
|
+
...
|
512
|
+
@property
|
513
|
+
def cartesian_motion_generator_velocity_discontinuity(self) -> bool:
|
514
|
+
...
|
515
|
+
@property
|
516
|
+
def cartesian_motion_generator_velocity_limits_violation(self) -> bool:
|
517
|
+
...
|
518
|
+
@property
|
519
|
+
def cartesian_position_limits_violation(self) -> bool:
|
520
|
+
...
|
521
|
+
@property
|
522
|
+
def cartesian_position_motion_generator_invalid_frame(self) -> bool:
|
523
|
+
...
|
524
|
+
@property
|
525
|
+
def cartesian_position_motion_generator_start_pose_invalid(self) -> bool:
|
526
|
+
...
|
527
|
+
@property
|
528
|
+
def cartesian_reflex(self) -> bool:
|
529
|
+
...
|
530
|
+
@property
|
531
|
+
def cartesian_spline_motion_generator_violation(self) -> bool:
|
532
|
+
...
|
533
|
+
@property
|
534
|
+
def cartesian_velocity_profile_safety_violation(self) -> bool:
|
535
|
+
...
|
536
|
+
@property
|
537
|
+
def cartesian_velocity_violation(self) -> bool:
|
538
|
+
...
|
539
|
+
@property
|
540
|
+
def communication_constraints_violation(self) -> bool:
|
541
|
+
...
|
542
|
+
@property
|
543
|
+
def controller_torque_discontinuity(self) -> bool:
|
544
|
+
...
|
545
|
+
@property
|
546
|
+
def force_control_safety_violation(self) -> bool:
|
547
|
+
...
|
548
|
+
@property
|
549
|
+
def force_controller_desired_force_tolerance_violation(self) -> bool:
|
550
|
+
...
|
551
|
+
@property
|
552
|
+
def instability_detected(self) -> bool:
|
553
|
+
...
|
554
|
+
@property
|
555
|
+
def joint_motion_generator_acceleration_discontinuity(self) -> bool:
|
556
|
+
...
|
557
|
+
@property
|
558
|
+
def joint_motion_generator_position_limits_violation(self) -> bool:
|
559
|
+
...
|
560
|
+
@property
|
561
|
+
def joint_motion_generator_velocity_discontinuity(self) -> bool:
|
562
|
+
...
|
563
|
+
@property
|
564
|
+
def joint_motion_generator_velocity_limits_violation(self) -> bool:
|
565
|
+
...
|
566
|
+
@property
|
567
|
+
def joint_move_in_wrong_direction(self) -> bool:
|
568
|
+
...
|
569
|
+
@property
|
570
|
+
def joint_p2p_insufficient_torque_for_planning(self) -> bool:
|
571
|
+
...
|
572
|
+
@property
|
573
|
+
def joint_position_limits_violation(self) -> bool:
|
574
|
+
...
|
575
|
+
@property
|
576
|
+
def joint_position_motion_generator_start_pose_invalid(self) -> bool:
|
577
|
+
...
|
578
|
+
@property
|
579
|
+
def joint_reflex(self) -> bool:
|
580
|
+
...
|
581
|
+
@property
|
582
|
+
def joint_velocity_violation(self) -> bool:
|
583
|
+
...
|
584
|
+
@property
|
585
|
+
def joint_via_motion_generator_planning_joint_limit_violation(self) -> bool:
|
586
|
+
...
|
587
|
+
@property
|
588
|
+
def max_goal_pose_deviation_violation(self) -> bool:
|
589
|
+
...
|
590
|
+
@property
|
591
|
+
def max_path_pose_deviation_violation(self) -> bool:
|
592
|
+
...
|
593
|
+
@property
|
594
|
+
def power_limit_violation(self) -> bool:
|
595
|
+
...
|
596
|
+
@property
|
597
|
+
def self_collision_avoidance_violation(self) -> bool:
|
598
|
+
...
|
599
|
+
@property
|
600
|
+
def start_elbow_sign_inconsistent(self) -> bool:
|
601
|
+
...
|
602
|
+
@property
|
603
|
+
def tau_j_range_violation(self) -> bool:
|
604
|
+
...
|
605
|
+
class Exception(Exception):
|
606
|
+
pass
|
607
|
+
class ExponentialImpedanceMotion(ImpedanceMotion):
|
608
|
+
@staticmethod
|
609
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
610
|
+
...
|
611
|
+
def __init__(self, target: Affine, target_type: ReferenceType = ..., translational_stiffness: float = 2000, rotational_stiffness: float = 200, force_constraints: typing.Annotated[list[float | None], pybind11_stubgen.typing_ext.FixedSize(6)] | None = None, exponential_decay: float = 0.005) -> None:
|
612
|
+
...
|
613
|
+
class FlipDirection:
|
614
|
+
"""
|
615
|
+
Members:
|
616
|
+
|
617
|
+
Negative
|
618
|
+
|
619
|
+
Neutral
|
620
|
+
|
621
|
+
Positive
|
622
|
+
"""
|
623
|
+
Negative: typing.ClassVar[FlipDirection] # value = <FlipDirection.Negative: -1>
|
624
|
+
Neutral: typing.ClassVar[FlipDirection] # value = <FlipDirection.Neutral: 0>
|
625
|
+
Positive: typing.ClassVar[FlipDirection] # value = <FlipDirection.Positive: 1>
|
626
|
+
__members__: typing.ClassVar[dict[str, FlipDirection]] # value = {'Negative': <FlipDirection.Negative: -1>, 'Neutral': <FlipDirection.Neutral: 0>, 'Positive': <FlipDirection.Positive: 1>}
|
627
|
+
@staticmethod
|
628
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
629
|
+
...
|
630
|
+
def __eq__(self, other: typing.Any) -> bool:
|
631
|
+
...
|
632
|
+
def __getstate__(self) -> int:
|
633
|
+
...
|
634
|
+
def __hash__(self) -> int:
|
635
|
+
...
|
636
|
+
def __index__(self) -> int:
|
637
|
+
...
|
638
|
+
def __init__(self, value: int) -> None:
|
639
|
+
...
|
640
|
+
def __int__(self) -> int:
|
641
|
+
...
|
642
|
+
def __ne__(self, other: typing.Any) -> bool:
|
643
|
+
...
|
644
|
+
def __repr__(self) -> str:
|
645
|
+
...
|
646
|
+
def __setstate__(self, state: int) -> None:
|
647
|
+
...
|
648
|
+
def __str__(self) -> str:
|
649
|
+
...
|
650
|
+
@property
|
651
|
+
def name(self) -> str:
|
652
|
+
...
|
653
|
+
@property
|
654
|
+
def value(self) -> int:
|
655
|
+
...
|
656
|
+
class Frame:
|
657
|
+
"""
|
658
|
+
Members:
|
659
|
+
|
660
|
+
Joint1
|
661
|
+
|
662
|
+
Joint2
|
663
|
+
|
664
|
+
Joint3
|
665
|
+
|
666
|
+
Joint4
|
667
|
+
|
668
|
+
Joint5
|
669
|
+
|
670
|
+
Joint6
|
671
|
+
|
672
|
+
Joint7
|
673
|
+
|
674
|
+
Flange
|
675
|
+
|
676
|
+
EndEffector
|
677
|
+
|
678
|
+
Stiffness
|
679
|
+
"""
|
680
|
+
EndEffector: typing.ClassVar[Frame] # value = <Frame.EndEffector: 8>
|
681
|
+
Flange: typing.ClassVar[Frame] # value = <Frame.Flange: 7>
|
682
|
+
Joint1: typing.ClassVar[Frame] # value = <Frame.Joint1: 0>
|
683
|
+
Joint2: typing.ClassVar[Frame] # value = <Frame.Joint2: 1>
|
684
|
+
Joint3: typing.ClassVar[Frame] # value = <Frame.Joint3: 2>
|
685
|
+
Joint4: typing.ClassVar[Frame] # value = <Frame.Joint4: 3>
|
686
|
+
Joint5: typing.ClassVar[Frame] # value = <Frame.Joint5: 4>
|
687
|
+
Joint6: typing.ClassVar[Frame] # value = <Frame.Joint6: 5>
|
688
|
+
Joint7: typing.ClassVar[Frame] # value = <Frame.Joint7: 6>
|
689
|
+
Stiffness: typing.ClassVar[Frame] # value = <Frame.Stiffness: 9>
|
690
|
+
__members__: typing.ClassVar[dict[str, Frame]] # value = {'Joint1': <Frame.Joint1: 0>, 'Joint2': <Frame.Joint2: 1>, 'Joint3': <Frame.Joint3: 2>, 'Joint4': <Frame.Joint4: 3>, 'Joint5': <Frame.Joint5: 4>, 'Joint6': <Frame.Joint6: 5>, 'Joint7': <Frame.Joint7: 6>, 'Flange': <Frame.Flange: 7>, 'EndEffector': <Frame.EndEffector: 8>, 'Stiffness': <Frame.Stiffness: 9>}
|
691
|
+
@staticmethod
|
692
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
693
|
+
...
|
694
|
+
def __eq__(self, other: typing.Any) -> bool:
|
695
|
+
...
|
696
|
+
def __getstate__(self) -> int:
|
697
|
+
...
|
698
|
+
def __hash__(self) -> int:
|
699
|
+
...
|
700
|
+
def __index__(self) -> int:
|
701
|
+
...
|
702
|
+
def __init__(self, value: int) -> None:
|
703
|
+
...
|
704
|
+
def __int__(self) -> int:
|
705
|
+
...
|
706
|
+
def __ne__(self, other: typing.Any) -> bool:
|
707
|
+
...
|
708
|
+
def __repr__(self) -> str:
|
709
|
+
...
|
710
|
+
def __setstate__(self, state: int) -> None:
|
711
|
+
...
|
712
|
+
def __str__(self) -> str:
|
713
|
+
...
|
714
|
+
@property
|
715
|
+
def name(self) -> str:
|
716
|
+
...
|
717
|
+
@property
|
718
|
+
def value(self) -> int:
|
719
|
+
...
|
720
|
+
class Gripper:
|
721
|
+
@staticmethod
|
722
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
723
|
+
...
|
724
|
+
def __init__(self, fci_hostname: str) -> None:
|
725
|
+
...
|
726
|
+
def grasp(self, width: float, speed: float, force: float, epsilon_inner: float = 0.005, epsilon_outer: float = 0.005) -> bool:
|
727
|
+
...
|
728
|
+
def grasp_async(self, width: float, speed: float, force: float, epsilon_inner: float = 0.005, epsilon_outer: float = 0.005) -> BoolFuture:
|
729
|
+
...
|
730
|
+
def homing(self) -> bool:
|
731
|
+
...
|
732
|
+
def homing_async(self) -> BoolFuture:
|
733
|
+
...
|
734
|
+
def move(self, width: float, speed: float) -> bool:
|
735
|
+
...
|
736
|
+
def move_async(self, width: float, speed: float) -> BoolFuture:
|
737
|
+
...
|
738
|
+
def open(self, speed: float) -> bool:
|
739
|
+
...
|
740
|
+
def open_async(self, speed: float) -> BoolFuture:
|
741
|
+
...
|
742
|
+
def stop(self) -> bool:
|
743
|
+
...
|
744
|
+
def stop_async(self) -> BoolFuture:
|
745
|
+
...
|
746
|
+
@property
|
747
|
+
def is_grasped(self) -> bool:
|
748
|
+
...
|
749
|
+
@property
|
750
|
+
def max_width(self) -> float:
|
751
|
+
...
|
752
|
+
@property
|
753
|
+
def server_version(self) -> int:
|
754
|
+
...
|
755
|
+
@property
|
756
|
+
def state(self) -> GripperState:
|
757
|
+
...
|
758
|
+
@property
|
759
|
+
def width(self) -> float:
|
760
|
+
...
|
761
|
+
class GripperException(Exception):
|
762
|
+
pass
|
763
|
+
class GripperState:
|
764
|
+
@staticmethod
|
765
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
766
|
+
...
|
767
|
+
def __getstate__(self) -> tuple:
|
768
|
+
...
|
769
|
+
def __setstate__(self, arg0: tuple) -> None:
|
770
|
+
...
|
771
|
+
@property
|
772
|
+
def is_grasped(self) -> bool:
|
773
|
+
...
|
774
|
+
@property
|
775
|
+
def max_width(self) -> float:
|
776
|
+
...
|
777
|
+
@property
|
778
|
+
def temperature(self) -> int:
|
779
|
+
...
|
780
|
+
@property
|
781
|
+
def time(self) -> Duration:
|
782
|
+
...
|
783
|
+
@property
|
784
|
+
def width(self) -> float:
|
785
|
+
...
|
786
|
+
class ImpedanceMotion(BaseTorqueMotion):
|
787
|
+
@staticmethod
|
788
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
789
|
+
...
|
790
|
+
class IncompatibleVersionException(Exception):
|
791
|
+
pass
|
792
|
+
class InvalidMotionTypeException(Exception):
|
793
|
+
pass
|
794
|
+
class InvalidOperationException(Exception):
|
795
|
+
pass
|
796
|
+
class JointMotion(JointWaypointMotion):
|
797
|
+
@staticmethod
|
798
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
799
|
+
...
|
800
|
+
def __init__(self, target: JointState | list[float] | np.ndarray, reference_type: ReferenceType = ..., relative_dynamics_factor: RelativeDynamicsFactor | float = 1.0, return_when_finished: bool = True) -> None:
|
801
|
+
...
|
802
|
+
class JointPositionReaction:
|
803
|
+
@staticmethod
|
804
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
805
|
+
...
|
806
|
+
def __init__(self, condition: Condition | bool, motion: BaseJointPositionMotion = None) -> None:
|
807
|
+
...
|
808
|
+
def register_callback(self, callback: typing.Callable[[_franky.RobotState, _franky.Duration, _franky.Duration], None]) -> None:
|
809
|
+
...
|
810
|
+
class JointPositions:
|
811
|
+
@staticmethod
|
812
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
813
|
+
...
|
814
|
+
def __getstate__(self) -> tuple:
|
815
|
+
...
|
816
|
+
def __setstate__(self, arg0: tuple) -> None:
|
817
|
+
...
|
818
|
+
@property
|
819
|
+
def q(self) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(7)]:
|
820
|
+
...
|
821
|
+
class JointState:
|
822
|
+
@staticmethod
|
823
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
824
|
+
...
|
825
|
+
def __getstate__(self) -> tuple:
|
826
|
+
...
|
827
|
+
@typing.overload
|
828
|
+
def __init__(self, position: numpy.ndarray[numpy.float64[7, 1]]) -> None:
|
829
|
+
...
|
830
|
+
@typing.overload
|
831
|
+
def __init__(self, position: numpy.ndarray[numpy.float64[7, 1]], velocity: numpy.ndarray[numpy.float64[7, 1]]) -> None:
|
832
|
+
...
|
833
|
+
@typing.overload
|
834
|
+
def __init__(self, arg0: JointState | list[float] | np.ndarray) -> None:
|
835
|
+
...
|
836
|
+
def __repr__(self) -> str:
|
837
|
+
...
|
838
|
+
def __setstate__(self, arg0: tuple) -> None:
|
839
|
+
...
|
840
|
+
@property
|
841
|
+
def position(self) -> numpy.ndarray[numpy.float64[7, 1]]:
|
842
|
+
...
|
843
|
+
@property
|
844
|
+
def velocity(self) -> numpy.ndarray[numpy.float64[7, 1]]:
|
845
|
+
...
|
846
|
+
class JointStopMotion(BaseJointPositionMotion):
|
847
|
+
@staticmethod
|
848
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
849
|
+
...
|
850
|
+
def __init__(self, relative_dynamics_factor: RelativeDynamicsFactor | float = 1.0) -> None:
|
851
|
+
...
|
852
|
+
class JointVelocities:
|
853
|
+
@staticmethod
|
854
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
855
|
+
...
|
856
|
+
def __getstate__(self) -> tuple:
|
857
|
+
...
|
858
|
+
def __setstate__(self, arg0: tuple) -> None:
|
859
|
+
...
|
860
|
+
@property
|
861
|
+
def dq(self) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(7)]:
|
862
|
+
...
|
863
|
+
class JointVelocityMotion(JointVelocityWaypointMotion):
|
864
|
+
@staticmethod
|
865
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
866
|
+
...
|
867
|
+
def __init__(self, target: numpy.ndarray[numpy.float64[7, 1]], duration: Duration = ..., relative_dynamics_factor: RelativeDynamicsFactor | float = 1.0) -> None:
|
868
|
+
...
|
869
|
+
class JointVelocityReaction:
|
870
|
+
@staticmethod
|
871
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
872
|
+
...
|
873
|
+
def __init__(self, condition: Condition | bool, motion: BaseJointVelocityMotion = None) -> None:
|
874
|
+
...
|
875
|
+
def register_callback(self, callback: typing.Callable[[_franky.RobotState, _franky.Duration, _franky.Duration], None]) -> None:
|
876
|
+
...
|
877
|
+
class JointVelocityStopMotion(BaseJointVelocityMotion):
|
878
|
+
@staticmethod
|
879
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
880
|
+
...
|
881
|
+
def __init__(self, relative_dynamics_factor: RelativeDynamicsFactor | float = 1.0) -> None:
|
882
|
+
...
|
883
|
+
class JointVelocityWaypoint:
|
884
|
+
@staticmethod
|
885
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
886
|
+
...
|
887
|
+
def __init__(self, target: numpy.ndarray[numpy.float64[7, 1]], relative_dynamics_factor: RelativeDynamicsFactor | float = 1.0, minimum_time: Duration | None = None, hold_target_duration: Duration = ..., max_total_duration: Duration | None = None) -> None:
|
888
|
+
...
|
889
|
+
@property
|
890
|
+
def hold_target_duration(self) -> Duration:
|
891
|
+
...
|
892
|
+
@property
|
893
|
+
def max_total_duration(self) -> Duration | None:
|
894
|
+
...
|
895
|
+
@property
|
896
|
+
def minimum_time(self) -> Duration | None:
|
897
|
+
...
|
898
|
+
@property
|
899
|
+
def relative_dynamics_factor(self) -> RelativeDynamicsFactor:
|
900
|
+
...
|
901
|
+
@property
|
902
|
+
def target(self) -> numpy.ndarray[numpy.float64[7, 1]]:
|
903
|
+
...
|
904
|
+
class JointVelocityWaypointMotion(BaseJointVelocityMotion):
|
905
|
+
@staticmethod
|
906
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
907
|
+
...
|
908
|
+
def __init__(self, waypoints: list[JointVelocityWaypoint], relative_dynamics_factor: RelativeDynamicsFactor | float = 1.0) -> None:
|
909
|
+
...
|
910
|
+
class JointWaypoint:
|
911
|
+
@staticmethod
|
912
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
913
|
+
...
|
914
|
+
def __init__(self, target: JointState | list[float] | np.ndarray, reference_type: ReferenceType = ..., relative_dynamics_factor: RelativeDynamicsFactor | float = 1.0, minimum_time: Duration | None = None, hold_target_duration: Duration = ..., max_total_duration: Duration | None = None) -> None:
|
915
|
+
...
|
916
|
+
@property
|
917
|
+
def hold_target_duration(self) -> Duration:
|
918
|
+
...
|
919
|
+
@property
|
920
|
+
def max_total_duration(self) -> Duration | None:
|
921
|
+
...
|
922
|
+
@property
|
923
|
+
def minimum_time(self) -> Duration | None:
|
924
|
+
...
|
925
|
+
@property
|
926
|
+
def reference_type(self) -> ReferenceType:
|
927
|
+
...
|
928
|
+
@property
|
929
|
+
def relative_dynamics_factor(self) -> RelativeDynamicsFactor:
|
930
|
+
...
|
931
|
+
@property
|
932
|
+
def target(self) -> JointState:
|
933
|
+
...
|
934
|
+
class JointWaypointMotion(BaseJointPositionMotion):
|
935
|
+
@staticmethod
|
936
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
937
|
+
...
|
938
|
+
def __init__(self, waypoints: list[JointWaypoint], relative_dynamics_factor: RelativeDynamicsFactor | float = 1.0, return_when_finished: bool = True) -> None:
|
939
|
+
...
|
940
|
+
class Measure:
|
941
|
+
ABS_TIME: typing.ClassVar[Measure] # value = t
|
942
|
+
FORCE_X: typing.ClassVar[Measure] # value = F_x
|
943
|
+
FORCE_Y: typing.ClassVar[Measure] # value = F_y
|
944
|
+
FORCE_Z: typing.ClassVar[Measure] # value = F_z
|
945
|
+
REL_TIME: typing.ClassVar[Measure] # value = t
|
946
|
+
__hash__: typing.ClassVar[None] = None
|
947
|
+
@staticmethod
|
948
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
949
|
+
...
|
950
|
+
@typing.overload
|
951
|
+
def __add__(self, arg0: Measure) -> Measure:
|
952
|
+
...
|
953
|
+
@typing.overload
|
954
|
+
def __add__(self, arg0: float) -> Measure:
|
955
|
+
...
|
956
|
+
@typing.overload
|
957
|
+
def __eq__(self, arg0: Measure) -> Condition:
|
958
|
+
...
|
959
|
+
@typing.overload
|
960
|
+
def __eq__(self, arg0: float) -> Condition:
|
961
|
+
...
|
962
|
+
@typing.overload
|
963
|
+
def __ge__(self, arg0: Measure) -> Condition:
|
964
|
+
...
|
965
|
+
@typing.overload
|
966
|
+
def __ge__(self, arg0: float) -> Condition:
|
967
|
+
...
|
968
|
+
@typing.overload
|
969
|
+
def __gt__(self, arg0: Measure) -> Condition:
|
970
|
+
...
|
971
|
+
@typing.overload
|
972
|
+
def __gt__(self, arg0: float) -> Condition:
|
973
|
+
...
|
974
|
+
@typing.overload
|
975
|
+
def __le__(self, arg0: Measure) -> Condition:
|
976
|
+
...
|
977
|
+
@typing.overload
|
978
|
+
def __le__(self, arg0: float) -> Condition:
|
979
|
+
...
|
980
|
+
@typing.overload
|
981
|
+
def __lt__(self, arg0: Measure) -> Condition:
|
982
|
+
...
|
983
|
+
@typing.overload
|
984
|
+
def __lt__(self, arg0: float) -> Condition:
|
985
|
+
...
|
986
|
+
@typing.overload
|
987
|
+
def __mul__(self, arg0: Measure) -> Measure:
|
988
|
+
...
|
989
|
+
@typing.overload
|
990
|
+
def __mul__(self, arg0: float) -> Measure:
|
991
|
+
...
|
992
|
+
@typing.overload
|
993
|
+
def __ne__(self, arg0: Measure) -> Condition:
|
994
|
+
...
|
995
|
+
@typing.overload
|
996
|
+
def __ne__(self, arg0: float) -> Condition:
|
997
|
+
...
|
998
|
+
def __neg__(self) -> Measure:
|
999
|
+
...
|
1000
|
+
@typing.overload
|
1001
|
+
def __pow__(self, arg0: Measure) -> Measure:
|
1002
|
+
...
|
1003
|
+
@typing.overload
|
1004
|
+
def __pow__(self, arg0: float) -> Measure:
|
1005
|
+
...
|
1006
|
+
def __radd__(self, arg0: float) -> Measure:
|
1007
|
+
...
|
1008
|
+
def __repr__(self) -> str:
|
1009
|
+
...
|
1010
|
+
def __rmul__(self, arg0: float) -> Measure:
|
1011
|
+
...
|
1012
|
+
def __rpow__(self, arg0: float) -> Measure:
|
1013
|
+
...
|
1014
|
+
def __rsub__(self, arg0: float) -> Measure:
|
1015
|
+
...
|
1016
|
+
def __rtruediv__(self, arg0: float) -> Measure:
|
1017
|
+
...
|
1018
|
+
@typing.overload
|
1019
|
+
def __sub__(self, arg0: Measure) -> Measure:
|
1020
|
+
...
|
1021
|
+
@typing.overload
|
1022
|
+
def __sub__(self, arg0: float) -> Measure:
|
1023
|
+
...
|
1024
|
+
@typing.overload
|
1025
|
+
def __truediv__(self, arg0: Measure) -> Measure:
|
1026
|
+
...
|
1027
|
+
@typing.overload
|
1028
|
+
def __truediv__(self, arg0: float) -> Measure:
|
1029
|
+
...
|
1030
|
+
class Model:
|
1031
|
+
@staticmethod
|
1032
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
1033
|
+
...
|
1034
|
+
@typing.overload
|
1035
|
+
def body_jacobian(self, frame: Frame, state: RobotState) -> numpy.ndarray[numpy.float64[6, 7]]:
|
1036
|
+
...
|
1037
|
+
@typing.overload
|
1038
|
+
def body_jacobian(self, frame: Frame, q: numpy.ndarray[numpy.float64[7, 1]], F_T_EE: Affine, EE_T_K: Affine) -> numpy.ndarray[numpy.float64[6, 7]]:
|
1039
|
+
...
|
1040
|
+
@typing.overload
|
1041
|
+
def coriolis(self, state: RobotState) -> numpy.ndarray[numpy.float64[7, 1]]:
|
1042
|
+
...
|
1043
|
+
@typing.overload
|
1044
|
+
def coriolis(self, q: numpy.ndarray[numpy.float64[7, 1]], dq: numpy.ndarray[numpy.float64[7, 1]], I_total: numpy.ndarray[numpy.float64[3, 3]], m_total: float, F_x_Ctotal: numpy.ndarray[numpy.float64[3, 1]]) -> numpy.ndarray[numpy.float64[7, 1]]:
|
1045
|
+
...
|
1046
|
+
@typing.overload
|
1047
|
+
def gravity(self, state: RobotState, gravity_earth: numpy.ndarray[numpy.float64[3, 1]]) -> numpy.ndarray[numpy.float64[7, 1]]:
|
1048
|
+
...
|
1049
|
+
@typing.overload
|
1050
|
+
def gravity(self, state: RobotState) -> numpy.ndarray[numpy.float64[7, 1]]:
|
1051
|
+
...
|
1052
|
+
@typing.overload
|
1053
|
+
def gravity(self, q: numpy.ndarray[numpy.float64[7, 1]], m_total: float, F_x_Ctotal: numpy.ndarray[numpy.float64[3, 1]], gravity_earth: numpy.ndarray[numpy.float64[3, 1]] = ...) -> numpy.ndarray[numpy.float64[7, 1]]:
|
1054
|
+
...
|
1055
|
+
@typing.overload
|
1056
|
+
def mass(self, state: RobotState) -> numpy.ndarray[numpy.float64[7, 7]]:
|
1057
|
+
...
|
1058
|
+
@typing.overload
|
1059
|
+
def mass(self, q: numpy.ndarray[numpy.float64[7, 1]], I_total: numpy.ndarray[numpy.float64[3, 3]], m_total: float, F_x_Ctotal: numpy.ndarray[numpy.float64[3, 1]]) -> numpy.ndarray[numpy.float64[7, 7]]:
|
1060
|
+
...
|
1061
|
+
@typing.overload
|
1062
|
+
def pose(self, frame: Frame, state: RobotState) -> Affine:
|
1063
|
+
...
|
1064
|
+
@typing.overload
|
1065
|
+
def pose(self, frame: Frame, q: numpy.ndarray[numpy.float64[7, 1]], F_T_EE: Affine, EE_T_K: Affine) -> Affine:
|
1066
|
+
...
|
1067
|
+
@typing.overload
|
1068
|
+
def zero_jacobian(self, frame: Frame, state: RobotState) -> numpy.ndarray[numpy.float64[6, 7]]:
|
1069
|
+
...
|
1070
|
+
@typing.overload
|
1071
|
+
def zero_jacobian(self, frame: Frame, q: numpy.ndarray[numpy.float64[7, 1]], F_T_EE: Affine, EE_T_K: Affine) -> numpy.ndarray[numpy.float64[6, 7]]:
|
1072
|
+
...
|
1073
|
+
class ModelException(Exception):
|
1074
|
+
pass
|
1075
|
+
class NetworkException(Exception):
|
1076
|
+
pass
|
1077
|
+
class ProtocolException(Exception):
|
1078
|
+
pass
|
1079
|
+
class ReactionRecursionException(Exception):
|
1080
|
+
pass
|
1081
|
+
class RealtimeConfig:
|
1082
|
+
"""
|
1083
|
+
Members:
|
1084
|
+
|
1085
|
+
Enforce
|
1086
|
+
|
1087
|
+
Ignore
|
1088
|
+
"""
|
1089
|
+
Enforce: typing.ClassVar[RealtimeConfig] # value = <RealtimeConfig.Enforce: 0>
|
1090
|
+
Ignore: typing.ClassVar[RealtimeConfig] # value = <RealtimeConfig.Ignore: 1>
|
1091
|
+
__members__: typing.ClassVar[dict[str, RealtimeConfig]] # value = {'Enforce': <RealtimeConfig.Enforce: 0>, 'Ignore': <RealtimeConfig.Ignore: 1>}
|
1092
|
+
@staticmethod
|
1093
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
1094
|
+
...
|
1095
|
+
def __eq__(self, other: typing.Any) -> bool:
|
1096
|
+
...
|
1097
|
+
def __getstate__(self) -> int:
|
1098
|
+
...
|
1099
|
+
def __hash__(self) -> int:
|
1100
|
+
...
|
1101
|
+
def __index__(self) -> int:
|
1102
|
+
...
|
1103
|
+
def __init__(self, value: int) -> None:
|
1104
|
+
...
|
1105
|
+
def __int__(self) -> int:
|
1106
|
+
...
|
1107
|
+
def __ne__(self, other: typing.Any) -> bool:
|
1108
|
+
...
|
1109
|
+
def __repr__(self) -> str:
|
1110
|
+
...
|
1111
|
+
def __setstate__(self, state: int) -> None:
|
1112
|
+
...
|
1113
|
+
def __str__(self) -> str:
|
1114
|
+
...
|
1115
|
+
@property
|
1116
|
+
def name(self) -> str:
|
1117
|
+
...
|
1118
|
+
@property
|
1119
|
+
def value(self) -> int:
|
1120
|
+
...
|
1121
|
+
class RealtimeException(Exception):
|
1122
|
+
pass
|
1123
|
+
class ReferenceType:
|
1124
|
+
"""
|
1125
|
+
Members:
|
1126
|
+
|
1127
|
+
Relative
|
1128
|
+
|
1129
|
+
Absolute
|
1130
|
+
"""
|
1131
|
+
Absolute: typing.ClassVar[ReferenceType] # value = <ReferenceType.Absolute: 0>
|
1132
|
+
Relative: typing.ClassVar[ReferenceType] # value = <ReferenceType.Relative: 1>
|
1133
|
+
__members__: typing.ClassVar[dict[str, ReferenceType]] # value = {'Relative': <ReferenceType.Relative: 1>, 'Absolute': <ReferenceType.Absolute: 0>}
|
1134
|
+
@staticmethod
|
1135
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
1136
|
+
...
|
1137
|
+
def __eq__(self, other: typing.Any) -> bool:
|
1138
|
+
...
|
1139
|
+
def __getstate__(self) -> int:
|
1140
|
+
...
|
1141
|
+
def __hash__(self) -> int:
|
1142
|
+
...
|
1143
|
+
def __index__(self) -> int:
|
1144
|
+
...
|
1145
|
+
def __init__(self, value: int) -> None:
|
1146
|
+
...
|
1147
|
+
def __int__(self) -> int:
|
1148
|
+
...
|
1149
|
+
def __ne__(self, other: typing.Any) -> bool:
|
1150
|
+
...
|
1151
|
+
def __repr__(self) -> str:
|
1152
|
+
...
|
1153
|
+
def __setstate__(self, state: int) -> None:
|
1154
|
+
...
|
1155
|
+
def __str__(self) -> str:
|
1156
|
+
...
|
1157
|
+
@property
|
1158
|
+
def name(self) -> str:
|
1159
|
+
...
|
1160
|
+
@property
|
1161
|
+
def value(self) -> int:
|
1162
|
+
...
|
1163
|
+
class RelativeDynamicsFactor:
|
1164
|
+
MAX_DYNAMICS: typing.ClassVar[RelativeDynamicsFactor] # value = <_franky.RelativeDynamicsFactor object>
|
1165
|
+
@staticmethod
|
1166
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
1167
|
+
...
|
1168
|
+
@typing.overload
|
1169
|
+
def __init__(self) -> None:
|
1170
|
+
...
|
1171
|
+
@typing.overload
|
1172
|
+
def __init__(self, value: float) -> None:
|
1173
|
+
...
|
1174
|
+
@typing.overload
|
1175
|
+
def __init__(self, velocity: float, acceleration: float, jerk: float) -> None:
|
1176
|
+
...
|
1177
|
+
def __mul__(self, arg0: RelativeDynamicsFactor | float) -> RelativeDynamicsFactor:
|
1178
|
+
...
|
1179
|
+
@property
|
1180
|
+
def acceleration(self) -> float:
|
1181
|
+
...
|
1182
|
+
@property
|
1183
|
+
def jerk(self) -> float:
|
1184
|
+
...
|
1185
|
+
@property
|
1186
|
+
def max_dynamics(self) -> bool:
|
1187
|
+
...
|
1188
|
+
@property
|
1189
|
+
def velocity(self) -> float:
|
1190
|
+
...
|
1191
|
+
class RobotMode:
|
1192
|
+
"""
|
1193
|
+
Members:
|
1194
|
+
|
1195
|
+
Other
|
1196
|
+
|
1197
|
+
Idle
|
1198
|
+
|
1199
|
+
Move
|
1200
|
+
|
1201
|
+
Guiding
|
1202
|
+
|
1203
|
+
Reflex
|
1204
|
+
|
1205
|
+
UserStopped
|
1206
|
+
|
1207
|
+
AutomaticErrorRecovery
|
1208
|
+
"""
|
1209
|
+
AutomaticErrorRecovery: typing.ClassVar[RobotMode] # value = <RobotMode.AutomaticErrorRecovery: 6>
|
1210
|
+
Guiding: typing.ClassVar[RobotMode] # value = <RobotMode.Guiding: 3>
|
1211
|
+
Idle: typing.ClassVar[RobotMode] # value = <RobotMode.Idle: 1>
|
1212
|
+
Move: typing.ClassVar[RobotMode] # value = <RobotMode.Move: 2>
|
1213
|
+
Other: typing.ClassVar[RobotMode] # value = <RobotMode.Other: 0>
|
1214
|
+
Reflex: typing.ClassVar[RobotMode] # value = <RobotMode.Reflex: 4>
|
1215
|
+
UserStopped: typing.ClassVar[RobotMode] # value = <RobotMode.UserStopped: 5>
|
1216
|
+
__members__: typing.ClassVar[dict[str, RobotMode]] # value = {'Other': <RobotMode.Other: 0>, 'Idle': <RobotMode.Idle: 1>, 'Move': <RobotMode.Move: 2>, 'Guiding': <RobotMode.Guiding: 3>, 'Reflex': <RobotMode.Reflex: 4>, 'UserStopped': <RobotMode.UserStopped: 5>, 'AutomaticErrorRecovery': <RobotMode.AutomaticErrorRecovery: 6>}
|
1217
|
+
@staticmethod
|
1218
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
1219
|
+
...
|
1220
|
+
def __eq__(self, other: typing.Any) -> bool:
|
1221
|
+
...
|
1222
|
+
def __getstate__(self) -> int:
|
1223
|
+
...
|
1224
|
+
def __hash__(self) -> int:
|
1225
|
+
...
|
1226
|
+
def __index__(self) -> int:
|
1227
|
+
...
|
1228
|
+
def __init__(self, value: int) -> None:
|
1229
|
+
...
|
1230
|
+
def __int__(self) -> int:
|
1231
|
+
...
|
1232
|
+
def __ne__(self, other: typing.Any) -> bool:
|
1233
|
+
...
|
1234
|
+
def __repr__(self) -> str:
|
1235
|
+
...
|
1236
|
+
def __setstate__(self, state: int) -> None:
|
1237
|
+
...
|
1238
|
+
def __str__(self) -> str:
|
1239
|
+
...
|
1240
|
+
@property
|
1241
|
+
def name(self) -> str:
|
1242
|
+
...
|
1243
|
+
@property
|
1244
|
+
def value(self) -> int:
|
1245
|
+
...
|
1246
|
+
class RobotPose:
|
1247
|
+
@staticmethod
|
1248
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
1249
|
+
...
|
1250
|
+
def __getstate__(self) -> tuple:
|
1251
|
+
...
|
1252
|
+
@typing.overload
|
1253
|
+
def __init__(self, end_effector_pose: Affine, elbow_state: ElbowState | None = None) -> None:
|
1254
|
+
...
|
1255
|
+
@typing.overload
|
1256
|
+
def __init__(self, arg0: RobotPose | Affine) -> None:
|
1257
|
+
...
|
1258
|
+
def __mul__(self, arg0: Affine) -> RobotPose:
|
1259
|
+
...
|
1260
|
+
def __repr__(self) -> str:
|
1261
|
+
...
|
1262
|
+
def __rmul__(self, arg0: Affine) -> RobotPose:
|
1263
|
+
...
|
1264
|
+
def __setstate__(self, arg0: tuple) -> None:
|
1265
|
+
...
|
1266
|
+
def change_end_effector_frame(self, offset_world_frame: Affine) -> RobotPose:
|
1267
|
+
...
|
1268
|
+
def with_elbow_state(self, elbow_state: ElbowState | None) -> RobotPose:
|
1269
|
+
...
|
1270
|
+
@property
|
1271
|
+
def elbow_state(self) -> ElbowState | None:
|
1272
|
+
...
|
1273
|
+
@property
|
1274
|
+
def end_effector_pose(self) -> Affine:
|
1275
|
+
...
|
1276
|
+
class RobotState:
|
1277
|
+
@staticmethod
|
1278
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
1279
|
+
...
|
1280
|
+
def __getstate__(self) -> tuple:
|
1281
|
+
...
|
1282
|
+
def __setstate__(self, arg0: tuple) -> None:
|
1283
|
+
...
|
1284
|
+
@property
|
1285
|
+
def EE_T_K(self) -> Affine:
|
1286
|
+
...
|
1287
|
+
@property
|
1288
|
+
def F_T_EE(self) -> Affine:
|
1289
|
+
...
|
1290
|
+
@property
|
1291
|
+
def F_T_NE(self) -> Affine:
|
1292
|
+
...
|
1293
|
+
@property
|
1294
|
+
def F_x_Cee(self) -> numpy.ndarray[numpy.float64[3, 1]]:
|
1295
|
+
...
|
1296
|
+
@property
|
1297
|
+
def F_x_Cload(self) -> numpy.ndarray[numpy.float64[3, 1]]:
|
1298
|
+
...
|
1299
|
+
@property
|
1300
|
+
def F_x_Ctotal(self) -> numpy.ndarray[numpy.float64[3, 1]]:
|
1301
|
+
...
|
1302
|
+
@property
|
1303
|
+
def I_ee(self) -> numpy.ndarray[numpy.float64[3, 3]]:
|
1304
|
+
...
|
1305
|
+
@property
|
1306
|
+
def I_load(self) -> numpy.ndarray[numpy.float64[3, 3]]:
|
1307
|
+
...
|
1308
|
+
@property
|
1309
|
+
def I_total(self) -> numpy.ndarray[numpy.float64[3, 3]]:
|
1310
|
+
...
|
1311
|
+
@property
|
1312
|
+
def K_F_ext_hat_K(self) -> numpy.ndarray[numpy.float64[6, 1]]:
|
1313
|
+
...
|
1314
|
+
@property
|
1315
|
+
def NE_T_EE(self) -> Affine:
|
1316
|
+
...
|
1317
|
+
@property
|
1318
|
+
def O_F_ext_hat_K(self) -> numpy.ndarray[numpy.float64[6, 1]]:
|
1319
|
+
...
|
1320
|
+
@property
|
1321
|
+
def O_T_EE(self) -> Affine:
|
1322
|
+
...
|
1323
|
+
@property
|
1324
|
+
def O_T_EE_c(self) -> Affine:
|
1325
|
+
...
|
1326
|
+
@property
|
1327
|
+
def O_T_EE_d(self) -> Affine:
|
1328
|
+
...
|
1329
|
+
@property
|
1330
|
+
def O_dP_EE_c(self) -> Twist:
|
1331
|
+
...
|
1332
|
+
@property
|
1333
|
+
def O_dP_EE_d(self) -> Twist:
|
1334
|
+
...
|
1335
|
+
@property
|
1336
|
+
def O_dP_EE_est(self) -> Twist | None:
|
1337
|
+
...
|
1338
|
+
@property
|
1339
|
+
def O_ddP_EE_c(self) -> TwistAcceleration:
|
1340
|
+
...
|
1341
|
+
@property
|
1342
|
+
def O_ddP_EE_est(self) -> TwistAcceleration | None:
|
1343
|
+
...
|
1344
|
+
@property
|
1345
|
+
def O_ddP_O(self) -> numpy.ndarray[numpy.float64[3, 1]]:
|
1346
|
+
...
|
1347
|
+
@property
|
1348
|
+
def cartesian_collision(self) -> numpy.ndarray[numpy.float64[6, 1]]:
|
1349
|
+
...
|
1350
|
+
@property
|
1351
|
+
def cartesian_contact(self) -> numpy.ndarray[numpy.float64[6, 1]]:
|
1352
|
+
...
|
1353
|
+
@property
|
1354
|
+
def control_command_success_rate(self) -> float:
|
1355
|
+
...
|
1356
|
+
@property
|
1357
|
+
def current_errors(self) -> Errors:
|
1358
|
+
...
|
1359
|
+
@property
|
1360
|
+
def ddelbow_c(self) -> float:
|
1361
|
+
...
|
1362
|
+
@property
|
1363
|
+
def ddelbow_est(self) -> float | None:
|
1364
|
+
...
|
1365
|
+
@property
|
1366
|
+
def ddq_d(self) -> numpy.ndarray[numpy.float64[7, 1]]:
|
1367
|
+
...
|
1368
|
+
@property
|
1369
|
+
def ddq_est(self) -> numpy.ndarray[numpy.float64[7, 1]] | None:
|
1370
|
+
...
|
1371
|
+
@property
|
1372
|
+
def delbow_c(self) -> float:
|
1373
|
+
...
|
1374
|
+
@property
|
1375
|
+
def delbow_est(self) -> float | None:
|
1376
|
+
...
|
1377
|
+
@property
|
1378
|
+
def dq(self) -> numpy.ndarray[numpy.float64[7, 1]]:
|
1379
|
+
...
|
1380
|
+
@property
|
1381
|
+
def dq_d(self) -> numpy.ndarray[numpy.float64[7, 1]]:
|
1382
|
+
...
|
1383
|
+
@property
|
1384
|
+
def dq_est(self) -> numpy.ndarray[numpy.float64[7, 1]] | None:
|
1385
|
+
...
|
1386
|
+
@property
|
1387
|
+
def dtau_J(self) -> numpy.ndarray[numpy.float64[7, 1]]:
|
1388
|
+
...
|
1389
|
+
@property
|
1390
|
+
def dtheta(self) -> numpy.ndarray[numpy.float64[7, 1]]:
|
1391
|
+
...
|
1392
|
+
@property
|
1393
|
+
def elbow(self) -> ElbowState:
|
1394
|
+
...
|
1395
|
+
@property
|
1396
|
+
def elbow_c(self) -> ElbowState:
|
1397
|
+
...
|
1398
|
+
@property
|
1399
|
+
def elbow_d(self) -> ElbowState:
|
1400
|
+
...
|
1401
|
+
@property
|
1402
|
+
def joint_collision(self) -> numpy.ndarray[numpy.float64[7, 1]]:
|
1403
|
+
...
|
1404
|
+
@property
|
1405
|
+
def joint_contact(self) -> numpy.ndarray[numpy.float64[7, 1]]:
|
1406
|
+
...
|
1407
|
+
@property
|
1408
|
+
def last_motion_errors(self) -> Errors:
|
1409
|
+
...
|
1410
|
+
@property
|
1411
|
+
def m_ee(self) -> float:
|
1412
|
+
...
|
1413
|
+
@property
|
1414
|
+
def m_load(self) -> float:
|
1415
|
+
...
|
1416
|
+
@property
|
1417
|
+
def m_total(self) -> float:
|
1418
|
+
...
|
1419
|
+
@property
|
1420
|
+
def q(self) -> numpy.ndarray[numpy.float64[7, 1]]:
|
1421
|
+
...
|
1422
|
+
@property
|
1423
|
+
def q_d(self) -> numpy.ndarray[numpy.float64[7, 1]]:
|
1424
|
+
...
|
1425
|
+
@property
|
1426
|
+
def q_est(self) -> numpy.ndarray[numpy.float64[7, 1]] | None:
|
1427
|
+
...
|
1428
|
+
@property
|
1429
|
+
def robot_mode(self) -> RobotMode:
|
1430
|
+
...
|
1431
|
+
@property
|
1432
|
+
def tau_J(self) -> numpy.ndarray[numpy.float64[7, 1]]:
|
1433
|
+
...
|
1434
|
+
@property
|
1435
|
+
def tau_J_d(self) -> numpy.ndarray[numpy.float64[7, 1]]:
|
1436
|
+
...
|
1437
|
+
@property
|
1438
|
+
def tau_ext_hat_filtered(self) -> numpy.ndarray[numpy.float64[7, 1]]:
|
1439
|
+
...
|
1440
|
+
@property
|
1441
|
+
def theta(self) -> numpy.ndarray[numpy.float64[7, 1]]:
|
1442
|
+
...
|
1443
|
+
@property
|
1444
|
+
def time(self) -> Duration:
|
1445
|
+
...
|
1446
|
+
class RobotVelocity:
|
1447
|
+
@staticmethod
|
1448
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
1449
|
+
...
|
1450
|
+
def __getstate__(self) -> tuple:
|
1451
|
+
...
|
1452
|
+
@typing.overload
|
1453
|
+
def __init__(self, end_effector_twist: Twist, elbow_velocity: float | None = None) -> None:
|
1454
|
+
...
|
1455
|
+
@typing.overload
|
1456
|
+
def __init__(self, arg0: RobotVelocity | Twist) -> None:
|
1457
|
+
...
|
1458
|
+
def __repr__(self) -> str:
|
1459
|
+
...
|
1460
|
+
@typing.overload
|
1461
|
+
def __rmul__(self, arg0: Affine) -> RobotVelocity:
|
1462
|
+
...
|
1463
|
+
@typing.overload
|
1464
|
+
def __rmul__(self, arg0: numpy.ndarray[numpy.float64[4, 1]]) -> RobotVelocity:
|
1465
|
+
...
|
1466
|
+
def __setstate__(self, arg0: tuple) -> None:
|
1467
|
+
...
|
1468
|
+
def change_end_effector_frame(self, offset_world_frame: numpy.ndarray[numpy.float64[3, 1]]) -> RobotVelocity:
|
1469
|
+
...
|
1470
|
+
def with_elbow_velocity(self, elbow_velocity: float | None) -> RobotVelocity:
|
1471
|
+
...
|
1472
|
+
@property
|
1473
|
+
def elbow_velocity(self) -> float | None:
|
1474
|
+
...
|
1475
|
+
@property
|
1476
|
+
def end_effector_twist(self) -> Twist:
|
1477
|
+
...
|
1478
|
+
class TorqueReaction:
|
1479
|
+
@staticmethod
|
1480
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
1481
|
+
...
|
1482
|
+
def __init__(self, condition: Condition | bool, motion: BaseTorqueMotion = None) -> None:
|
1483
|
+
...
|
1484
|
+
def register_callback(self, callback: typing.Callable[[_franky.RobotState, _franky.Duration, _franky.Duration], None]) -> None:
|
1485
|
+
...
|
1486
|
+
class Torques:
|
1487
|
+
@staticmethod
|
1488
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
1489
|
+
...
|
1490
|
+
def __getstate__(self) -> tuple:
|
1491
|
+
...
|
1492
|
+
def __setstate__(self, arg0: tuple) -> None:
|
1493
|
+
...
|
1494
|
+
@property
|
1495
|
+
def tau_J(self) -> typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(7)]:
|
1496
|
+
...
|
1497
|
+
class Twist:
|
1498
|
+
@staticmethod
|
1499
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
1500
|
+
...
|
1501
|
+
def __getstate__(self) -> tuple:
|
1502
|
+
...
|
1503
|
+
@typing.overload
|
1504
|
+
def __init__(self, linear_velocity: numpy.ndarray[numpy.float64[3, 1]] | None = None, angular_velocity: numpy.ndarray[numpy.float64[3, 1]] | None = None) -> None:
|
1505
|
+
...
|
1506
|
+
@typing.overload
|
1507
|
+
def __init__(self, arg0: Twist) -> None:
|
1508
|
+
...
|
1509
|
+
def __repr__(self) -> str:
|
1510
|
+
...
|
1511
|
+
@typing.overload
|
1512
|
+
def __rmul__(self, arg0: Affine) -> Twist:
|
1513
|
+
...
|
1514
|
+
@typing.overload
|
1515
|
+
def __rmul__(self, arg0: numpy.ndarray[numpy.float64[4, 1]]) -> Twist:
|
1516
|
+
...
|
1517
|
+
def __setstate__(self, arg0: tuple) -> None:
|
1518
|
+
...
|
1519
|
+
def propagate_through_link(self, link_translation: numpy.ndarray[numpy.float64[3, 1]]) -> Twist:
|
1520
|
+
...
|
1521
|
+
@typing.overload
|
1522
|
+
def transform_with(self, affine: Affine) -> Twist:
|
1523
|
+
...
|
1524
|
+
@typing.overload
|
1525
|
+
def transform_with(self, quaternion: numpy.ndarray[numpy.float64[4, 1]]) -> Twist:
|
1526
|
+
...
|
1527
|
+
@property
|
1528
|
+
def angular(self) -> numpy.ndarray[numpy.float64[3, 1]]:
|
1529
|
+
...
|
1530
|
+
@property
|
1531
|
+
def linear(self) -> numpy.ndarray[numpy.float64[3, 1]]:
|
1532
|
+
...
|
1533
|
+
class TwistAcceleration:
|
1534
|
+
@staticmethod
|
1535
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
1536
|
+
...
|
1537
|
+
def __getstate__(self) -> tuple:
|
1538
|
+
...
|
1539
|
+
@typing.overload
|
1540
|
+
def __init__(self, linear_acceleration: numpy.ndarray[numpy.float64[3, 1]] | None = None, angular_acceleration: numpy.ndarray[numpy.float64[3, 1]] | None = None) -> None:
|
1541
|
+
...
|
1542
|
+
@typing.overload
|
1543
|
+
def __init__(self, arg0: TwistAcceleration) -> None:
|
1544
|
+
...
|
1545
|
+
def __repr__(self) -> str:
|
1546
|
+
...
|
1547
|
+
@typing.overload
|
1548
|
+
def __rmul__(self, arg0: Affine) -> TwistAcceleration:
|
1549
|
+
...
|
1550
|
+
@typing.overload
|
1551
|
+
def __rmul__(self, arg0: numpy.ndarray[numpy.float64[4, 1]]) -> TwistAcceleration:
|
1552
|
+
...
|
1553
|
+
def __setstate__(self, arg0: tuple) -> None:
|
1554
|
+
...
|
1555
|
+
def propagate_through_link(self, link_translation: numpy.ndarray[numpy.float64[3, 1]], base_angular_acceleration: numpy.ndarray[numpy.float64[3, 1]]) -> TwistAcceleration:
|
1556
|
+
...
|
1557
|
+
@typing.overload
|
1558
|
+
def transform_with(self, affine: Affine) -> TwistAcceleration:
|
1559
|
+
...
|
1560
|
+
@typing.overload
|
1561
|
+
def transform_with(self, quaternion: numpy.ndarray[numpy.float64[4, 1]]) -> TwistAcceleration:
|
1562
|
+
...
|
1563
|
+
@property
|
1564
|
+
def angular(self) -> numpy.ndarray[numpy.float64[3, 1]]:
|
1565
|
+
...
|
1566
|
+
@property
|
1567
|
+
def linear(self) -> numpy.ndarray[numpy.float64[3, 1]]:
|
1568
|
+
...
|
1569
|
+
class VectorDynamicsLimit:
|
1570
|
+
@staticmethod
|
1571
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
1572
|
+
...
|
1573
|
+
def __repr__(self) -> str:
|
1574
|
+
...
|
1575
|
+
def get(self) -> numpy.ndarray[numpy.float64[7, 1]]:
|
1576
|
+
...
|
1577
|
+
def set(self, value: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(7)] | numpy.ndarray[numpy.float64[7, 1]]) -> None:
|
1578
|
+
...
|
1579
|
+
@property
|
1580
|
+
def desc(self) -> str:
|
1581
|
+
...
|
1582
|
+
@property
|
1583
|
+
def max(self) -> numpy.ndarray[numpy.float64[7, 1]]:
|
1584
|
+
...
|
1585
|
+
class _RobotInternal:
|
1586
|
+
control_rate: typing.ClassVar[float] = 0.001
|
1587
|
+
degrees_of_freedom: typing.ClassVar[int] = 7
|
1588
|
+
relative_dynamics_factor: RelativeDynamicsFactor | float
|
1589
|
+
@staticmethod
|
1590
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
1591
|
+
...
|
1592
|
+
def __init__(self, fci_hostname: str, relative_dynamics_factor: RelativeDynamicsFactor | float = 1.0, default_torque_threshold: float = 20.0, default_force_threshold: float = 30.0, controller_mode: ControllerMode = ..., realtime_config: RealtimeConfig = ..., kalman_q_process_var: float = 0.0001, kalman_dq_process_var: float = 0.001, kalman_ddq_process_var: float = 0.1, kalman_control_process_var: float = 1.0, kalman_q_obs_var: float = 0.01, kalman_dq_obs_var: float = 0.1, kalman_q_d_obs_var: float = 0.0001, kalman_dq_d_obs_var: float = 0.0001, kalman_ddq_d_obs_var: float = 0.0001, kalman_control_adaptation_rate: float = 0.1) -> None:
|
1593
|
+
...
|
1594
|
+
def join_motion(self, timeout: float | None = None) -> bool:
|
1595
|
+
...
|
1596
|
+
@typing.overload
|
1597
|
+
def move(self, motion: BaseCartesianPoseMotion, asynchronous: bool = False) -> None:
|
1598
|
+
...
|
1599
|
+
@typing.overload
|
1600
|
+
def move(self, motion: BaseCartesianVelocityMotion, asynchronous: bool = False) -> None:
|
1601
|
+
...
|
1602
|
+
@typing.overload
|
1603
|
+
def move(self, motion: BaseJointPositionMotion, asynchronous: bool = False) -> None:
|
1604
|
+
...
|
1605
|
+
@typing.overload
|
1606
|
+
def move(self, motion: BaseJointVelocityMotion, asynchronous: bool = False) -> None:
|
1607
|
+
...
|
1608
|
+
@typing.overload
|
1609
|
+
def move(self, motion: BaseTorqueMotion, asynchronous: bool = False) -> None:
|
1610
|
+
...
|
1611
|
+
def poll_motion(self) -> bool:
|
1612
|
+
...
|
1613
|
+
def recover_from_errors(self) -> bool:
|
1614
|
+
...
|
1615
|
+
def set_cartesian_impedance(self, K_x: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(6)]) -> None:
|
1616
|
+
...
|
1617
|
+
@typing.overload
|
1618
|
+
def set_collision_behavior(self, torque_thresholds: float | typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(7)] | numpy.ndarray[numpy.float64[7, 1]], force_thresholds: float | typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(6)] | numpy.ndarray[numpy.float64[6, 1]]) -> None:
|
1619
|
+
...
|
1620
|
+
@typing.overload
|
1621
|
+
def set_collision_behavior(self, lower_torque_threshold: float | typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(7)] | numpy.ndarray[numpy.float64[7, 1]], upper_torque_threshold: float | typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(7)] | numpy.ndarray[numpy.float64[7, 1]], lower_force_threshold: float | typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(6)] | numpy.ndarray[numpy.float64[6, 1]], upper_force_threshold: float | typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(6)] | numpy.ndarray[numpy.float64[6, 1]]) -> None:
|
1622
|
+
...
|
1623
|
+
@typing.overload
|
1624
|
+
def set_collision_behavior(self, lower_torque_threshold_acceleration: float | typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(7)] | numpy.ndarray[numpy.float64[7, 1]], upper_torque_threshold_acceleration: float | typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(7)] | numpy.ndarray[numpy.float64[7, 1]], lower_torque_threshold_nominal: float | typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(7)] | numpy.ndarray[numpy.float64[7, 1]], upper_torque_threshold_nominal: float | typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(7)] | numpy.ndarray[numpy.float64[7, 1]], lower_force_threshold_acceleration: float | typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(6)] | numpy.ndarray[numpy.float64[6, 1]], upper_force_threshold_acceleration: float | typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(6)] | numpy.ndarray[numpy.float64[6, 1]], lower_force_threshold_nominal: float | typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(6)] | numpy.ndarray[numpy.float64[6, 1]], upper_force_threshold_nominal: float | typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(6)] | numpy.ndarray[numpy.float64[6, 1]]) -> None:
|
1625
|
+
...
|
1626
|
+
def set_ee(self, NE_T_EE: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(16)]) -> None:
|
1627
|
+
...
|
1628
|
+
def set_guiding_mode(self, guiding_mode: typing.Annotated[list[bool], pybind11_stubgen.typing_ext.FixedSize(6)], elbow: bool) -> None:
|
1629
|
+
...
|
1630
|
+
def set_joint_impedance(self, K_theta: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(7)]) -> None:
|
1631
|
+
...
|
1632
|
+
def set_k(self, EE_T_K: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(16)]) -> None:
|
1633
|
+
...
|
1634
|
+
def set_load(self, load_mass: float, F_x_Cload: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(3)], load_inertia: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(9)]) -> None:
|
1635
|
+
...
|
1636
|
+
def stop(self) -> None:
|
1637
|
+
...
|
1638
|
+
@property
|
1639
|
+
def current_cartesian_state(self) -> CartesianState:
|
1640
|
+
...
|
1641
|
+
@property
|
1642
|
+
def current_cartesian_velocity(self) -> RobotVelocity:
|
1643
|
+
...
|
1644
|
+
@property
|
1645
|
+
def current_control_signal_type(self) -> ControlSignalType | None:
|
1646
|
+
...
|
1647
|
+
@property
|
1648
|
+
def current_joint_positions(self) -> numpy.ndarray[numpy.float64[7, 1]]:
|
1649
|
+
...
|
1650
|
+
@property
|
1651
|
+
def current_joint_state(self) -> JointState:
|
1652
|
+
...
|
1653
|
+
@property
|
1654
|
+
def current_joint_velocities(self) -> numpy.ndarray[numpy.float64[7, 1]]:
|
1655
|
+
...
|
1656
|
+
@property
|
1657
|
+
def current_pose(self) -> RobotPose:
|
1658
|
+
...
|
1659
|
+
@property
|
1660
|
+
def elbow_acceleration_limit(self) -> DoubleDynamicsLimit:
|
1661
|
+
"""
|
1662
|
+
[rad/s²]
|
1663
|
+
"""
|
1664
|
+
@property
|
1665
|
+
def elbow_jerk_limit(self) -> DoubleDynamicsLimit:
|
1666
|
+
"""
|
1667
|
+
[rad/s³]
|
1668
|
+
"""
|
1669
|
+
@property
|
1670
|
+
def elbow_velocity_limit(self) -> DoubleDynamicsLimit:
|
1671
|
+
"""
|
1672
|
+
[rad/s]
|
1673
|
+
"""
|
1674
|
+
@property
|
1675
|
+
def fci_hostname(self) -> str:
|
1676
|
+
...
|
1677
|
+
@property
|
1678
|
+
def has_errors(self) -> bool:
|
1679
|
+
...
|
1680
|
+
@property
|
1681
|
+
def is_in_control(self) -> bool:
|
1682
|
+
...
|
1683
|
+
@property
|
1684
|
+
def joint_acceleration_limit(self) -> VectorDynamicsLimit:
|
1685
|
+
"""
|
1686
|
+
[rad/s²]
|
1687
|
+
"""
|
1688
|
+
@property
|
1689
|
+
def joint_jerk_limit(self) -> VectorDynamicsLimit:
|
1690
|
+
"""
|
1691
|
+
[rad/s^3]
|
1692
|
+
"""
|
1693
|
+
@property
|
1694
|
+
def joint_velocity_limit(self) -> VectorDynamicsLimit:
|
1695
|
+
"""
|
1696
|
+
[rad/s]
|
1697
|
+
"""
|
1698
|
+
@property
|
1699
|
+
def model(self) -> Model:
|
1700
|
+
...
|
1701
|
+
@property
|
1702
|
+
def model_urdf(self) -> str:
|
1703
|
+
...
|
1704
|
+
@property
|
1705
|
+
def rotation_acceleration_limit(self) -> DoubleDynamicsLimit:
|
1706
|
+
"""
|
1707
|
+
[rad/s²]
|
1708
|
+
"""
|
1709
|
+
@property
|
1710
|
+
def rotation_jerk_limit(self) -> DoubleDynamicsLimit:
|
1711
|
+
"""
|
1712
|
+
[rad/s³]
|
1713
|
+
"""
|
1714
|
+
@property
|
1715
|
+
def rotation_velocity_limit(self) -> DoubleDynamicsLimit:
|
1716
|
+
"""
|
1717
|
+
[rad/s]
|
1718
|
+
"""
|
1719
|
+
@property
|
1720
|
+
def state(self) -> RobotState:
|
1721
|
+
...
|
1722
|
+
@property
|
1723
|
+
def translation_acceleration_limit(self) -> DoubleDynamicsLimit:
|
1724
|
+
"""
|
1725
|
+
[m/s²]
|
1726
|
+
"""
|
1727
|
+
@property
|
1728
|
+
def translation_jerk_limit(self) -> DoubleDynamicsLimit:
|
1729
|
+
"""
|
1730
|
+
[m/s³]
|
1731
|
+
"""
|
1732
|
+
@property
|
1733
|
+
def translation_velocity_limit(self) -> DoubleDynamicsLimit:
|
1734
|
+
"""
|
1735
|
+
[m/s]
|
1736
|
+
"""
|