robotic 0.2.7__cp312-cp312-manylinux2014_x86_64.whl → 0.2.8.dev0__cp312-cp312-manylinux2014_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.
Potentially problematic release.
This version of robotic might be problematic. Click here for more details.
- robotic/DataGen.pyi +5 -1
- robotic/_robotic.pyi +18 -2
- robotic/_robotic.so +0 -0
- robotic/include/rai/DataGen/shapenetGrasps.h +2 -0
- robotic/librai.so +0 -0
- robotic/manipulation.py +3 -1
- robotic/version.py +1 -1
- {robotic-0.2.7.dist-info → robotic-0.2.8.dev0.dist-info}/METADATA +1 -1
- {robotic-0.2.7.dist-info → robotic-0.2.8.dev0.dist-info}/RECORD +19 -19
- {robotic-0.2.7.data → robotic-0.2.8.dev0.data}/scripts/ry-bot +0 -0
- {robotic-0.2.7.data → robotic-0.2.8.dev0.data}/scripts/ry-info +0 -0
- {robotic-0.2.7.data → robotic-0.2.8.dev0.data}/scripts/ry-meshTool +0 -0
- {robotic-0.2.7.data → robotic-0.2.8.dev0.data}/scripts/ry-test +0 -0
- {robotic-0.2.7.data → robotic-0.2.8.dev0.data}/scripts/ry-urdf2rai +0 -0
- {robotic-0.2.7.data → robotic-0.2.8.dev0.data}/scripts/ry-urdf2yaml +0 -0
- {robotic-0.2.7.data → robotic-0.2.8.dev0.data}/scripts/ry-view +0 -0
- {robotic-0.2.7.dist-info → robotic-0.2.8.dev0.dist-info}/LICENSE +0 -0
- {robotic-0.2.7.dist-info → robotic-0.2.8.dev0.dist-info}/WHEEL +0 -0
- {robotic-0.2.7.dist-info → robotic-0.2.8.dev0.dist-info}/top_level.txt +0 -0
robotic/DataGen.pyi
CHANGED
|
@@ -3,7 +3,7 @@ rai data generators
|
|
|
3
3
|
"""
|
|
4
4
|
from __future__ import annotations
|
|
5
5
|
import _robotic
|
|
6
|
-
__all__ = ['RndStableConfigs', 'ShapenetGrasps']
|
|
6
|
+
__all__ = ['RndStableConfigs', 'ShapenetGrasps', 'sampleGraspCandidate']
|
|
7
7
|
class RndStableConfigs:
|
|
8
8
|
"""
|
|
9
9
|
A generator of random stable configurations
|
|
@@ -76,3 +76,7 @@ class ShapenetGrasps:
|
|
|
76
76
|
"""
|
|
77
77
|
set options
|
|
78
78
|
"""
|
|
79
|
+
def sampleGraspCandidate(C: _robotic.Config, ptsFrame: str, refFrame: str, pregraspNormalSdv: float = 0.2, verbose: int = 1) -> arr:
|
|
80
|
+
"""
|
|
81
|
+
sample random grasp candidates on an object represented as points
|
|
82
|
+
"""
|
robotic/_robotic.pyi
CHANGED
|
@@ -263,6 +263,10 @@ class Config:
|
|
|
263
263
|
"""
|
|
264
264
|
add a new frame to C; optionally make this a child to the given parent; use the Frame methods to set properties of the new frame
|
|
265
265
|
"""
|
|
266
|
+
def addH5Object(self, framename: str, filename: str, verbose: int = 0) -> Frame:
|
|
267
|
+
"""
|
|
268
|
+
add the contents of the file to C
|
|
269
|
+
"""
|
|
266
270
|
def animate(self) -> None:
|
|
267
271
|
"""
|
|
268
272
|
displays while articulating all dofs in a row
|
|
@@ -452,6 +456,14 @@ class ConfigurationViewer:
|
|
|
452
456
|
@staticmethod
|
|
453
457
|
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
454
458
|
...
|
|
459
|
+
def savePng(self, saveVideoPath: str = 'z.vid/', count: int = -1) -> None:
|
|
460
|
+
"""
|
|
461
|
+
save enumerated pngs in a path - for video making
|
|
462
|
+
"""
|
|
463
|
+
def visualsOnly(self, _visualsOnly: bool = True) -> None:
|
|
464
|
+
"""
|
|
465
|
+
display only visuals (no markers/transparent/text)
|
|
466
|
+
"""
|
|
455
467
|
class ControlMode:
|
|
456
468
|
"""
|
|
457
469
|
Members:
|
|
@@ -778,13 +790,17 @@ class Frame:
|
|
|
778
790
|
"""
|
|
779
791
|
attach a point cloud shape
|
|
780
792
|
"""
|
|
781
|
-
def setPose(self, arg0:
|
|
793
|
+
def setPose(self, arg0: arr) -> None:
|
|
794
|
+
...
|
|
795
|
+
def setPoseByText(self, arg0: str) -> None:
|
|
782
796
|
...
|
|
783
797
|
def setPosition(self, arg0: arr) -> Frame:
|
|
784
798
|
...
|
|
785
799
|
def setQuaternion(self, arg0: arr) -> Frame:
|
|
786
800
|
...
|
|
787
|
-
def setRelativePose(self, arg0:
|
|
801
|
+
def setRelativePose(self, arg0: arr) -> None:
|
|
802
|
+
...
|
|
803
|
+
def setRelativePoseByText(self, arg0: str) -> None:
|
|
788
804
|
...
|
|
789
805
|
def setRelativePosition(self, arg0: arr) -> Frame:
|
|
790
806
|
...
|
robotic/_robotic.so
CHANGED
|
Binary file
|
|
@@ -43,3 +43,5 @@ private:
|
|
|
43
43
|
void addSceneGripper();
|
|
44
44
|
bool addSceneObject(const char* file, int idx, bool rndPose=true, bool visual=false);
|
|
45
45
|
};
|
|
46
|
+
|
|
47
|
+
arr sampleGraspCandidate(rai::Configuration& C, const char *ptsFrame, const char* refFrame, double pregraspNormalSdv=.2, int verbose=1);
|
robotic/librai.so
CHANGED
|
Binary file
|
robotic/manipulation.py
CHANGED
|
@@ -388,13 +388,15 @@ class KOMO_ManipulationHelper():
|
|
|
388
388
|
# cout <<' == scroll through solution in display window using SHIFT-scroll' <<endl
|
|
389
389
|
self.komo.view(True, f'debug: {info}\n{self.ret}')
|
|
390
390
|
|
|
391
|
-
def play(self, C: ry.Config, duration=1
|
|
391
|
+
def play(self, C: ry.Config, duration=1., savePngs=False):
|
|
392
392
|
dofs = C.getJointIDs()
|
|
393
393
|
path = self.komo.getPath(dofs)
|
|
394
394
|
for t in range(self.path.shape[0]):
|
|
395
395
|
C.setJointState(path[t])
|
|
396
396
|
C.view(False, f'step {t}\n{self.info}')
|
|
397
397
|
time.sleep(duration/self.path.shape[0])
|
|
398
|
+
if savePngs:
|
|
399
|
+
C.get_viewer().savePng()
|
|
398
400
|
|
|
399
401
|
def sub_motion(self, phase, fixEnd=True, homing_scale=1e-2, acceleration_scale=1e-1, accumulated_collisions=True, quaternion_norms=False):
|
|
400
402
|
(C, q0, q1) = self.komo.getSubProblem(phase)
|
robotic/version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '0.2.
|
|
1
|
+
__version__ = '0.2.8.dev0'
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
robotic/DataGen.pyi,sha256=
|
|
1
|
+
robotic/DataGen.pyi,sha256=RnCd33h0g0RGAHe2OwmkIxJrs9c-aQl6-9IxRRgQqms,3294
|
|
2
2
|
robotic/__init__.py,sha256=k-hVqPB7vN-huwpRzQLt3f--6sNdjaCQ_hWw66dWkA8,297
|
|
3
|
-
robotic/_robotic.pyi,sha256=
|
|
4
|
-
robotic/_robotic.so,sha256=
|
|
5
|
-
robotic/librai.so,sha256=
|
|
6
|
-
robotic/manipulation.py,sha256=
|
|
3
|
+
robotic/_robotic.pyi,sha256=MziTcOdR7VbPqcsI4p7ot-nEijdOIkKd8nkywoquYjk,71316
|
|
4
|
+
robotic/_robotic.so,sha256=NlPigqoYVLjj8f0i-cDP-BceOINxRNag8NeVZjxnWm0,1189600
|
|
5
|
+
robotic/librai.so,sha256=aWvvQqbM7qwBA2M_dH4276T-JueUMdT4WQQeHMC1qGI,40126344
|
|
6
|
+
robotic/manipulation.py,sha256=vdjmj-wXm278xZnFzpxk4Qqk0CMsdPJ0wkwQgU-MRxY,22437
|
|
7
7
|
robotic/meshTool,sha256=2SpKcToxKHD8M6me_GRWu9vi1G4jauEOZSgZWWwisug,43928
|
|
8
8
|
robotic/nlp.py,sha256=n9_hOj3i707DdL_r49Yd2eWyjsSOahW8DmJrEhQlNFw,3200
|
|
9
9
|
robotic/render.py,sha256=OE1dvyWHD7Oyzk4wlhXZ7m3v3xxa3zAL5_LCV1RgJXk,4662
|
|
@@ -16,7 +16,7 @@ robotic/ry-urdf2rai,sha256=88CFu5ikKsjy4wQixvCZqtNOqCheBiT18cjZfOsJA8A,7736
|
|
|
16
16
|
robotic/ry-urdf2yaml,sha256=D36MR8Ui6Ry9V0TqJOBaPCWC89OZa43Fytz4P7Y4v0w,8543
|
|
17
17
|
robotic/ry-view,sha256=T1Omn1QS7cNAtjQhBjMJTNz7aW5FgoOf9vBIfW0mFME,613
|
|
18
18
|
robotic/test.pyi,sha256=vVxwRSerjUG4bpB7pIhof7ZatrBqwg3Bj5voywa-YTI,917
|
|
19
|
-
robotic/version.py,sha256=
|
|
19
|
+
robotic/version.py,sha256=3EUIyFRw8VHlP7yCEv2I7yl7ZnfmBAdVRaYG6DNQS4M,27
|
|
20
20
|
robotic/include/rai/Algo/MLcourse.h,sha256=TGkAJWC5ollGfPw0-gcYL0TZeDJiHtWFzkHSMK8_lqU,1828
|
|
21
21
|
robotic/include/rai/Algo/RidgeRegression.h,sha256=VXiv6-xr3j--CN7DJTzUg9Xb49zV9FZ9dwzxP1CmcPM,3730
|
|
22
22
|
robotic/include/rai/Algo/SplineCtrlFeed.h,sha256=9ZtYLHXx9sExj0lZV6F5ZWaCtkm0R4hMiYb-KJjktnc,3339
|
|
@@ -59,7 +59,7 @@ robotic/include/rai/Core/lapack/cblas.h,sha256=4bSmMzZ4idIPlmcwjw5HuwY1cs5RU73Zw
|
|
|
59
59
|
robotic/include/rai/Core/lapack/clapack.h,sha256=8rLteHzzGpKhJZXv4Eom9mk8lzbwRwjJuIqJuR1eePc,343373
|
|
60
60
|
robotic/include/rai/Core/lapack/lapacke.h,sha256=cpP6MEjkLGyhS8mV6ysRlTVeUam6f8zBgFUJB1phuwM,1045408
|
|
61
61
|
robotic/include/rai/DataGen/rndStableConfigs.h,sha256=bIz2RovkruMjYaaDwJIkyevsF6oV16y7dhyKm6sp_6s,391
|
|
62
|
-
robotic/include/rai/DataGen/shapenetGrasps.h,sha256=
|
|
62
|
+
robotic/include/rai/DataGen/shapenetGrasps.h,sha256=ZPAC97sdGez4tKiJwoqQ4FvOMtUpVp_NQepzsYccjfg,1549
|
|
63
63
|
robotic/include/rai/Geo/assimpInterface.h,sha256=bTLjLN7_6unykJ-erIxyyb2RZtmcFxkygUws8N5MlNI,1039
|
|
64
64
|
robotic/include/rai/Geo/depth2PointCloud.h,sha256=0mXJnTk0sMB--KDE9CO_2gKgGw4gHXUe7xg6DcROhvk,1168
|
|
65
65
|
robotic/include/rai/Geo/fclInterface.h,sha256=iNdxNc_DSOgYCLyCajxP8lxdnrNcyoKQmjUlVmjxjQM,940
|
|
@@ -396,15 +396,15 @@ robotic/rai-robotModels/ur10/ur_description/meshes/ur10/visual/UpperArm.ply,sha2
|
|
|
396
396
|
robotic/rai-robotModels/ur10/ur_description/meshes/ur10/visual/Wrist1.ply,sha256=Qmlgt3g046pi8GPzlUBKbDcR-4JehZkXfSRNabe_RVI,282487
|
|
397
397
|
robotic/rai-robotModels/ur10/ur_description/meshes/ur10/visual/Wrist2.ply,sha256=br9zVxfiGNlEMAuVm36e2dJ0chDKpVMe3H1MCh-318E,784726
|
|
398
398
|
robotic/rai-robotModels/ur10/ur_description/meshes/ur10/visual/Wrist3.ply,sha256=el2jO6EOzwgz3ybkKjz9XcjCIQJWCpOCgTA7DSFHz6U,25593
|
|
399
|
-
robotic-0.2.
|
|
400
|
-
robotic-0.2.
|
|
401
|
-
robotic-0.2.
|
|
402
|
-
robotic-0.2.
|
|
403
|
-
robotic-0.2.
|
|
404
|
-
robotic-0.2.
|
|
405
|
-
robotic-0.2.
|
|
406
|
-
robotic-0.2.
|
|
407
|
-
robotic-0.2.
|
|
408
|
-
robotic-0.2.
|
|
409
|
-
robotic-0.2.
|
|
410
|
-
robotic-0.2.
|
|
399
|
+
robotic-0.2.8.dev0.data/scripts/ry-bot,sha256=LBNbbQeNNNd_tupI5463Xe-RKSD6xy4HGTbJloisCGk,2280
|
|
400
|
+
robotic-0.2.8.dev0.data/scripts/ry-info,sha256=fL5QXJL4Xx-Q42L2C29HHbj1XsmWdWiKIv9rVfc5sm4,425
|
|
401
|
+
robotic-0.2.8.dev0.data/scripts/ry-meshTool,sha256=h4f4wFPNaey3ziz870SrEvy6SsQSL-ZnR_cH3UuAZxE,101
|
|
402
|
+
robotic-0.2.8.dev0.data/scripts/ry-test,sha256=61CnOEa-OqBsNznvXlZ_Xo5aCXx8QKYeokhsHcEUZac,962
|
|
403
|
+
robotic-0.2.8.dev0.data/scripts/ry-urdf2rai,sha256=oeLKgNzYKV5yZ_vkvCrw65CY3ZAxL2ssFQQKcRuCNeo,7722
|
|
404
|
+
robotic-0.2.8.dev0.data/scripts/ry-urdf2yaml,sha256=Nebu73TLTUx2p40-FLakek9n3y74cRJfRchV0vV0Gf0,8529
|
|
405
|
+
robotic-0.2.8.dev0.data/scripts/ry-view,sha256=_GjUbVS2X3AWnlXqIHwU5dofLmUKA2-NUPySgS-QJNI,599
|
|
406
|
+
robotic-0.2.8.dev0.dist-info/LICENSE,sha256=oT-pAsUSXiuMq2_3omR87-GFBeBnegQYixH4Bm_7wag,1071
|
|
407
|
+
robotic-0.2.8.dev0.dist-info/METADATA,sha256=jAN0kHZDUDCtdGtLV_USBqRb3Amcx52ftSAKaciw560,6694
|
|
408
|
+
robotic-0.2.8.dev0.dist-info/WHEEL,sha256=aDUArjEbIuDQzblE24IvdIsBzRhJEjiXmuNUYQ-gpaA,104
|
|
409
|
+
robotic-0.2.8.dev0.dist-info/top_level.txt,sha256=x5A4haAZ18y9FpO1IhXSVJ2TFdhVAgT5JMkejHUg_9U,8
|
|
410
|
+
robotic-0.2.8.dev0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|