-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSE3.pyi
More file actions
380 lines (279 loc) · 15 KB
/
SE3.pyi
File metadata and controls
380 lines (279 loc) · 15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
# encoding: utf-8
# module manifpy._bindings
# from /home/quintin/Programming/snake-sim/venv/lib/python3.10/site-packages/manifpy/_bindings.cpython-310-x86_64-linux-gnu.so
# by generator 1.147
""" Python bindings for the manif library, a small library for Lie theory. """
# imports
import pybind11_builtins as __pybind11_builtins
from ._SE3Base import _SE3Base
class SE3(_SE3Base):
# no doc
def act(self, p, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__
"""
act(self: manifpy._bindings.SE3, p: numpy.ndarray[numpy.float64[3, 1]], J_out_self: Optional[numpy.ndarray[numpy.float64[3, 6], flags.writeable, flags.c_contiguous]] = None, J_out_p: Optional[numpy.ndarray[numpy.float64[3, 3], flags.writeable, flags.c_contiguous]] = None) -> numpy.ndarray[numpy.float64[3, 1]]
Get the action of the Lie group object on a point.
Parameters
----------
p : numpy.array
A point.
J_out_self [out] : numpy.ndarray
Jacobian of the new object wrt self.
J_out_p [out] : numpy.ndarray
Jacobian of the new object wrt input point.
"""
pass
def adj(self): # real signature unknown; restored from __doc__
"""
adj(self: manifpy._bindings.SE3) -> numpy.ndarray[numpy.float64[6, 6]]
Return the Adjoint of the Lie group object self.
See Eq. (29).
"""
pass
def between(self, other, J_out_self, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__
"""
between(self: manifpy._bindings.SE3, other: manifpy._bindings._SE3Base, J_out_self: Optional[numpy.ndarray[numpy.float64[6, 6], flags.writeable, flags.c_contiguous]] = None, J_out_other: Optional[numpy.ndarray[numpy.float64[6, 6], flags.writeable, flags.c_contiguous]] = None) -> manifpy._bindings.SE3
Return the between of self and another object of the same Lie group.
Parameters
----------
other : Lie group
Another object of the same Lie group.
J_out_self [out] : numpy.ndarray
Jacobian of the composition wrt self.
J_out_other [out] : numpy.ndarray
Jacobian of the composition wrt other.
"""
pass
def coeffs(self): # real signature unknown; restored from __doc__
"""
coeffs(self: manifpy._bindings.SE3) -> numpy.ndarray[numpy.float64[7, 1]]
Get a reference to underlying data.
"""
pass
def coeffs_copy(self): # real signature unknown; restored from __doc__
"""
coeffs_copy(self: manifpy._bindings.SE3) -> numpy.ndarray[numpy.float64[7, 1]]
Return a copy of underlying data.
"""
pass
def compose(self, other, J_out_self, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__
"""
compose(self: manifpy._bindings.SE3, other: manifpy._bindings._SE3Base, J_out_self: Optional[numpy.ndarray[numpy.float64[6, 6], flags.writeable, flags.c_contiguous]] = None, J_out_other: Optional[numpy.ndarray[numpy.float64[6, 6], flags.writeable, flags.c_contiguous]] = None) -> manifpy._bindings.SE3
Return the composition of self and another object of the same Lie group.
See Eqs. (1,2,3,4).
Parameters
----------
other : Lie group
Another object of the same Lie group.
J_out_self [out] : numpy.ndarray
Jacobian of the composition wrt self.
J_out_other [out] : numpy.ndarray
Jacobian of the composition wrt other.
"""
pass
def Identity(self): # real signature unknown; restored from __doc__
"""
Identity() -> manifpy._bindings.SE3
Static helper to create an object set at the Lie group Identity.
"""
pass
def inverse(self, J_out_self, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__
"""
inverse(self: manifpy._bindings.SE3, J_out_self: Optional[numpy.ndarray[numpy.float64[6, 6], flags.writeable, flags.c_contiguous]] = None) -> manifpy._bindings.SE3
Return the inverse of the Lie group object.
See Eq. (3).
Parameters
----------
J_out_self [out] : numpy.ndarray
Jacobian of the inverse wrt self.
"""
pass
def isApprox(self, other, eps=1, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__
"""
isApprox(self: manifpy._bindings.SE3, other: manifpy._bindings._SE3Base, eps: float = 1e-10) -> bool
Evaluate whether self and other are 'close'.
Parameters
----------
other : Lie group
Another object of the same Lie group.
eps : double
Threshold for equality comparison. Default: 1e-10.
"""
pass
def lminus(self, other, J_out_self, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__
"""
lminus(self: manifpy._bindings.SE3, other: manifpy._bindings._SE3Base, J_out_self: Optional[numpy.ndarray[numpy.float64[6, 6], flags.writeable, flags.c_contiguous]] = None, J_out_other: Optional[numpy.ndarray[numpy.float64[6, 6], flags.writeable, flags.c_contiguous]] = None) -> manifpy._bindings.SE3Tangent
Left ominus operation of the Lie group.
See Eq. (28).
Parameters
----------
other : Lie group
Another element of the same Lie group.
J_out_self [out] : numpy.ndarray
Jacobian of the ominus operation wrt self.
J_out_other [out] : numpy.ndarray
Jacobian of the ominus operation wrt other.
"""
pass
def log(self, J_out_self, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__
"""
log(self: manifpy._bindings.SE3, J_out_self: Optional[numpy.ndarray[numpy.float64[6, 6], flags.writeable, flags.c_contiguous]] = None) -> manifpy._bindings.SE3Tangent
Return the corresponding Lie algebra element in vector form.
Eq. (24).
Parameters
----------
J_out_self [out] : numpy.ndarray
Jacobian of the log wrt self.
"""
pass
def lplus(self, tau, J_out_self, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__
"""
lplus(self: manifpy._bindings.SE3, tau: manifpy._bindings._SE3TangentBase, J_out_self: Optional[numpy.ndarray[numpy.float64[6, 6], flags.writeable, flags.c_contiguous]] = None, J_mout_tau: Optional[numpy.ndarray[numpy.float64[6, 6], flags.writeable, flags.c_contiguous]] = None) -> manifpy._bindings.SE3
Left oplus operation of the Lie group.
See Eq. (27).
Parameters
----------
tau : Lie group tangent
An element of the tangent of the Lie group.
J_out_self [out] : numpy.ndarray
Jacobian of the oplus operation wrt self.
J_out_tau [out] : numpy.ndarray
Jacobian of the oplus operation wrt tau.
"""
pass
def minus(self, other, J_out_self, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__
"""
minus(self: manifpy._bindings.SE3, other: manifpy._bindings._SE3Base, J_out_self: Optional[numpy.ndarray[numpy.float64[6, 6], flags.writeable, flags.c_contiguous]] = None, J_out_other: Optional[numpy.ndarray[numpy.float64[6, 6], flags.writeable, flags.c_contiguous]] = None) -> manifpy._bindings.SE3Tangent
An alias for the 'rminus' function.
"""
pass
def normalize(self): # real signature unknown; restored from __doc__
""" normalize(self: manifpy._bindings.SE3) -> None """
pass
def plus(self, tau, J_out_self, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__
"""
plus(self: manifpy._bindings.SE3, tau: manifpy._bindings._SE3TangentBase, J_out_self: Optional[numpy.ndarray[numpy.float64[6, 6], flags.writeable, flags.c_contiguous]] = None, J_mout_tau: Optional[numpy.ndarray[numpy.float64[6, 6], flags.writeable, flags.c_contiguous]] = None) -> manifpy._bindings.SE3
An alias for the 'rplus' function.
"""
pass
def quat(self, *args, **kwargs): # real signature unknown; restored from __doc__
"""
quat(*args, **kwargs)
Overloaded function.
1. quat(self: manifpy._bindings.SE3) -> numpy.ndarray[numpy.float64[4, 1]]
2. quat(self: manifpy._bindings.SE3, quaternion: numpy.ndarray[numpy.float64[4, 1]]) -> None
"""
pass
def Random(self): # real signature unknown; restored from __doc__
"""
Random() -> manifpy._bindings.SE3
Static helper to create a random object of the Lie group.
"""
pass
def rminus(self, other, J_out_self, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__
"""
rminus(self: manifpy._bindings.SE3, other: manifpy._bindings._SE3Base, J_out_self: Optional[numpy.ndarray[numpy.float64[6, 6], flags.writeable, flags.c_contiguous]] = None, J_out_other: Optional[numpy.ndarray[numpy.float64[6, 6], flags.writeable, flags.c_contiguous]] = None) -> manifpy._bindings.SE3Tangent
Right ominus operation of the Lie group.
See Eq. (26).
Parameters
----------
other : Lie group
Another element of the same Lie group.
J_out_self [out] : numpy.ndarray
Jacobian of the ominus operation wrt self.
J_out_other [out] : numpy.ndarray
Jacobian of the ominus operation wrt other.
"""
pass
def rotation(self): # real signature unknown; restored from __doc__
""" rotation(self: manifpy._bindings.SE3) -> numpy.ndarray[numpy.float64[3, 3]] """
pass
def rplus(self, tau, J_out_self, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__
"""
rplus(self: manifpy._bindings.SE3, tau: manifpy._bindings._SE3TangentBase, J_out_self: Optional[numpy.ndarray[numpy.float64[6, 6], flags.writeable, flags.c_contiguous]] = None, J_out_tau: Optional[numpy.ndarray[numpy.float64[6, 6], flags.writeable, flags.c_contiguous]] = None) -> manifpy._bindings.SE3
Right oplus operation of the Lie group.
See Eq. (25).
Parameters
----------
tau : Lie group tangent
An element of the tangent of the Lie group.
J_out_self [out] : numpy.ndarray
Jacobian of the oplus operation wrt self.
J_out_tau [out] : numpy.ndarray
Jacobian of the oplus operation wrt tau.
"""
pass
def setIdentity(self): # real signature unknown; restored from __doc__
"""
setIdentity(self: manifpy._bindings.SE3) -> manifpy._bindings.SE3
Set self to the Lie group Identity.
"""
pass
def setRandom(self): # real signature unknown; restored from __doc__
"""
setRandom(self: manifpy._bindings.SE3) -> manifpy._bindings.SE3
Set self to a random value.
"""
pass
def transform(self): # real signature unknown; restored from __doc__
""" transform(self: manifpy._bindings.SE3) -> numpy.ndarray[numpy.float64[4, 4]] """
pass
def translation(self, *args, **kwargs): # real signature unknown; restored from __doc__
"""
translation(*args, **kwargs)
Overloaded function.
1. translation(self: manifpy._bindings.SE3) -> numpy.ndarray[numpy.float64[3, 1]]
2. translation(self: manifpy._bindings.SE3, translation: numpy.ndarray[numpy.float64[3, 1]]) -> None
"""
pass
def x(self): # real signature unknown; restored from __doc__
""" x(self: manifpy._bindings.SE3) -> float """
return 0.0
def y(self): # real signature unknown; restored from __doc__
""" y(self: manifpy._bindings.SE3) -> float """
return 0.0
def z(self): # real signature unknown; restored from __doc__
""" z(self: manifpy._bindings.SE3) -> float """
return 0.0
def __add__(self, arg0): # real signature unknown; restored from __doc__
"""
__add__(self: manifpy._bindings.SE3, arg0: manifpy._bindings.SE3Tangent) -> manifpy._bindings.SE3
Operator overload for the 'plus' function.
"""
pass
def __eq__(self, arg0): # real signature unknown; restored from __doc__
"""
__eq__(self: manifpy._bindings.SE3, arg0: manifpy._bindings.SE3) -> bool
Operator overload for the 'isApprox' function.
"""
return False
def __init__(self, *args, **kwargs): # real signature unknown; restored from __doc__
"""
__init__(*args, **kwargs)
Overloaded function.
1. __init__(self: manifpy._bindings.SE3) -> None
Default constructor, uninitialized data.
2. __init__(self: manifpy._bindings.SE3, arg0: numpy.ndarray[numpy.float64[7, 1]]) -> None
Constructor given data vector.
3. __init__(self: manifpy._bindings.SE3, arg0: float, arg1: float, arg2: float, arg3: float, arg4: float, arg5: float) -> None
4. __init__(self: manifpy._bindings.SE3, position: numpy.ndarray[numpy.float64[3, 1]], quaternion: numpy.ndarray[numpy.float64[4, 1]]) -> None
"""
pass
def __mul__(self, arg0): # real signature unknown; restored from __doc__
"""
__mul__(self: manifpy._bindings.SE3, arg0: manifpy._bindings.SE3) -> manifpy._bindings.SE3
Operator overload for the 'compose' function.
"""
pass
def __str__(self): # real signature unknown; restored from __doc__
""" __str__(self: manifpy._bindings.SE3) -> str """
return ""
def __sub__(self, arg0): # real signature unknown; restored from __doc__
"""
__sub__(self: manifpy._bindings.SE3, arg0: manifpy._bindings.SE3) -> manifpy._bindings.SE3Tangent
Operator overload for the 'minus' function.
"""
pass
Dim = 3
DoF = 6
RepSize = 7
__hash__ = None