robotic 0.3.1__cp310-cp310-manylinux2014_x86_64.whl → 0.3.1.dev0__cp310-cp310-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 CHANGED
@@ -52,6 +52,10 @@ class ShapenetGrasps:
52
52
  """
53
53
  (direct interface) return pcl of loaded object
54
54
  """
55
+ def getPointNormals(self) -> arr:
56
+ """
57
+ (direct interface) return point normals of the pcl of loaded object
58
+ """
55
59
  def getSamples(self, nSamples: int) -> tuple[arr, uintA, arr]:
56
60
  """
57
61
  (batch interface) return three arrays: samples X, contexts Z, scores S (each row are scores for one sample - see evaluateSamples)
@@ -64,7 +68,7 @@ class ShapenetGrasps:
64
68
  """
65
69
  (direct interface) return (relative) pose of random sampled grasp candidate
66
70
  """
67
- def setGraspPose(self, pose: arr, objPts: str = 'objPts0') -> None:
71
+ def setGraspPose(self, pose: arr, objPts: str = 'obj0_pts') -> None:
68
72
  """
69
73
  (direct interface) set (relative) pose of grasp candidate
70
74
  """
robotic/_robotic.pyi CHANGED
@@ -792,6 +792,10 @@ class Frame:
792
792
  ...
793
793
  def setJointState(self, arg0: arr) -> Frame:
794
794
  ...
795
+ def setLines(self, verts: arr, colors: ... = ...) -> Frame:
796
+ """
797
+ attach lines as shape
798
+ """
795
799
  def setMass(self, mass: float, inertiaMatrix: arr = ...) -> Frame:
796
800
  ...
797
801
  def setMesh(self, vertices: arr, triangles: uintA, colors: ... = ..., cvxParts: uintA = ...) -> Frame:
robotic/_robotic.so CHANGED
Binary file
@@ -32,8 +32,9 @@ struct ShapenetGrasps{
32
32
  bool loadObject(uint shape, bool rndOrientation=true);
33
33
  void resetObjectPose(int idx=0, bool rndOrientation=true);
34
34
  arr getPointCloud();
35
+ arr getPointNormals();
35
36
  arr sampleGraspPose();
36
- void setGraspPose(const arr& pose, const char* objPts="objPts0");
37
+ void setGraspPose(const arr& pose, const char* objPts="obj0_pts");
37
38
  arr evaluateGrasp();
38
39
 
39
40
 
@@ -42,7 +43,7 @@ struct ShapenetGrasps{
42
43
 
43
44
  private:
44
45
  void clearScene();
45
- bool addSceneObject(const char* file, int idx, bool rndOri=true, bool visual=false);
46
+ bool addSceneObject(const char* file, int idx, bool rndOri=true);
46
47
  };
47
48
 
48
49
  arr sampleGraspCandidate(rai::Configuration& C, const char *ptsFrame, const char* refFrame, double pregraspNormalSdv=.2, int verbose=1);
robotic/librai.so CHANGED
Binary file
@@ -2,9 +2,7 @@ panda_hand: { }
2
2
  panda_hand_0(panda_hand): { shape: mesh, mesh: <meshes/hand.h5>, visual: True }
3
3
  panda_finger_joint1_origin(panda_hand): { Q: [0, 0, 0.0584, 1, 0, 0, 0] }
4
4
  panda_finger_joint2_origin(panda_hand): { Q: [0, 0, 0.0584, 1, 0, 0, 0] }
5
- panda_finger_joint1(panda_finger_joint1_origin): { joint: transY, limits: [0, 0.04, 0.2, -1, 20], ctrl_limits: [0.2, -1, 20] }
6
- panda_finger_joint2(panda_finger_joint2_origin): { joint: transY, joint_scale: -1, limits: [0, 0.04, 0.2, -1, 20], mimic: "panda_finger_joint1", ctrl_limits: [0.2, -1, 20] }
7
- panda_leftfinger(panda_finger_joint1): { }
8
- panda_rightfinger(panda_finger_joint2): { }
9
- panda_leftfinger_0(panda_leftfinger): { shape: mesh, mesh: <meshes/finger.h5>, visual: True }
10
- panda_rightfinger_0(panda_rightfinger): { Q: [0, 0, 0, -1.03412e-13, 0, 0, 1], shape: mesh, mesh: <meshes/finger.h5>, visual: True }
5
+ panda_finger_joint1(panda_finger_joint1_origin): { joint: transY, limits: [0, 0.04, 0.2, -1, 20], ctrl_limits: [0.2, -1, 20], motorKp=100, motorKd=10 }
6
+ panda_finger_joint2(panda_finger_joint2_origin): { joint: transY, joint_scale: -1, limits: [0, 0.04, 0.2, -1, 20], mimic: "panda_finger_joint1", ctrl_limits: [0.2, -1, 20], motorKp=100, motorKd=10 }
7
+ panda_leftfinger(panda_finger_joint1): { shape: mesh, mesh: <meshes/finger.h5>, visual: True, mass: .05 }
8
+ panda_rightfinger(panda_finger_joint2): { Q: [0, 0, 0, -1.03412e-13, 0, 0, 1], shape: mesh, mesh: <meshes/finger.h5>, visual: True, mass: .05 }
@@ -1,4 +1,4 @@
1
- base { multibody, multibody_gravity: false }
1
+ base { multibody, multibody_gravity: false, mass: 1. }
2
2
 
3
3
  floatX (base){ joint:transX, limits:[-2 2], mass:.01 }
4
4
  floatY (floatX){ joint:transY, limits:[-2 2], mass:.01 }
robotic/version.py CHANGED
@@ -1 +1 @@
1
- __version__ = '0.3.1'
1
+ __version__ = '0.3.1.dev0'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: robotic
3
- Version: 0.3.1
3
+ Version: 0.3.1.dev0
4
4
  Summary: Robotic Control Interface & Manipulation Planning Library
5
5
  Home-page: https://github.com/MarcToussaint/robotic/
6
6
  Author: Marc Toussaint
@@ -36,8 +36,9 @@ Lab](https://argmin.lis.tu-berlin.de/)) operate our robots.
36
36
 
37
37
  * The pip package was compiled for python3.8 .. 3.12, and most of the dependencies statically linked. A few are still loaded dynamically, which requires installing on Ubuntu:
38
38
 
39
- sudo apt install liblapack3 freeglut3-dev libglu1-mesa libfreetype6 fonts-ubuntu python3 python3-pip
40
- #latest Ubuntu: libglut3.12 and 'cd /usr/lib/x86_64-linux-gnu/ && sudo ln -s libglut.so.3.12 libglut.so.3'
39
+ sudo apt install liblapack3 freeglut3-dev libglu1-mesa libxrandr2 libfreetype6 fonts-ubuntu python3 python3-pip
40
+ #in latest Ubuntu also:
41
+ cd /usr/lib/x86_64-linux-gnu/ && sudo ln -s libglut.so.3.12 libglut.so.3
41
42
 
42
43
  * Pip install:
43
44
 
@@ -56,14 +57,15 @@ Lab](https://argmin.lis.tu-berlin.de/)) operate our robots.
56
57
  make run -j1
57
58
  make run_demos -j1
58
59
 
59
- * Tested in latest ubuntu docker (using a venv):
60
+ * Test in a clean ubuntu:latest docker (starting with `xhost +local:root && docker run -it --env="DISPLAY" --network host ubuntu:latest`):
60
61
 
61
- apt install --yes liblapack3 xorg freeglut3-dev libglu1-mesa libfreetype6 fonts-ubuntu python3 python3-pip python3-venv
62
+ apt update
63
+ env DEBIAN_FRONTEND=noninteractive apt install --yes liblapack3 freeglut3-dev libglu1-mesa libxrandr2 libfreetype6 fonts-ubuntu python3 python3-pip python3-venv
62
64
  cd /usr/lib/x86_64-linux-gnu/ && ln -s libglut.so.3.12 libglut.so.3
63
- cd
64
65
  python3 -m venv ~/venv
65
66
  source ~/venv/bin/activate
66
67
  pip install robotic numpy
68
+ ry-info
67
69
  ry-test
68
70
 
69
71
  ## Installation from source with real Franka & realsense support
@@ -1,8 +1,8 @@
1
- robotic/DataGen.pyi,sha256=Psut6_CMYC1lkRWIfpem1vjiHeDA1bDRYh5WmALUuDw,3239
1
+ robotic/DataGen.pyi,sha256=d87TVK9SluoK409BexT5k1EHQYyrYHC1OW8QSdT-ujw,3378
2
2
  robotic/__init__.py,sha256=H8Qi-wA95h6SuziEFNZFEt6Tpt5UrttS9ftBjZCsMm4,421
3
- robotic/_robotic.pyi,sha256=WGPudISms8zNXQ3iWmDDyPy5zxDFdXqkWRulQPlRByw,74355
4
- robotic/_robotic.so,sha256=wAHJVOi5vTWt_yrKXxVHU5_T_gOv9mp_mSfEcibwkk8,1222472
5
- robotic/librai.so,sha256=jLZRs6pakYH_QOAbZLaW-2m_N_Tdw8fFovbE3pz5vGw,38705536
3
+ robotic/_robotic.pyi,sha256=NJQEj0Jcda4JyPmN10aQlAY9tPzf3c6KK7lfQK8oj4Q,74473
4
+ robotic/_robotic.so,sha256=hb395W-9lyH0S_wSMQdc2ntPwIkgo9NhfyqgcSPbhTw,1222472
5
+ robotic/librai.so,sha256=w6FnWKspRCUYVEZKV2h0hmpUtJpDuKV_NnSwoyBG5Gg,38701440
6
6
  robotic/manipulation.py,sha256=EhM_Zuv3vl8H4SBNqqYMD3NT9AzFUpOhr4PIzM4U7tM,22374
7
7
  robotic/meshTool,sha256=PmuUM1ia3Opa5JT8T7L7k9-ThYgdBNT2pALqudKh82g,52176
8
8
  robotic/mujoco-import.py,sha256=8eC8ldlFwnYQfqII3FVdWEQ7zd1PkSdAF-oyryIQtkY,231
@@ -17,7 +17,7 @@ robotic/ry-urdfConvert.py,sha256=8Efnq3PU202rrZrVEZiGwzFOJdvrLjTJ2q-gnY6-tiU,255
17
17
  robotic/ry-view,sha256=T1Omn1QS7cNAtjQhBjMJTNz7aW5FgoOf9vBIfW0mFME,613
18
18
  robotic/test.py,sha256=8hiDRB2kB37hE5cZ7h26AJDnSGYb1y8DwOrcEGD_5Hc,620
19
19
  robotic/test.pyi,sha256=vVxwRSerjUG4bpB7pIhof7ZatrBqwg3Bj5voywa-YTI,917
20
- robotic/version.py,sha256=TZkGuMIRSRmUY3XCIs5owt2o60vXyqYMHWIkhx65uYE,22
20
+ robotic/version.py,sha256=ZWhjsBrDhcUf4gjEggmZnfIlksbS0utUxoRi60yM2Fo,27
21
21
  robotic/include/rai/Algo/MLcourse.h,sha256=TGkAJWC5ollGfPw0-gcYL0TZeDJiHtWFzkHSMK8_lqU,1828
22
22
  robotic/include/rai/Algo/RidgeRegression.h,sha256=VXiv6-xr3j--CN7DJTzUg9Xb49zV9FZ9dwzxP1CmcPM,3730
23
23
  robotic/include/rai/Algo/SplineCtrlFeed.h,sha256=9ZtYLHXx9sExj0lZV6F5ZWaCtkm0R4hMiYb-KJjktnc,3339
@@ -60,7 +60,7 @@ robotic/include/rai/Core/lapack/cblas.h,sha256=4bSmMzZ4idIPlmcwjw5HuwY1cs5RU73Zw
60
60
  robotic/include/rai/Core/lapack/clapack.h,sha256=8rLteHzzGpKhJZXv4Eom9mk8lzbwRwjJuIqJuR1eePc,343373
61
61
  robotic/include/rai/Core/lapack/lapacke.h,sha256=cpP6MEjkLGyhS8mV6ysRlTVeUam6f8zBgFUJB1phuwM,1045408
62
62
  robotic/include/rai/DataGen/rndStableConfigs.h,sha256=bIz2RovkruMjYaaDwJIkyevsF6oV16y7dhyKm6sp_6s,391
63
- robotic/include/rai/DataGen/shapenetGrasps.h,sha256=QWv85YMGtW_X9ldKu4eZuoRNdQeIYtVTx1XIsk3Pbvg,1589
63
+ robotic/include/rai/DataGen/shapenetGrasps.h,sha256=NMQ4V1F6-UF8uPlTs4eonutpk4ZH90go1DYcbppfjss,1596
64
64
  robotic/include/rai/Geo/assimpInterface.h,sha256=2Jg7v2GZ83nz4kkgPLzbSWTIBmL9nZg-LhMlWcjiF_o,1055
65
65
  robotic/include/rai/Geo/depth2PointCloud.h,sha256=0mXJnTk0sMB--KDE9CO_2gKgGw4gHXUe7xg6DcROhvk,1168
66
66
  robotic/include/rai/Geo/fclInterface.h,sha256=d89JFW3WKI64gOdQSGs6uFdE7NcMavNg89BMHhzMDac,984
@@ -238,7 +238,7 @@ robotic/rai-robotModels/panda/panda_arm_hand_conv.g,sha256=BVDQNIAwPB45rrvLX-WYw
238
238
  robotic/rai-robotModels/panda/panda_arm_hand_conv.yml,sha256=_YP4vVVKeScSPNLRRkkiH2fnHuFUQgt12O1RnWV5mTY,2486
239
239
  robotic/rai-robotModels/panda/panda_clean.g,sha256=6EShzBmEa2R5sJRhnGRXwLWcyjRybFY3Su-hdwz55yw,3168
240
240
  robotic/rai-robotModels/panda/panda_deformable.g,sha256=DvkhnJYSXc1S_GRBM3iJOm6WovKYrsckzAW-rXxLqH8,6037
241
- robotic/rai-robotModels/panda/panda_gripper.g,sha256=CB_rY6PUTdpgNsSvvAQ967t2Sm6r0B59rUqaVCZCmvA,862
241
+ robotic/rai-robotModels/panda/panda_gripper.g,sha256=qdVvPLq8LNkcXFNVfLcYBLNvcgAt7UN3qaTYgCevi7o,846
242
242
  robotic/rai-robotModels/panda/panda_withoutCollisionModels.g,sha256=RPJawK8POmG_Hyc92XcprQbFArEryQWM8O6IB5zcSYQ,278
243
243
  robotic/rai-robotModels/panda/meshes/finger.h5,sha256=hzqxoufYkW0_qDgVH4ZCx7vwCeZF4s3qe0KpMyXf3Lw,12994
244
244
  robotic/rai-robotModels/panda/meshes/hand.h5,sha256=lbiphvOO3NKhuBW6kexfbfArDcNKqpqDM9yS_bmFdss,100882
@@ -317,7 +317,7 @@ robotic/rai-robotModels/scenarios/k00.g,sha256=Bjei9rYaLLwOhOSHFjaDGc7LFDraL8sxQ
317
317
  robotic/rai-robotModels/scenarios/kswing.g,sha256=k1bND_Hr-lE5sklOraw58HdUye6iW8jTdjBUwbyRCRM,3995
318
318
  robotic/rai-robotModels/scenarios/liftRing.g,sha256=fRKPEfUH_kDL4r7PmpO0kB2t1KeLV9QypxEEN_BNrqQ,1349
319
319
  robotic/rai-robotModels/scenarios/mobileMini.g,sha256=I7SE9YUUciZ1JrJG6BIAZ9Oho_eUa_Z76l5_h-B0wjY,1158
320
- robotic/rai-robotModels/scenarios/pandaFloatingGripper.g,sha256=zYo9T6aFWREpP2gnME0iFwOErKR8Ram2gndnZ9s-xXA,1498
320
+ robotic/rai-robotModels/scenarios/pandaFloatingGripper.g,sha256=emCRjAxW1XAo9teBjjxvnM4C3JiCWPfiptFFr3swwfE,1508
321
321
  robotic/rai-robotModels/scenarios/pandaSingle.g,sha256=H_UnXdMUbk16os9StOZB0PZMPL3FaGbCAZy0uUAKEKA,1147
322
322
  robotic/rai-robotModels/scenarios/panda_fixGripper.g,sha256=bhkRey6igLb18HlOFj7CpAjqF6R7Z3saxevipHAn4W0,337
323
323
  robotic/rai-robotModels/scenarios/panda_fixRobotiq.g,sha256=QVLpZCchSnoouayhIoVQcaWYHaZGVn4pIlj6nkFDHjs,1564
@@ -356,15 +356,15 @@ robotic/src/meshlabFilters.mlx,sha256=SCIiIk7XZusvKEKY62pHSem_R3TcMUP8BFaLTVUcnE
356
356
  robotic/src/mujoco_io.py,sha256=uJ0-ZztwlFiP3ZQvHCKf5DdtkpBMsVT--d332qV9rNQ,9474
357
357
  robotic/src/urdf_io.py,sha256=bbPcJWS9rnYk8CWgEZTmx1XJRBIDrfwgCj-S_RFxl9U,8800
358
358
  robotic/src/yaml_helper.py,sha256=eCUK6w4FCRpBqNgP7FdVDbJf2H7Y1bfIGzs89nOrAsY,637
359
- robotic-0.3.1.data/scripts/ry-bot,sha256=LBNbbQeNNNd_tupI5463Xe-RKSD6xy4HGTbJloisCGk,2280
360
- robotic-0.3.1.data/scripts/ry-h5info,sha256=eh9McT5Ury7bbTudxkSOLWo-tZ6heiSEpGStM07N-Dc,810
361
- robotic-0.3.1.data/scripts/ry-info,sha256=fL5QXJL4Xx-Q42L2C29HHbj1XsmWdWiKIv9rVfc5sm4,425
362
- robotic-0.3.1.data/scripts/ry-meshTool,sha256=h4f4wFPNaey3ziz870SrEvy6SsQSL-ZnR_cH3UuAZxE,101
363
- robotic-0.3.1.data/scripts/ry-test,sha256=vcaPrFq9Co9N2F2Mdl2_1CTieOBssSoEhU67wXqJ2EY,981
364
- robotic-0.3.1.data/scripts/ry-urdfConvert.py,sha256=762MIDmAhdCCj55QftY7wsy9gOEs-TDEWcRPt5dECyc,2542
365
- robotic-0.3.1.data/scripts/ry-view,sha256=_GjUbVS2X3AWnlXqIHwU5dofLmUKA2-NUPySgS-QJNI,599
366
- robotic-0.3.1.dist-info/licenses/LICENSE,sha256=oT-pAsUSXiuMq2_3omR87-GFBeBnegQYixH4Bm_7wag,1071
367
- robotic-0.3.1.dist-info/METADATA,sha256=3DF_RHYZVJC10yPtbb6iQwSGgX8pLPFD4l93lsgjz1M,6497
368
- robotic-0.3.1.dist-info/WHEEL,sha256=0-G7woG4LgutcYzUGJCOYFgoh749-FtfhSMeIPLVGS0,104
369
- robotic-0.3.1.dist-info/top_level.txt,sha256=x5A4haAZ18y9FpO1IhXSVJ2TFdhVAgT5JMkejHUg_9U,8
370
- robotic-0.3.1.dist-info/RECORD,,
359
+ robotic-0.3.1.dev0.data/scripts/ry-bot,sha256=LBNbbQeNNNd_tupI5463Xe-RKSD6xy4HGTbJloisCGk,2280
360
+ robotic-0.3.1.dev0.data/scripts/ry-h5info,sha256=eh9McT5Ury7bbTudxkSOLWo-tZ6heiSEpGStM07N-Dc,810
361
+ robotic-0.3.1.dev0.data/scripts/ry-info,sha256=fL5QXJL4Xx-Q42L2C29HHbj1XsmWdWiKIv9rVfc5sm4,425
362
+ robotic-0.3.1.dev0.data/scripts/ry-meshTool,sha256=h4f4wFPNaey3ziz870SrEvy6SsQSL-ZnR_cH3UuAZxE,101
363
+ robotic-0.3.1.dev0.data/scripts/ry-test,sha256=vcaPrFq9Co9N2F2Mdl2_1CTieOBssSoEhU67wXqJ2EY,981
364
+ robotic-0.3.1.dev0.data/scripts/ry-urdfConvert.py,sha256=762MIDmAhdCCj55QftY7wsy9gOEs-TDEWcRPt5dECyc,2542
365
+ robotic-0.3.1.dev0.data/scripts/ry-view,sha256=_GjUbVS2X3AWnlXqIHwU5dofLmUKA2-NUPySgS-QJNI,599
366
+ robotic-0.3.1.dev0.dist-info/licenses/LICENSE,sha256=oT-pAsUSXiuMq2_3omR87-GFBeBnegQYixH4Bm_7wag,1071
367
+ robotic-0.3.1.dev0.dist-info/METADATA,sha256=XLdNe-YNKIZR5yeHy-LIYZoQl-5g-wRA7Ir8tWM6sJM,6659
368
+ robotic-0.3.1.dev0.dist-info/WHEEL,sha256=0-G7woG4LgutcYzUGJCOYFgoh749-FtfhSMeIPLVGS0,104
369
+ robotic-0.3.1.dev0.dist-info/top_level.txt,sha256=x5A4haAZ18y9FpO1IhXSVJ2TFdhVAgT5JMkejHUg_9U,8
370
+ robotic-0.3.1.dev0.dist-info/RECORD,,