agx-openplx 0.15.0__cp39-cp39-macosx_12_0_arm64.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.
- agx_openplx-0.15.0.dist-info/METADATA +231 -0
- agx_openplx-0.15.0.dist-info/RECORD +41 -0
- agx_openplx-0.15.0.dist-info/WHEEL +4 -0
- agx_openplx-0.15.0.dist-info/entry_points.txt +8 -0
- openplx/Core.py +7781 -0
- openplx/DriveTrain.py +8574 -0
- openplx/Math.py +5372 -0
- openplx/Physics.py +36195 -0
- openplx/Physics1D.py +6732 -0
- openplx/Physics3D.py +42524 -0
- openplx/Robotics.py +15762 -0
- openplx/Simulation.py +1056 -0
- openplx/Terrain.py +3891 -0
- openplx/Urdf.py +654 -0
- openplx/Vehicles.py +8793 -0
- openplx/Visuals.py +3901 -0
- openplx/_AgxOpenPlxPyApi.cpython-39-darwin.so +0 -0
- openplx/_CorePythonSwig.cpython-39-darwin.so +0 -0
- openplx/_DriveTrainSwig.cpython-39-darwin.so +0 -0
- openplx/_MathSwig.cpython-39-darwin.so +0 -0
- openplx/_Physics1DSwig.cpython-39-darwin.so +0 -0
- openplx/_Physics3DSwig.cpython-39-darwin.so +0 -0
- openplx/_PhysicsSwig.cpython-39-darwin.so +0 -0
- openplx/_RoboticsSwig.cpython-39-darwin.so +0 -0
- openplx/_SimulationSwig.cpython-39-darwin.so +0 -0
- openplx/_TerrainSwig.cpython-39-darwin.so +0 -0
- openplx/_UrdfSwig.cpython-39-darwin.so +0 -0
- openplx/_VehiclesSwig.cpython-39-darwin.so +0 -0
- openplx/_VisualsSwig.cpython-39-darwin.so +0 -0
- openplx/__init__.py +51 -0
- openplx/agxtoopenplx.py +55 -0
- openplx/anytoopenplx.py +44 -0
- openplx/api.py +1337 -0
- openplx/migrate.py +136 -0
- openplx/migration_hint.py +14 -0
- openplx/migrations.py +521 -0
- openplx/openplx_application.py +133 -0
- openplx/openplx_serialize.py +35 -0
- openplx/openplx_validate.py +57 -0
- openplx/openplx_view.py +14 -0
- openplx/versionaction.py +11 -0
openplx/Urdf.py
ADDED
@@ -0,0 +1,654 @@
|
|
1
|
+
# This file was automatically generated by SWIG (http://www.swig.org).
|
2
|
+
# Version 4.0.2
|
3
|
+
#
|
4
|
+
# Do not make changes to this file unless you know what you are doing--modify
|
5
|
+
# the SWIG interface file instead.
|
6
|
+
|
7
|
+
from sys import version_info as _swig_python_version_info
|
8
|
+
if _swig_python_version_info < (2, 7, 0):
|
9
|
+
raise RuntimeError("Python 2.7 or later required")
|
10
|
+
|
11
|
+
# Import the low-level C/C++ module
|
12
|
+
if __package__ or "." in __name__:
|
13
|
+
from . import _UrdfSwig
|
14
|
+
else:
|
15
|
+
import _UrdfSwig
|
16
|
+
|
17
|
+
try:
|
18
|
+
import builtins as __builtin__
|
19
|
+
except ImportError:
|
20
|
+
import __builtin__
|
21
|
+
|
22
|
+
def _swig_repr(self):
|
23
|
+
try:
|
24
|
+
strthis = "proxy of " + self.this.__repr__()
|
25
|
+
except __builtin__.Exception:
|
26
|
+
strthis = ""
|
27
|
+
return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
|
28
|
+
|
29
|
+
|
30
|
+
def _swig_setattr_nondynamic_instance_variable(set):
|
31
|
+
def set_instance_attr(self, name, value):
|
32
|
+
if name == "thisown":
|
33
|
+
self.this.own(value)
|
34
|
+
elif name == "this":
|
35
|
+
set(self, name, value)
|
36
|
+
elif hasattr(self, name) and isinstance(getattr(type(self), name), property):
|
37
|
+
set(self, name, value)
|
38
|
+
else:
|
39
|
+
raise AttributeError("You cannot add instance attributes to %s" % self)
|
40
|
+
return set_instance_attr
|
41
|
+
|
42
|
+
|
43
|
+
def _swig_setattr_nondynamic_class_variable(set):
|
44
|
+
def set_class_attr(cls, name, value):
|
45
|
+
if hasattr(cls, name) and not isinstance(getattr(cls, name), property):
|
46
|
+
set(cls, name, value)
|
47
|
+
else:
|
48
|
+
raise AttributeError("You cannot add class attributes to %s" % cls)
|
49
|
+
return set_class_attr
|
50
|
+
|
51
|
+
|
52
|
+
def _swig_add_metaclass(metaclass):
|
53
|
+
"""Class decorator for adding a metaclass to a SWIG wrapped class - a slimmed down version of six.add_metaclass"""
|
54
|
+
def wrapper(cls):
|
55
|
+
return metaclass(cls.__name__, cls.__bases__, cls.__dict__.copy())
|
56
|
+
return wrapper
|
57
|
+
|
58
|
+
|
59
|
+
class _SwigNonDynamicMeta(type):
|
60
|
+
"""Meta class to enforce nondynamic attributes (no new attributes) for a class"""
|
61
|
+
__setattr__ = _swig_setattr_nondynamic_class_variable(type.__setattr__)
|
62
|
+
|
63
|
+
|
64
|
+
SHARED_PTR_DISOWN = _UrdfSwig.SHARED_PTR_DISOWN
|
65
|
+
|
66
|
+
class SwigPyIterator(object):
|
67
|
+
r"""Proxy of C++ swig::SwigPyIterator class."""
|
68
|
+
|
69
|
+
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
70
|
+
|
71
|
+
def __init__(self, *args, **kwargs):
|
72
|
+
raise AttributeError("No constructor defined - class is abstract")
|
73
|
+
__repr__ = _swig_repr
|
74
|
+
__swig_destroy__ = _UrdfSwig.delete_SwigPyIterator
|
75
|
+
|
76
|
+
def value(self):
|
77
|
+
r"""value(SwigPyIterator self) -> PyObject *"""
|
78
|
+
return _UrdfSwig.SwigPyIterator_value(self)
|
79
|
+
|
80
|
+
def incr(self, n=1):
|
81
|
+
r"""
|
82
|
+
incr(SwigPyIterator self, size_t n=1) -> SwigPyIterator
|
83
|
+
|
84
|
+
Parameters
|
85
|
+
----------
|
86
|
+
n: size_t
|
87
|
+
|
88
|
+
"""
|
89
|
+
return _UrdfSwig.SwigPyIterator_incr(self, n)
|
90
|
+
|
91
|
+
def decr(self, n=1):
|
92
|
+
r"""
|
93
|
+
decr(SwigPyIterator self, size_t n=1) -> SwigPyIterator
|
94
|
+
|
95
|
+
Parameters
|
96
|
+
----------
|
97
|
+
n: size_t
|
98
|
+
|
99
|
+
"""
|
100
|
+
return _UrdfSwig.SwigPyIterator_decr(self, n)
|
101
|
+
|
102
|
+
def distance(self, x):
|
103
|
+
r"""
|
104
|
+
distance(SwigPyIterator self, SwigPyIterator x) -> ptrdiff_t
|
105
|
+
|
106
|
+
Parameters
|
107
|
+
----------
|
108
|
+
x: swig::SwigPyIterator const &
|
109
|
+
|
110
|
+
"""
|
111
|
+
return _UrdfSwig.SwigPyIterator_distance(self, x)
|
112
|
+
|
113
|
+
def equal(self, x):
|
114
|
+
r"""
|
115
|
+
equal(SwigPyIterator self, SwigPyIterator x) -> bool
|
116
|
+
|
117
|
+
Parameters
|
118
|
+
----------
|
119
|
+
x: swig::SwigPyIterator const &
|
120
|
+
|
121
|
+
"""
|
122
|
+
return _UrdfSwig.SwigPyIterator_equal(self, x)
|
123
|
+
|
124
|
+
def copy(self):
|
125
|
+
r"""copy(SwigPyIterator self) -> SwigPyIterator"""
|
126
|
+
return _UrdfSwig.SwigPyIterator_copy(self)
|
127
|
+
|
128
|
+
def next(self):
|
129
|
+
r"""next(SwigPyIterator self) -> PyObject *"""
|
130
|
+
return _UrdfSwig.SwigPyIterator_next(self)
|
131
|
+
|
132
|
+
def __next__(self):
|
133
|
+
r"""__next__(SwigPyIterator self) -> PyObject *"""
|
134
|
+
return _UrdfSwig.SwigPyIterator___next__(self)
|
135
|
+
|
136
|
+
def previous(self):
|
137
|
+
r"""previous(SwigPyIterator self) -> PyObject *"""
|
138
|
+
return _UrdfSwig.SwigPyIterator_previous(self)
|
139
|
+
|
140
|
+
def advance(self, n):
|
141
|
+
r"""
|
142
|
+
advance(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator
|
143
|
+
|
144
|
+
Parameters
|
145
|
+
----------
|
146
|
+
n: ptrdiff_t
|
147
|
+
|
148
|
+
"""
|
149
|
+
return _UrdfSwig.SwigPyIterator_advance(self, n)
|
150
|
+
|
151
|
+
def __eq__(self, x):
|
152
|
+
r"""
|
153
|
+
__eq__(SwigPyIterator self, SwigPyIterator x) -> bool
|
154
|
+
|
155
|
+
Parameters
|
156
|
+
----------
|
157
|
+
x: swig::SwigPyIterator const &
|
158
|
+
|
159
|
+
"""
|
160
|
+
return _UrdfSwig.SwigPyIterator___eq__(self, x)
|
161
|
+
|
162
|
+
def __ne__(self, x):
|
163
|
+
r"""
|
164
|
+
__ne__(SwigPyIterator self, SwigPyIterator x) -> bool
|
165
|
+
|
166
|
+
Parameters
|
167
|
+
----------
|
168
|
+
x: swig::SwigPyIterator const &
|
169
|
+
|
170
|
+
"""
|
171
|
+
return _UrdfSwig.SwigPyIterator___ne__(self, x)
|
172
|
+
|
173
|
+
def __iadd__(self, n):
|
174
|
+
r"""
|
175
|
+
__iadd__(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator
|
176
|
+
|
177
|
+
Parameters
|
178
|
+
----------
|
179
|
+
n: ptrdiff_t
|
180
|
+
|
181
|
+
"""
|
182
|
+
return _UrdfSwig.SwigPyIterator___iadd__(self, n)
|
183
|
+
|
184
|
+
def __isub__(self, n):
|
185
|
+
r"""
|
186
|
+
__isub__(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator
|
187
|
+
|
188
|
+
Parameters
|
189
|
+
----------
|
190
|
+
n: ptrdiff_t
|
191
|
+
|
192
|
+
"""
|
193
|
+
return _UrdfSwig.SwigPyIterator___isub__(self, n)
|
194
|
+
|
195
|
+
def __add__(self, n):
|
196
|
+
r"""
|
197
|
+
__add__(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator
|
198
|
+
|
199
|
+
Parameters
|
200
|
+
----------
|
201
|
+
n: ptrdiff_t
|
202
|
+
|
203
|
+
"""
|
204
|
+
return _UrdfSwig.SwigPyIterator___add__(self, n)
|
205
|
+
|
206
|
+
def __sub__(self, *args):
|
207
|
+
r"""
|
208
|
+
__sub__(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator
|
209
|
+
|
210
|
+
Parameters
|
211
|
+
----------
|
212
|
+
n: ptrdiff_t
|
213
|
+
|
214
|
+
__sub__(SwigPyIterator self, SwigPyIterator x) -> ptrdiff_t
|
215
|
+
|
216
|
+
Parameters
|
217
|
+
----------
|
218
|
+
x: swig::SwigPyIterator const &
|
219
|
+
|
220
|
+
"""
|
221
|
+
return _UrdfSwig.SwigPyIterator___sub__(self, *args)
|
222
|
+
def __iter__(self):
|
223
|
+
return self
|
224
|
+
|
225
|
+
# Register SwigPyIterator in _UrdfSwig:
|
226
|
+
_UrdfSwig.SwigPyIterator_swigregister(SwigPyIterator)
|
227
|
+
|
228
|
+
import openplx.Core
|
229
|
+
import openplx.Math
|
230
|
+
import openplx.Physics
|
231
|
+
import openplx.Physics3D
|
232
|
+
class Urdf_PackagePath_Vector(object):
|
233
|
+
r"""Proxy of C++ std::vector< std::shared_ptr< openplx::Urdf::PackagePath > > class."""
|
234
|
+
|
235
|
+
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
236
|
+
__repr__ = _swig_repr
|
237
|
+
|
238
|
+
def iterator(self):
|
239
|
+
r"""iterator(Urdf_PackagePath_Vector self) -> SwigPyIterator"""
|
240
|
+
return _UrdfSwig.Urdf_PackagePath_Vector_iterator(self)
|
241
|
+
def __iter__(self):
|
242
|
+
return self.iterator()
|
243
|
+
|
244
|
+
def __nonzero__(self):
|
245
|
+
r"""__nonzero__(Urdf_PackagePath_Vector self) -> bool"""
|
246
|
+
return _UrdfSwig.Urdf_PackagePath_Vector___nonzero__(self)
|
247
|
+
|
248
|
+
def __bool__(self):
|
249
|
+
r"""__bool__(Urdf_PackagePath_Vector self) -> bool"""
|
250
|
+
return _UrdfSwig.Urdf_PackagePath_Vector___bool__(self)
|
251
|
+
|
252
|
+
def __len__(self):
|
253
|
+
r"""__len__(Urdf_PackagePath_Vector self) -> std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::size_type"""
|
254
|
+
return _UrdfSwig.Urdf_PackagePath_Vector___len__(self)
|
255
|
+
|
256
|
+
def __getslice__(self, i, j):
|
257
|
+
r"""
|
258
|
+
__getslice__(Urdf_PackagePath_Vector self, std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::difference_type i, std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::difference_type j) -> Urdf_PackagePath_Vector
|
259
|
+
|
260
|
+
Parameters
|
261
|
+
----------
|
262
|
+
i: std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::difference_type
|
263
|
+
j: std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::difference_type
|
264
|
+
|
265
|
+
"""
|
266
|
+
return _UrdfSwig.Urdf_PackagePath_Vector___getslice__(self, i, j)
|
267
|
+
|
268
|
+
def __setslice__(self, *args):
|
269
|
+
r"""
|
270
|
+
__setslice__(Urdf_PackagePath_Vector self, std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::difference_type i, std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::difference_type j)
|
271
|
+
|
272
|
+
Parameters
|
273
|
+
----------
|
274
|
+
i: std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::difference_type
|
275
|
+
j: std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::difference_type
|
276
|
+
|
277
|
+
__setslice__(Urdf_PackagePath_Vector self, std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::difference_type i, std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::difference_type j, Urdf_PackagePath_Vector v)
|
278
|
+
|
279
|
+
Parameters
|
280
|
+
----------
|
281
|
+
i: std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::difference_type
|
282
|
+
j: std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::difference_type
|
283
|
+
v: std::vector< std::shared_ptr< openplx::Urdf::PackagePath >,std::allocator< std::shared_ptr< openplx::Urdf::PackagePath > > > const &
|
284
|
+
|
285
|
+
"""
|
286
|
+
return _UrdfSwig.Urdf_PackagePath_Vector___setslice__(self, *args)
|
287
|
+
|
288
|
+
def __delslice__(self, i, j):
|
289
|
+
r"""
|
290
|
+
__delslice__(Urdf_PackagePath_Vector self, std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::difference_type i, std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::difference_type j)
|
291
|
+
|
292
|
+
Parameters
|
293
|
+
----------
|
294
|
+
i: std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::difference_type
|
295
|
+
j: std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::difference_type
|
296
|
+
|
297
|
+
"""
|
298
|
+
return _UrdfSwig.Urdf_PackagePath_Vector___delslice__(self, i, j)
|
299
|
+
|
300
|
+
def __delitem__(self, *args):
|
301
|
+
r"""
|
302
|
+
__delitem__(Urdf_PackagePath_Vector self, std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::difference_type i)
|
303
|
+
|
304
|
+
Parameters
|
305
|
+
----------
|
306
|
+
i: std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::difference_type
|
307
|
+
|
308
|
+
__delitem__(Urdf_PackagePath_Vector self, PySliceObject * slice)
|
309
|
+
|
310
|
+
Parameters
|
311
|
+
----------
|
312
|
+
slice: PySliceObject *
|
313
|
+
|
314
|
+
"""
|
315
|
+
return _UrdfSwig.Urdf_PackagePath_Vector___delitem__(self, *args)
|
316
|
+
|
317
|
+
def __getitem__(self, *args):
|
318
|
+
r"""
|
319
|
+
__getitem__(Urdf_PackagePath_Vector self, PySliceObject * slice) -> Urdf_PackagePath_Vector
|
320
|
+
|
321
|
+
Parameters
|
322
|
+
----------
|
323
|
+
slice: PySliceObject *
|
324
|
+
|
325
|
+
__getitem__(Urdf_PackagePath_Vector self, std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::difference_type i) -> std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::value_type const &
|
326
|
+
|
327
|
+
Parameters
|
328
|
+
----------
|
329
|
+
i: std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::difference_type
|
330
|
+
|
331
|
+
"""
|
332
|
+
return _UrdfSwig.Urdf_PackagePath_Vector___getitem__(self, *args)
|
333
|
+
|
334
|
+
def __setitem__(self, *args):
|
335
|
+
r"""
|
336
|
+
__setitem__(Urdf_PackagePath_Vector self, PySliceObject * slice, Urdf_PackagePath_Vector v)
|
337
|
+
|
338
|
+
Parameters
|
339
|
+
----------
|
340
|
+
slice: PySliceObject *
|
341
|
+
v: std::vector< std::shared_ptr< openplx::Urdf::PackagePath >,std::allocator< std::shared_ptr< openplx::Urdf::PackagePath > > > const &
|
342
|
+
|
343
|
+
__setitem__(Urdf_PackagePath_Vector self, PySliceObject * slice)
|
344
|
+
|
345
|
+
Parameters
|
346
|
+
----------
|
347
|
+
slice: PySliceObject *
|
348
|
+
|
349
|
+
__setitem__(Urdf_PackagePath_Vector self, std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::difference_type i, std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::value_type const & x)
|
350
|
+
|
351
|
+
Parameters
|
352
|
+
----------
|
353
|
+
i: std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::difference_type
|
354
|
+
x: std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::value_type const &
|
355
|
+
|
356
|
+
"""
|
357
|
+
return _UrdfSwig.Urdf_PackagePath_Vector___setitem__(self, *args)
|
358
|
+
|
359
|
+
def pop(self):
|
360
|
+
r"""pop(Urdf_PackagePath_Vector self) -> std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::value_type"""
|
361
|
+
return _UrdfSwig.Urdf_PackagePath_Vector_pop(self)
|
362
|
+
|
363
|
+
def append(self, x):
|
364
|
+
r"""
|
365
|
+
append(Urdf_PackagePath_Vector self, std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::value_type const & x)
|
366
|
+
|
367
|
+
Parameters
|
368
|
+
----------
|
369
|
+
x: std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::value_type const &
|
370
|
+
|
371
|
+
"""
|
372
|
+
return _UrdfSwig.Urdf_PackagePath_Vector_append(self, x)
|
373
|
+
|
374
|
+
def empty(self):
|
375
|
+
r"""empty(Urdf_PackagePath_Vector self) -> bool"""
|
376
|
+
return _UrdfSwig.Urdf_PackagePath_Vector_empty(self)
|
377
|
+
|
378
|
+
def size(self):
|
379
|
+
r"""size(Urdf_PackagePath_Vector self) -> std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::size_type"""
|
380
|
+
return _UrdfSwig.Urdf_PackagePath_Vector_size(self)
|
381
|
+
|
382
|
+
def swap(self, v):
|
383
|
+
r"""
|
384
|
+
swap(Urdf_PackagePath_Vector self, Urdf_PackagePath_Vector v)
|
385
|
+
|
386
|
+
Parameters
|
387
|
+
----------
|
388
|
+
v: std::vector< std::shared_ptr< openplx::Urdf::PackagePath > > &
|
389
|
+
|
390
|
+
"""
|
391
|
+
return _UrdfSwig.Urdf_PackagePath_Vector_swap(self, v)
|
392
|
+
|
393
|
+
def begin(self):
|
394
|
+
r"""begin(Urdf_PackagePath_Vector self) -> std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::iterator"""
|
395
|
+
return _UrdfSwig.Urdf_PackagePath_Vector_begin(self)
|
396
|
+
|
397
|
+
def end(self):
|
398
|
+
r"""end(Urdf_PackagePath_Vector self) -> std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::iterator"""
|
399
|
+
return _UrdfSwig.Urdf_PackagePath_Vector_end(self)
|
400
|
+
|
401
|
+
def rbegin(self):
|
402
|
+
r"""rbegin(Urdf_PackagePath_Vector self) -> std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::reverse_iterator"""
|
403
|
+
return _UrdfSwig.Urdf_PackagePath_Vector_rbegin(self)
|
404
|
+
|
405
|
+
def rend(self):
|
406
|
+
r"""rend(Urdf_PackagePath_Vector self) -> std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::reverse_iterator"""
|
407
|
+
return _UrdfSwig.Urdf_PackagePath_Vector_rend(self)
|
408
|
+
|
409
|
+
def clear(self):
|
410
|
+
r"""clear(Urdf_PackagePath_Vector self)"""
|
411
|
+
return _UrdfSwig.Urdf_PackagePath_Vector_clear(self)
|
412
|
+
|
413
|
+
def get_allocator(self):
|
414
|
+
r"""get_allocator(Urdf_PackagePath_Vector self) -> std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::allocator_type"""
|
415
|
+
return _UrdfSwig.Urdf_PackagePath_Vector_get_allocator(self)
|
416
|
+
|
417
|
+
def pop_back(self):
|
418
|
+
r"""pop_back(Urdf_PackagePath_Vector self)"""
|
419
|
+
return _UrdfSwig.Urdf_PackagePath_Vector_pop_back(self)
|
420
|
+
|
421
|
+
def erase(self, *args):
|
422
|
+
r"""
|
423
|
+
erase(Urdf_PackagePath_Vector self, std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::iterator pos) -> std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::iterator
|
424
|
+
|
425
|
+
Parameters
|
426
|
+
----------
|
427
|
+
pos: std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::iterator
|
428
|
+
|
429
|
+
erase(Urdf_PackagePath_Vector self, std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::iterator first, std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::iterator last) -> std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::iterator
|
430
|
+
|
431
|
+
Parameters
|
432
|
+
----------
|
433
|
+
first: std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::iterator
|
434
|
+
last: std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::iterator
|
435
|
+
|
436
|
+
"""
|
437
|
+
return _UrdfSwig.Urdf_PackagePath_Vector_erase(self, *args)
|
438
|
+
|
439
|
+
def __init__(self, *args):
|
440
|
+
r"""
|
441
|
+
__init__(Urdf_PackagePath_Vector self) -> Urdf_PackagePath_Vector
|
442
|
+
__init__(Urdf_PackagePath_Vector self, Urdf_PackagePath_Vector other) -> Urdf_PackagePath_Vector
|
443
|
+
|
444
|
+
Parameters
|
445
|
+
----------
|
446
|
+
other: std::vector< std::shared_ptr< openplx::Urdf::PackagePath > > const &
|
447
|
+
|
448
|
+
__init__(Urdf_PackagePath_Vector self, std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::size_type size) -> Urdf_PackagePath_Vector
|
449
|
+
|
450
|
+
Parameters
|
451
|
+
----------
|
452
|
+
size: std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::size_type
|
453
|
+
|
454
|
+
__init__(Urdf_PackagePath_Vector self, std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::size_type size, std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::value_type const & value) -> Urdf_PackagePath_Vector
|
455
|
+
|
456
|
+
Parameters
|
457
|
+
----------
|
458
|
+
size: std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::size_type
|
459
|
+
value: std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::value_type const &
|
460
|
+
|
461
|
+
"""
|
462
|
+
_UrdfSwig.Urdf_PackagePath_Vector_swiginit(self, _UrdfSwig.new_Urdf_PackagePath_Vector(*args))
|
463
|
+
|
464
|
+
def push_back(self, x):
|
465
|
+
r"""
|
466
|
+
push_back(Urdf_PackagePath_Vector self, std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::value_type const & x)
|
467
|
+
|
468
|
+
Parameters
|
469
|
+
----------
|
470
|
+
x: std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::value_type const &
|
471
|
+
|
472
|
+
"""
|
473
|
+
return _UrdfSwig.Urdf_PackagePath_Vector_push_back(self, x)
|
474
|
+
|
475
|
+
def front(self):
|
476
|
+
r"""front(Urdf_PackagePath_Vector self) -> std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::value_type const &"""
|
477
|
+
return _UrdfSwig.Urdf_PackagePath_Vector_front(self)
|
478
|
+
|
479
|
+
def back(self):
|
480
|
+
r"""back(Urdf_PackagePath_Vector self) -> std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::value_type const &"""
|
481
|
+
return _UrdfSwig.Urdf_PackagePath_Vector_back(self)
|
482
|
+
|
483
|
+
def assign(self, n, x):
|
484
|
+
r"""
|
485
|
+
assign(Urdf_PackagePath_Vector self, std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::size_type n, std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::value_type const & x)
|
486
|
+
|
487
|
+
Parameters
|
488
|
+
----------
|
489
|
+
n: std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::size_type
|
490
|
+
x: std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::value_type const &
|
491
|
+
|
492
|
+
"""
|
493
|
+
return _UrdfSwig.Urdf_PackagePath_Vector_assign(self, n, x)
|
494
|
+
|
495
|
+
def resize(self, *args):
|
496
|
+
r"""
|
497
|
+
resize(Urdf_PackagePath_Vector self, std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::size_type new_size)
|
498
|
+
|
499
|
+
Parameters
|
500
|
+
----------
|
501
|
+
new_size: std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::size_type
|
502
|
+
|
503
|
+
resize(Urdf_PackagePath_Vector self, std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::size_type new_size, std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::value_type const & x)
|
504
|
+
|
505
|
+
Parameters
|
506
|
+
----------
|
507
|
+
new_size: std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::size_type
|
508
|
+
x: std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::value_type const &
|
509
|
+
|
510
|
+
"""
|
511
|
+
return _UrdfSwig.Urdf_PackagePath_Vector_resize(self, *args)
|
512
|
+
|
513
|
+
def insert(self, *args):
|
514
|
+
r"""
|
515
|
+
insert(Urdf_PackagePath_Vector self, std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::iterator pos, std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::value_type const & x) -> std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::iterator
|
516
|
+
|
517
|
+
Parameters
|
518
|
+
----------
|
519
|
+
pos: std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::iterator
|
520
|
+
x: std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::value_type const &
|
521
|
+
|
522
|
+
insert(Urdf_PackagePath_Vector self, std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::iterator pos, std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::size_type n, std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::value_type const & x)
|
523
|
+
|
524
|
+
Parameters
|
525
|
+
----------
|
526
|
+
pos: std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::iterator
|
527
|
+
n: std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::size_type
|
528
|
+
x: std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::value_type const &
|
529
|
+
|
530
|
+
"""
|
531
|
+
return _UrdfSwig.Urdf_PackagePath_Vector_insert(self, *args)
|
532
|
+
|
533
|
+
def reserve(self, n):
|
534
|
+
r"""
|
535
|
+
reserve(Urdf_PackagePath_Vector self, std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::size_type n)
|
536
|
+
|
537
|
+
Parameters
|
538
|
+
----------
|
539
|
+
n: std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::size_type
|
540
|
+
|
541
|
+
"""
|
542
|
+
return _UrdfSwig.Urdf_PackagePath_Vector_reserve(self, n)
|
543
|
+
|
544
|
+
def capacity(self):
|
545
|
+
r"""capacity(Urdf_PackagePath_Vector self) -> std::vector< std::shared_ptr< openplx::Urdf::PackagePath > >::size_type"""
|
546
|
+
return _UrdfSwig.Urdf_PackagePath_Vector_capacity(self)
|
547
|
+
__swig_destroy__ = _UrdfSwig.delete_Urdf_PackagePath_Vector
|
548
|
+
|
549
|
+
# Register Urdf_PackagePath_Vector in _UrdfSwig:
|
550
|
+
_UrdfSwig.Urdf_PackagePath_Vector_swigregister(Urdf_PackagePath_Vector)
|
551
|
+
|
552
|
+
class PackagePath(openplx.Core.Object):
|
553
|
+
r"""Proxy of C++ openplx::Urdf::PackagePath class."""
|
554
|
+
|
555
|
+
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
556
|
+
__repr__ = _swig_repr
|
557
|
+
|
558
|
+
def __init__(self):
|
559
|
+
r"""__init__(PackagePath self) -> PackagePath"""
|
560
|
+
_UrdfSwig.PackagePath_swiginit(self, _UrdfSwig.new_PackagePath())
|
561
|
+
|
562
|
+
def name(self):
|
563
|
+
r"""name(PackagePath self) -> std::string"""
|
564
|
+
return _UrdfSwig.PackagePath_name(self)
|
565
|
+
|
566
|
+
def path(self):
|
567
|
+
r"""path(PackagePath self) -> std::string"""
|
568
|
+
return _UrdfSwig.PackagePath_path(self)
|
569
|
+
|
570
|
+
def on_init(self, context):
|
571
|
+
r"""
|
572
|
+
on_init(PackagePath self, openplx::RuntimeContext const & context)
|
573
|
+
|
574
|
+
Parameters
|
575
|
+
----------
|
576
|
+
context: openplx::RuntimeContext const &
|
577
|
+
|
578
|
+
"""
|
579
|
+
return _UrdfSwig.PackagePath_on_init(self, context)
|
580
|
+
|
581
|
+
def setDynamic(self, key, value):
|
582
|
+
r"""
|
583
|
+
setDynamic(PackagePath self, std::string const & key, Any value)
|
584
|
+
|
585
|
+
Parameters
|
586
|
+
----------
|
587
|
+
key: std::string const &
|
588
|
+
value: openplx::Core::Any &&
|
589
|
+
|
590
|
+
"""
|
591
|
+
return _UrdfSwig.PackagePath_setDynamic(self, key, value)
|
592
|
+
|
593
|
+
def getDynamic(self, key):
|
594
|
+
r"""
|
595
|
+
getDynamic(PackagePath self, std::string const & key) -> Any
|
596
|
+
|
597
|
+
Parameters
|
598
|
+
----------
|
599
|
+
key: std::string const &
|
600
|
+
|
601
|
+
"""
|
602
|
+
return _UrdfSwig.PackagePath_getDynamic(self, key)
|
603
|
+
|
604
|
+
def callDynamic(self, key, args):
|
605
|
+
r"""
|
606
|
+
callDynamic(PackagePath self, std::string const & key, AnyVector args) -> Any
|
607
|
+
|
608
|
+
Parameters
|
609
|
+
----------
|
610
|
+
key: std::string const &
|
611
|
+
args: std::vector< openplx::Core::Any,std::allocator< openplx::Core::Any > > const &
|
612
|
+
|
613
|
+
"""
|
614
|
+
return _UrdfSwig.PackagePath_callDynamic(self, key, args)
|
615
|
+
|
616
|
+
def extractObjectFieldsTo(self, output):
|
617
|
+
r"""
|
618
|
+
extractObjectFieldsTo(PackagePath self, ObjectVector output)
|
619
|
+
|
620
|
+
Parameters
|
621
|
+
----------
|
622
|
+
output: std::vector< std::shared_ptr< openplx::Core::Object >,std::allocator< std::shared_ptr< openplx::Core::Object > > > &
|
623
|
+
|
624
|
+
"""
|
625
|
+
return _UrdfSwig.PackagePath_extractObjectFieldsTo(self, output)
|
626
|
+
|
627
|
+
def extractEntriesTo(self, output):
|
628
|
+
r"""
|
629
|
+
extractEntriesTo(PackagePath self, std::vector< std::pair< std::string,openplx::Core::Any >,std::allocator< std::pair< std::string,openplx::Core::Any > > > & output)
|
630
|
+
|
631
|
+
Parameters
|
632
|
+
----------
|
633
|
+
output: std::vector< std::pair< std::string,openplx::Core::Any >,std::allocator< std::pair< std::string,openplx::Core::Any > > > &
|
634
|
+
|
635
|
+
"""
|
636
|
+
return _UrdfSwig.PackagePath_extractEntriesTo(self, output)
|
637
|
+
|
638
|
+
def triggerOnInit(self, context):
|
639
|
+
r"""
|
640
|
+
triggerOnInit(PackagePath self, openplx::RuntimeContext const & context)
|
641
|
+
|
642
|
+
Parameters
|
643
|
+
----------
|
644
|
+
context: openplx::RuntimeContext const &
|
645
|
+
|
646
|
+
"""
|
647
|
+
return _UrdfSwig.PackagePath_triggerOnInit(self, context)
|
648
|
+
__swig_destroy__ = _UrdfSwig.delete_PackagePath
|
649
|
+
|
650
|
+
# Register PackagePath in _UrdfSwig:
|
651
|
+
_UrdfSwig.PackagePath_swigregister(PackagePath)
|
652
|
+
|
653
|
+
|
654
|
+
|