robotic 0.2.9.dev1__cp311-cp311-manylinux2014_x86_64.whl → 0.3.4.dev5__cp311-cp311-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.
Files changed (416) hide show
  1. robotic/DataGen.pyi +11 -1
  2. robotic/__init__.py +8 -1
  3. robotic/_robotic.pyi +228 -110
  4. robotic/_robotic.so +0 -0
  5. robotic/algo.pyi +17 -0
  6. robotic/include/rai/{Geo → Algo}/Lewiner/MarchingCubes.h +0 -29
  7. robotic/include/rai/Algo/SplineCtrlFeed.h +1 -1
  8. robotic/include/rai/Algo/marching_cubes.h +9 -0
  9. robotic/include/rai/Algo/rungeKutta.h +2 -2
  10. robotic/include/rai/Algo/spline.h +4 -8
  11. robotic/include/rai/Algo/trilinear.h +10 -0
  12. robotic/include/rai/Control/CtrlSolver.h +1 -1
  13. robotic/include/rai/Control/TimingMPC.h +2 -2
  14. robotic/include/rai/Core/array.h +99 -64
  15. robotic/include/rai/Core/array.ipp +290 -139
  16. robotic/include/rai/Core/arrayDouble.h +36 -26
  17. robotic/include/rai/Core/defines.h +7 -9
  18. robotic/include/rai/Core/graph.h +27 -23
  19. robotic/include/rai/Core/h5.h +3 -1
  20. robotic/include/rai/Core/thread.h +12 -12
  21. robotic/include/rai/Core/util.h +58 -79
  22. robotic/include/rai/DataGen/rndStableConfigs.h +1 -0
  23. robotic/include/rai/DataGen/shapenetGrasps.h +5 -3
  24. robotic/include/rai/Geo/depth2PointCloud.h +2 -0
  25. robotic/include/rai/Geo/geo.h +23 -15
  26. robotic/include/rai/Geo/{fclInterface.h → i_fcl.h} +3 -1
  27. robotic/include/rai/Geo/mesh.h +18 -13
  28. robotic/include/rai/Geo/pairCollision.h +43 -43
  29. robotic/include/rai/Geo/signedDistanceFunctions.h +7 -5
  30. robotic/include/rai/Geo/stb_image.h +1 -1
  31. robotic/include/rai/Gui/RenderData.h +9 -7
  32. robotic/include/rai/Gui/opengl.h +6 -6
  33. robotic/include/rai/Gui/plot.h +1 -1
  34. robotic/include/rai/KOMO/komo.h +6 -3
  35. robotic/include/rai/KOMO/komo_NLP.h +2 -2
  36. robotic/include/rai/KOMO/manipTools.h +7 -2
  37. robotic/include/rai/KOMO/testProblems_KOMO.h +5 -9
  38. robotic/include/rai/Kin/F_forces.h +3 -3
  39. robotic/include/rai/Kin/cameraview.h +24 -36
  40. robotic/include/rai/Kin/dof_forceExchange.h +7 -7
  41. robotic/include/rai/Kin/feature.h +1 -1
  42. robotic/include/rai/Kin/frame.h +22 -24
  43. robotic/include/rai/Kin/{kin_physx.h → i_Physx.h} +10 -8
  44. robotic/include/rai/Kin/kin.h +29 -21
  45. robotic/include/rai/Kin/proxy.h +1 -1
  46. robotic/include/rai/Kin/simulation.h +20 -10
  47. robotic/include/rai/Kin/viewer.h +14 -1
  48. robotic/include/rai/LGP/LGP_TAMP_Abstraction.h +33 -0
  49. robotic/include/rai/LGP/LGP_Tool.h +4 -25
  50. robotic/include/rai/LGP/LGP_computers.h +1 -1
  51. robotic/include/rai/LGP/LGP_computers2.h +196 -0
  52. robotic/include/rai/LGP/NLP_Descriptor.h +5 -0
  53. robotic/include/rai/Logic/folWorld.h +1 -1
  54. robotic/include/rai/Logic/treeSearchDomain.h +2 -2
  55. robotic/include/rai/Optim/BayesOpt.h +13 -6
  56. robotic/include/rai/Optim/CMA/boundary_transformation.h +73 -0
  57. robotic/include/rai/Optim/CMA/cmaes.h +175 -0
  58. robotic/include/rai/Optim/CMA/cmaes_interface.h +68 -0
  59. robotic/include/rai/Optim/GlobalIterativeNewton.h +7 -3
  60. robotic/include/rai/Optim/NLP.h +23 -7
  61. robotic/include/rai/Optim/NLP_GraphSolver.h +1 -1
  62. robotic/include/rai/Optim/NLP_Solver.h +5 -5
  63. robotic/include/rai/Optim/constrained.h +4 -4
  64. robotic/include/rai/Optim/{opt-ceres.h → i_Ceres.h} +2 -2
  65. robotic/include/rai/Optim/{opt-nlopt.h → i_NLopt.h} +4 -0
  66. robotic/include/rai/Optim/lagrangian.h +7 -5
  67. robotic/include/rai/Optim/liblbfgs/liblbfgs.h +755 -0
  68. robotic/include/rai/Optim/m_EvoStrategies.h +114 -0
  69. robotic/include/rai/Optim/{gradient.h → m_Gradient.h} +13 -12
  70. robotic/include/rai/Optim/m_LBFGS.h +21 -0
  71. robotic/include/rai/Optim/m_LeastSquaresZeroOrder.h +104 -0
  72. robotic/include/rai/Optim/m_LocalGreedy.h +31 -0
  73. robotic/include/rai/Optim/m_NelderMead.h +23 -0
  74. robotic/include/rai/Optim/{newton.h → m_Newton.h} +7 -4
  75. robotic/include/rai/Optim/{SlackGaussNewton.h → m_SlackGaussNewton.h} +0 -10
  76. robotic/include/rai/Optim/options.h +8 -7
  77. robotic/include/rai/Optim/primalDual.h +10 -6
  78. robotic/include/rai/Optim/testProblems_Opt.h +25 -19
  79. robotic/include/rai/Optim/utils.h +16 -85
  80. robotic/include/rai/PathAlgos/ConfigurationProblem.h +3 -2
  81. robotic/include/rai/PathAlgos/RRT_PathFinder.h +2 -2
  82. robotic/include/rai/Perception/pcl.h +10 -10
  83. robotic/include/rai/Perception/surfels.h +1 -1
  84. robotic/include/rai/Search/TreeSearchNode.h +1 -1
  85. robotic/include/rai/ry/py-algo.h +17 -0
  86. robotic/include/rai/ry/types.h +4 -2
  87. robotic/librai.so +0 -0
  88. robotic/manipulation.py +5 -7
  89. robotic/meshTool +0 -0
  90. robotic/mujoco-import.py +8 -0
  91. robotic/rai-robotModels/g1/g1.g +11 -2
  92. robotic/rai-robotModels/g1/g1_29dof_conv.yml +64 -0
  93. robotic/rai-robotModels/g1/g1_clean.g +38 -73
  94. robotic/rai-robotModels/g1/meshes/head_link.h5 +0 -0
  95. robotic/rai-robotModels/g1/meshes/left_ankle_pitch_link.h5 +0 -0
  96. robotic/rai-robotModels/g1/meshes/left_ankle_roll_link.h5 +0 -0
  97. robotic/rai-robotModels/g1/meshes/left_elbow_link.h5 +0 -0
  98. robotic/rai-robotModels/g1/meshes/left_hip_pitch_link.h5 +0 -0
  99. robotic/rai-robotModels/g1/meshes/left_hip_roll_link.h5 +0 -0
  100. robotic/rai-robotModels/g1/meshes/left_hip_yaw_link.h5 +0 -0
  101. robotic/rai-robotModels/g1/meshes/left_knee_link.h5 +0 -0
  102. robotic/rai-robotModels/g1/meshes/left_rubber_hand.h5 +0 -0
  103. robotic/rai-robotModels/g1/meshes/left_shoulder_pitch_link.h5 +0 -0
  104. robotic/rai-robotModels/g1/meshes/left_shoulder_roll_link.h5 +0 -0
  105. robotic/rai-robotModels/g1/meshes/left_shoulder_yaw_link.h5 +0 -0
  106. robotic/rai-robotModels/g1/meshes/left_wrist_pitch_link.h5 +0 -0
  107. robotic/rai-robotModels/g1/meshes/left_wrist_roll_link.h5 +0 -0
  108. robotic/rai-robotModels/g1/meshes/left_wrist_yaw_link.h5 +0 -0
  109. robotic/rai-robotModels/g1/meshes/logo_link.h5 +0 -0
  110. robotic/rai-robotModels/g1/meshes/pelvis.h5 +0 -0
  111. robotic/rai-robotModels/g1/meshes/pelvis_contour_link.h5 +0 -0
  112. robotic/rai-robotModels/g1/meshes/right_ankle_pitch_link.h5 +0 -0
  113. robotic/rai-robotModels/g1/meshes/right_ankle_roll_link.h5 +0 -0
  114. robotic/rai-robotModels/g1/meshes/right_elbow_link.h5 +0 -0
  115. robotic/rai-robotModels/g1/meshes/right_hip_pitch_link.h5 +0 -0
  116. robotic/rai-robotModels/g1/meshes/right_hip_roll_link.h5 +0 -0
  117. robotic/rai-robotModels/g1/meshes/right_hip_yaw_link.h5 +0 -0
  118. robotic/rai-robotModels/g1/meshes/right_knee_link.h5 +0 -0
  119. robotic/rai-robotModels/g1/meshes/right_rubber_hand.h5 +0 -0
  120. robotic/rai-robotModels/g1/meshes/right_shoulder_pitch_link.h5 +0 -0
  121. robotic/rai-robotModels/g1/meshes/right_shoulder_roll_link.h5 +0 -0
  122. robotic/rai-robotModels/g1/meshes/right_shoulder_yaw_link.h5 +0 -0
  123. robotic/rai-robotModels/g1/meshes/right_wrist_pitch_link.h5 +0 -0
  124. robotic/rai-robotModels/g1/meshes/right_wrist_roll_link.h5 +0 -0
  125. robotic/rai-robotModels/g1/meshes/right_wrist_yaw_link.h5 +0 -0
  126. robotic/rai-robotModels/g1/meshes/torso_link.h5 +0 -0
  127. robotic/rai-robotModels/g1/meshes/waist_roll_link.h5 +0 -0
  128. robotic/rai-robotModels/g1/meshes/waist_support_link.h5 +0 -0
  129. robotic/rai-robotModels/g1/meshes/waist_yaw_link.h5 +0 -0
  130. robotic/rai-robotModels/objects/shelf.g +1 -1
  131. robotic/rai-robotModels/panda/meshes/finger.h5 +0 -0
  132. robotic/rai-robotModels/panda/meshes/hand.h5 +0 -0
  133. robotic/rai-robotModels/panda/meshes/link0.h5 +0 -0
  134. robotic/rai-robotModels/panda/meshes/link1.h5 +0 -0
  135. robotic/rai-robotModels/panda/meshes/link2.h5 +0 -0
  136. robotic/rai-robotModels/panda/meshes/link3.h5 +0 -0
  137. robotic/rai-robotModels/panda/meshes/link4.h5 +0 -0
  138. robotic/rai-robotModels/panda/meshes/link5.h5 +0 -0
  139. robotic/rai-robotModels/panda/meshes/link6.h5 +0 -0
  140. robotic/rai-robotModels/panda/meshes/link7.h5 +0 -0
  141. robotic/rai-robotModels/panda/panda.g +10 -10
  142. robotic/rai-robotModels/panda/panda_arm_hand_conv.g +24 -0
  143. robotic/rai-robotModels/panda/panda_arm_hand_conv.yml +24 -0
  144. robotic/rai-robotModels/panda/panda_clean.g +21 -45
  145. robotic/rai-robotModels/panda/panda_gripper.g +5 -7
  146. robotic/rai-robotModels/panda/panda_withoutCollisionModels.g +3 -11
  147. robotic/rai-robotModels/pr2/meshes/base.h5 +0 -0
  148. robotic/rai-robotModels/pr2/meshes/base_color.png +0 -0
  149. robotic/rai-robotModels/pr2/meshes/caster.h5 +0 -0
  150. robotic/rai-robotModels/pr2/meshes/elbow_flex.h5 +0 -0
  151. robotic/rai-robotModels/pr2/meshes/elbow_flex_color.png +0 -0
  152. robotic/rai-robotModels/pr2/meshes/forearm.h5 +0 -0
  153. robotic/rai-robotModels/pr2/meshes/forearm_color.png +0 -0
  154. robotic/rai-robotModels/pr2/meshes/forearm_roll.h5 +0 -0
  155. robotic/rai-robotModels/pr2/meshes/gripper_palm.h5 +0 -0
  156. robotic/rai-robotModels/pr2/meshes/gripper_palm_color.png +0 -0
  157. robotic/rai-robotModels/pr2/meshes/head_pan.h5 +0 -0
  158. robotic/rai-robotModels/pr2/meshes/head_pan_color.png +0 -0
  159. robotic/rai-robotModels/pr2/meshes/head_tilt.h5 +0 -0
  160. robotic/rai-robotModels/pr2/meshes/head_tilt_color.png +0 -0
  161. robotic/rai-robotModels/pr2/meshes/l_finger.h5 +0 -0
  162. robotic/rai-robotModels/pr2/meshes/l_finger_color.png +0 -0
  163. robotic/rai-robotModels/pr2/meshes/l_finger_tip.h5 +0 -0
  164. robotic/rai-robotModels/pr2/meshes/l_finger_tip_color.png +0 -0
  165. robotic/rai-robotModels/pr2/meshes/shoulder_lift.h5 +0 -0
  166. robotic/rai-robotModels/pr2/meshes/shoulder_lift_color.png +0 -0
  167. robotic/rai-robotModels/pr2/meshes/shoulder_pan.h5 +0 -0
  168. robotic/rai-robotModels/pr2/meshes/shoulder_pan_color.png +0 -0
  169. robotic/rai-robotModels/pr2/meshes/tilting_hokuyo.h5 +0 -0
  170. robotic/rai-robotModels/pr2/meshes/tilting_hokuyo_color.png +0 -0
  171. robotic/rai-robotModels/pr2/meshes/torso_lift.h5 +0 -0
  172. robotic/rai-robotModels/pr2/meshes/torso_lift_color.png +0 -0
  173. robotic/rai-robotModels/pr2/meshes/upper_arm.h5 +0 -0
  174. robotic/rai-robotModels/pr2/meshes/upper_arm_color.png +0 -0
  175. robotic/rai-robotModels/pr2/meshes/upper_arm_roll.h5 +0 -0
  176. robotic/rai-robotModels/pr2/meshes/upper_arm_roll_color.png +0 -0
  177. robotic/rai-robotModels/pr2/meshes/wheel.h5 +0 -0
  178. robotic/rai-robotModels/pr2/meshes/wheel_color.png +0 -0
  179. robotic/rai-robotModels/pr2/meshes/wrist_color.png +0 -0
  180. robotic/rai-robotModels/pr2/meshes/wrist_flex.h5 +0 -0
  181. robotic/rai-robotModels/pr2/meshes/wrist_roll.h5 +0 -0
  182. robotic/rai-robotModels/pr2/pr2.g +12 -12
  183. robotic/rai-robotModels/pr2/pr2_clean.g +122 -118
  184. robotic/rai-robotModels/pr2/pr2_conv.g +218 -0
  185. robotic/rai-robotModels/pr2/pr2_modifications.g +2 -2
  186. robotic/rai-robotModels/ranger/meshes/ranger_mini3.h5 +0 -0
  187. robotic/rai-robotModels/ranger/meshes/ranger_mini_v3_wheel.h5 +0 -0
  188. robotic/rai-robotModels/ranger/meshes/ranger_mini_v3_wheel_right.h5 +0 -0
  189. robotic/rai-robotModels/ranger/ranger.g +8 -8
  190. robotic/rai-robotModels/ranger/ranger_clean.g +5 -5
  191. robotic/rai-robotModels/ranger/ranger_mini_conv.g +14 -0
  192. robotic/rai-robotModels/robotiq/meshes/robotiq_arg2f_85_base_link.h5 +0 -0
  193. robotic/rai-robotModels/robotiq/meshes/robotiq_arg2f_85_inner_finger.h5 +0 -0
  194. robotic/rai-robotModels/robotiq/meshes/robotiq_arg2f_85_inner_knuckle.h5 +0 -0
  195. robotic/rai-robotModels/robotiq/meshes/robotiq_arg2f_85_outer_finger.h5 +0 -0
  196. robotic/rai-robotModels/robotiq/meshes/robotiq_arg2f_85_outer_knuckle.h5 +0 -0
  197. robotic/rai-robotModels/robotiq/robotiq.g +2 -2
  198. robotic/rai-robotModels/robotiq/robotiq_arg2f_85_model_conv.yml +19 -0
  199. robotic/rai-robotModels/robotiq/robotiq_clean.g +16 -16
  200. robotic/rai-robotModels/scenarios/ballFinger.g +2 -2
  201. robotic/rai-robotModels/scenarios/liftRing.g +2 -2
  202. robotic/rai-robotModels/scenarios/pandaFloatingGripper.g +1 -1
  203. robotic/rai-robotModels/scenarios/pandaSingle.g +1 -1
  204. robotic/rai-robotModels/scenarios/panda_fixRobotiq.g +3 -3
  205. robotic/rai-robotModels/tests/arm.g +18 -19
  206. robotic/rai-robotModels/tests/compound.g +3 -6
  207. robotic/rai-robotModels/ur10/meshes/base.h5 +0 -0
  208. robotic/rai-robotModels/ur10/meshes/forearm.h5 +0 -0
  209. robotic/rai-robotModels/ur10/meshes/shoulder.h5 +0 -0
  210. robotic/rai-robotModels/ur10/meshes/upperarm.h5 +0 -0
  211. robotic/rai-robotModels/ur10/meshes/wrist1.h5 +0 -0
  212. robotic/rai-robotModels/ur10/meshes/wrist2.h5 +0 -0
  213. robotic/rai-robotModels/ur10/meshes/wrist3.h5 +0 -0
  214. robotic/rai-robotModels/ur10/ur10.g +2 -2
  215. robotic/rai-robotModels/ur10/ur10_clean.g +8 -8
  216. robotic/rai-robotModels/ur10/ur10_conv.g +17 -0
  217. robotic/ry-h5info +3 -12
  218. robotic/ry-test +5 -4
  219. robotic/ry-urdfConvert.py +74 -0
  220. robotic/ry-view +28 -6
  221. robotic/src/cleanMeshes.py +59 -0
  222. robotic/src/h5_helper.py +46 -0
  223. robotic/src/h5_helper.py~ +42 -0
  224. robotic/src/mesh_helper.py +395 -0
  225. robotic/{rai-robotModels/ranger/meshes/cleanMeshes.mlx → src/meshlabFilters.mlx} +0 -3
  226. robotic/src/mujoco_io.py +242 -0
  227. robotic/src/urdf_io.py +237 -0
  228. robotic/src/yaml_helper.py +29 -0
  229. robotic/version.py +1 -1
  230. robotic-0.3.4.dev5.data/scripts/ry-h5info +23 -0
  231. {robotic-0.2.9.dev1.data → robotic-0.3.4.dev5.data}/scripts/ry-test +5 -4
  232. robotic-0.3.4.dev5.data/scripts/ry-urdfConvert.py +74 -0
  233. robotic-0.3.4.dev5.data/scripts/ry-view +46 -0
  234. {robotic-0.2.9.dev1.dist-info → robotic-0.3.4.dev5.dist-info}/METADATA +18 -22
  235. robotic-0.3.4.dev5.dist-info/RECORD +386 -0
  236. {robotic-0.2.9.dev1.dist-info → robotic-0.3.4.dev5.dist-info}/WHEEL +1 -1
  237. robotic/nlp.py +0 -113
  238. robotic/rai-robotModels/baxter/baxter.g +0 -49
  239. robotic/rai-robotModels/baxter/baxter_clean.g +0 -116
  240. robotic/rai-robotModels/baxter/baxter_clean2.g +0 -205
  241. robotic/rai-robotModels/baxter/baxter_clean3.g +0 -223
  242. robotic/rai-robotModels/baxter/baxter_description/meshes/base/PEDESTAL.ply +0 -0
  243. robotic/rai-robotModels/baxter/baxter_description/meshes/base/pedestal_link_collision.ply +0 -0
  244. robotic/rai-robotModels/baxter/baxter_description/meshes/head/H0.ply +0 -0
  245. robotic/rai-robotModels/baxter/baxter_description/meshes/head/H1.ply +0 -0
  246. robotic/rai-robotModels/baxter/baxter_description/meshes/lower_elbow/E1.ply +0 -0
  247. robotic/rai-robotModels/baxter/baxter_description/meshes/lower_forearm/W1.ply +0 -0
  248. robotic/rai-robotModels/baxter/baxter_description/meshes/lower_shoulder/S1.ply +0 -0
  249. robotic/rai-robotModels/baxter/baxter_description/meshes/torso/base_link.ply +0 -0
  250. robotic/rai-robotModels/baxter/baxter_description/meshes/torso/base_link_collision.ply +0 -0
  251. robotic/rai-robotModels/baxter/baxter_description/meshes/upper_elbow/E0.ply +0 -0
  252. robotic/rai-robotModels/baxter/baxter_description/meshes/upper_forearm/W0.ply +0 -0
  253. robotic/rai-robotModels/baxter/baxter_description/meshes/upper_shoulder/S0.ply +0 -0
  254. robotic/rai-robotModels/baxter/baxter_description/meshes/wrist/W2.ply +0 -0
  255. robotic/rai-robotModels/baxter/baxter_new.g +0 -53
  256. robotic/rai-robotModels/baxter/rethink_ee_description/meshes/electric_gripper/electric_gripper_base.ply +0 -0
  257. robotic/rai-robotModels/baxter/rethink_ee_description/meshes/electric_gripper/fingers/extended_narrow.ply +0 -0
  258. robotic/rai-robotModels/baxter/rethink_ee_description/meshes/electric_gripper/fingers/half_round_tip.ply +0 -0
  259. robotic/rai-robotModels/baxter/rethink_ee_description/meshes/electric_gripper/fingers/paddle_tip.ply +0 -0
  260. robotic/rai-robotModels/baxter/rethink_ee_description/meshes/pneumatic_gripper/pneumatic_gripper_base.ply +0 -0
  261. robotic/rai-robotModels/baxter/rethink_ee_description/meshes/pneumatic_gripper/pneumatic_gripper_w_cup.ply +0 -0
  262. robotic/rai-robotModels/g1/meshes/head_link.ply +0 -0
  263. robotic/rai-robotModels/g1/meshes/left_ankle_pitch_link.ply +0 -0
  264. robotic/rai-robotModels/g1/meshes/left_ankle_roll_link.ply +0 -0
  265. robotic/rai-robotModels/g1/meshes/left_elbow_link.ply +0 -0
  266. robotic/rai-robotModels/g1/meshes/left_hand_index_0_link.ply +0 -0
  267. robotic/rai-robotModels/g1/meshes/left_hand_index_1_link.ply +0 -0
  268. robotic/rai-robotModels/g1/meshes/left_hand_middle_0_link.ply +0 -0
  269. robotic/rai-robotModels/g1/meshes/left_hand_middle_1_link.ply +0 -0
  270. robotic/rai-robotModels/g1/meshes/left_hand_palm_link.ply +0 -0
  271. robotic/rai-robotModels/g1/meshes/left_hand_thumb_0_link.ply +0 -0
  272. robotic/rai-robotModels/g1/meshes/left_hand_thumb_1_link.ply +0 -0
  273. robotic/rai-robotModels/g1/meshes/left_hand_thumb_2_link.ply +0 -0
  274. robotic/rai-robotModels/g1/meshes/left_hip_pitch_link.ply +0 -0
  275. robotic/rai-robotModels/g1/meshes/left_hip_roll_link.ply +0 -0
  276. robotic/rai-robotModels/g1/meshes/left_hip_yaw_link.ply +0 -0
  277. robotic/rai-robotModels/g1/meshes/left_knee_link.ply +0 -0
  278. robotic/rai-robotModels/g1/meshes/left_rubber_hand.ply +0 -0
  279. robotic/rai-robotModels/g1/meshes/left_shoulder_pitch_link.ply +0 -0
  280. robotic/rai-robotModels/g1/meshes/left_shoulder_roll_link.ply +0 -0
  281. robotic/rai-robotModels/g1/meshes/left_shoulder_yaw_link.ply +0 -0
  282. robotic/rai-robotModels/g1/meshes/left_wrist_pitch_link.ply +0 -0
  283. robotic/rai-robotModels/g1/meshes/left_wrist_roll_link.ply +0 -0
  284. robotic/rai-robotModels/g1/meshes/left_wrist_roll_rubber_hand.ply +0 -0
  285. robotic/rai-robotModels/g1/meshes/left_wrist_yaw_link.ply +0 -0
  286. robotic/rai-robotModels/g1/meshes/logo_link.ply +0 -0
  287. robotic/rai-robotModels/g1/meshes/pelvis.ply +0 -0
  288. robotic/rai-robotModels/g1/meshes/pelvis_contour_link.ply +0 -0
  289. robotic/rai-robotModels/g1/meshes/right_ankle_pitch_link.ply +0 -0
  290. robotic/rai-robotModels/g1/meshes/right_ankle_roll_link.ply +0 -0
  291. robotic/rai-robotModels/g1/meshes/right_elbow_link.ply +0 -0
  292. robotic/rai-robotModels/g1/meshes/right_hand_index_0_link.ply +0 -0
  293. robotic/rai-robotModels/g1/meshes/right_hand_index_1_link.ply +0 -0
  294. robotic/rai-robotModels/g1/meshes/right_hand_middle_0_link.ply +0 -0
  295. robotic/rai-robotModels/g1/meshes/right_hand_middle_1_link.ply +0 -0
  296. robotic/rai-robotModels/g1/meshes/right_hand_palm_link.ply +0 -0
  297. robotic/rai-robotModels/g1/meshes/right_hand_thumb_0_link.ply +0 -0
  298. robotic/rai-robotModels/g1/meshes/right_hand_thumb_1_link.ply +0 -0
  299. robotic/rai-robotModels/g1/meshes/right_hand_thumb_2_link.ply +0 -0
  300. robotic/rai-robotModels/g1/meshes/right_hip_pitch_link.ply +0 -0
  301. robotic/rai-robotModels/g1/meshes/right_hip_roll_link.ply +0 -0
  302. robotic/rai-robotModels/g1/meshes/right_hip_yaw_link.ply +0 -0
  303. robotic/rai-robotModels/g1/meshes/right_knee_link.ply +0 -0
  304. robotic/rai-robotModels/g1/meshes/right_rubber_hand.ply +0 -0
  305. robotic/rai-robotModels/g1/meshes/right_shoulder_pitch_link.ply +0 -0
  306. robotic/rai-robotModels/g1/meshes/right_shoulder_roll_link.ply +0 -0
  307. robotic/rai-robotModels/g1/meshes/right_shoulder_yaw_link.ply +0 -0
  308. robotic/rai-robotModels/g1/meshes/right_wrist_pitch_link.ply +0 -0
  309. robotic/rai-robotModels/g1/meshes/right_wrist_roll_link.ply +0 -0
  310. robotic/rai-robotModels/g1/meshes/right_wrist_roll_rubber_hand.ply +0 -0
  311. robotic/rai-robotModels/g1/meshes/right_wrist_yaw_link.ply +0 -0
  312. robotic/rai-robotModels/g1/meshes/torso_constraint_L_link.ply +0 -0
  313. robotic/rai-robotModels/g1/meshes/torso_constraint_L_rod_link.ply +0 -0
  314. robotic/rai-robotModels/g1/meshes/torso_constraint_R_link.ply +0 -0
  315. robotic/rai-robotModels/g1/meshes/torso_constraint_R_rod_link.ply +0 -0
  316. robotic/rai-robotModels/g1/meshes/torso_link.ply +0 -0
  317. robotic/rai-robotModels/g1/meshes/waist_constraint_L.ply +0 -0
  318. robotic/rai-robotModels/g1/meshes/waist_constraint_R.ply +0 -0
  319. robotic/rai-robotModels/g1/meshes/waist_roll_link.ply +0 -0
  320. robotic/rai-robotModels/g1/meshes/waist_support_link.ply +0 -0
  321. robotic/rai-robotModels/g1/meshes/waist_yaw_link.ply +0 -0
  322. robotic/rai-robotModels/panda/franka_description/meshes/collision/finger.stl +0 -0
  323. robotic/rai-robotModels/panda/franka_description/meshes/collision/hand.stl +0 -0
  324. robotic/rai-robotModels/panda/franka_description/meshes/collision/link0.stl +0 -0
  325. robotic/rai-robotModels/panda/franka_description/meshes/collision/link1.stl +0 -0
  326. robotic/rai-robotModels/panda/franka_description/meshes/collision/link2.stl +0 -0
  327. robotic/rai-robotModels/panda/franka_description/meshes/collision/link3.stl +0 -0
  328. robotic/rai-robotModels/panda/franka_description/meshes/collision/link4.stl +0 -0
  329. robotic/rai-robotModels/panda/franka_description/meshes/collision/link5.stl +0 -0
  330. robotic/rai-robotModels/panda/franka_description/meshes/collision/link6.stl +0 -0
  331. robotic/rai-robotModels/panda/franka_description/meshes/collision/link7.stl +0 -0
  332. robotic/rai-robotModels/panda/franka_description/meshes/visual/HOWTO.sh +0 -10
  333. robotic/rai-robotModels/panda/franka_description/meshes/visual/HOWTO2.sh +0 -7
  334. robotic/rai-robotModels/panda/franka_description/meshes/visual/convMeshes.mlx +0 -38
  335. robotic/rai-robotModels/panda/franka_description/meshes/visual/finger.ply +0 -0
  336. robotic/rai-robotModels/panda/franka_description/meshes/visual/hand.ply +0 -0
  337. robotic/rai-robotModels/panda/franka_description/meshes/visual/link0.ply +0 -0
  338. robotic/rai-robotModels/panda/franka_description/meshes/visual/link1.ply +0 -0
  339. robotic/rai-robotModels/panda/franka_description/meshes/visual/link2.ply +0 -0
  340. robotic/rai-robotModels/panda/franka_description/meshes/visual/link3.ply +0 -0
  341. robotic/rai-robotModels/panda/franka_description/meshes/visual/link4.ply +0 -0
  342. robotic/rai-robotModels/panda/franka_description/meshes/visual/link5.ply +0 -0
  343. robotic/rai-robotModels/panda/franka_description/meshes/visual/link6.ply +0 -0
  344. robotic/rai-robotModels/panda/franka_description/meshes/visual/link7.ply +0 -0
  345. robotic/rai-robotModels/panda/franka_description/meshes/visual/script.mlx +0 -28
  346. robotic/rai-robotModels/pr2/pr2_description/meshes/base_v0/base.ply +0 -0
  347. robotic/rai-robotModels/pr2/pr2_description/meshes/base_v0/base_L.ply +0 -0
  348. robotic/rai-robotModels/pr2/pr2_description/meshes/base_v0/caster.ply +0 -0
  349. robotic/rai-robotModels/pr2/pr2_description/meshes/base_v0/caster_L.ply +0 -0
  350. robotic/rai-robotModels/pr2/pr2_description/meshes/base_v0/pr2_wheel.ply +0 -0
  351. robotic/rai-robotModels/pr2/pr2_description/meshes/base_v0/wheel.ply +0 -0
  352. robotic/rai-robotModels/pr2/pr2_description/meshes/forearm_v0/forearm.ply +0 -0
  353. robotic/rai-robotModels/pr2/pr2_description/meshes/forearm_v0/wrist_flex.ply +0 -0
  354. robotic/rai-robotModels/pr2/pr2_description/meshes/forearm_v0/wrist_roll.ply +0 -0
  355. robotic/rai-robotModels/pr2/pr2_description/meshes/forearm_v0/wrist_roll_L.ply +0 -0
  356. robotic/rai-robotModels/pr2/pr2_description/meshes/gripper_v0/gripper_palm.ply +0 -0
  357. robotic/rai-robotModels/pr2/pr2_description/meshes/gripper_v0/l_finger.ply +0 -0
  358. robotic/rai-robotModels/pr2/pr2_description/meshes/gripper_v0/l_finger_tip.ply +0 -0
  359. robotic/rai-robotModels/pr2/pr2_description/meshes/head_v0/head_pan.ply +0 -0
  360. robotic/rai-robotModels/pr2/pr2_description/meshes/head_v0/head_pan_L.ply +0 -0
  361. robotic/rai-robotModels/pr2/pr2_description/meshes/head_v0/head_tilt.ply +0 -0
  362. robotic/rai-robotModels/pr2/pr2_description/meshes/head_v0/head_tilt_L.ply +0 -0
  363. robotic/rai-robotModels/pr2/pr2_description/meshes/shoulder_v0/shoulder_lift.ply +0 -0
  364. robotic/rai-robotModels/pr2/pr2_description/meshes/shoulder_v0/shoulder_pan.ply +0 -0
  365. robotic/rai-robotModels/pr2/pr2_description/meshes/shoulder_v0/shoulder_yaw.ply +0 -0
  366. robotic/rai-robotModels/pr2/pr2_description/meshes/shoulder_v0/upper_arm_roll.ply +0 -0
  367. robotic/rai-robotModels/pr2/pr2_description/meshes/shoulder_v0/upper_arm_roll_L.ply +0 -0
  368. robotic/rai-robotModels/pr2/pr2_description/meshes/tilting_laser_v0/hok_tilt.ply +0 -0
  369. robotic/rai-robotModels/pr2/pr2_description/meshes/tilting_laser_v0/tilting_hokuyo.ply +0 -0
  370. robotic/rai-robotModels/pr2/pr2_description/meshes/tilting_laser_v0/tilting_hokuyo_L.ply +0 -0
  371. robotic/rai-robotModels/pr2/pr2_description/meshes/torso_v0/torso.ply +0 -0
  372. robotic/rai-robotModels/pr2/pr2_description/meshes/torso_v0/torso_lift.ply +0 -0
  373. robotic/rai-robotModels/pr2/pr2_description/meshes/torso_v0/torso_lift_L.ply +0 -0
  374. robotic/rai-robotModels/pr2/pr2_description/meshes/upper_arm_v0/elbow_flex.ply +0 -0
  375. robotic/rai-robotModels/pr2/pr2_description/meshes/upper_arm_v0/forearm_roll.ply +0 -0
  376. robotic/rai-robotModels/pr2/pr2_description/meshes/upper_arm_v0/forearm_roll_L.ply +0 -0
  377. robotic/rai-robotModels/pr2/pr2_description/meshes/upper_arm_v0/upper_arm.ply +0 -0
  378. robotic/rai-robotModels/ranger/meshes/cleanMeshes.sh +0 -8
  379. robotic/rai-robotModels/ranger/meshes/ranger_mini3.ply +0 -0
  380. robotic/rai-robotModels/ranger/meshes/ranger_mini_v3_wheel.ply +0 -0
  381. robotic/rai-robotModels/ranger/meshes/ranger_mini_v3_wheel_right.ply +0 -0
  382. robotic/rai-robotModels/robotiq/meshes/visual/robotiq_arg2f_85_base_link.ply +0 -0
  383. robotic/rai-robotModels/robotiq/meshes/visual/robotiq_arg2f_85_base_link_x.ply +0 -10
  384. robotic/rai-robotModels/robotiq/meshes/visual/robotiq_arg2f_85_inner_finger.ply +0 -0
  385. robotic/rai-robotModels/robotiq/meshes/visual/robotiq_arg2f_85_inner_knuckle.ply +0 -0
  386. robotic/rai-robotModels/robotiq/meshes/visual/robotiq_arg2f_85_outer_finger.ply +0 -0
  387. robotic/rai-robotModels/robotiq/meshes/visual/robotiq_arg2f_85_outer_knuckle.ply +0 -0
  388. robotic/rai-robotModels/robotiq/meshes/visual/robotiq_arg2f_85_pad.ply +0 -0
  389. robotic/rai-robotModels/robotiq/meshes/visual/robotiq_gripper_coupling.ply +0 -0
  390. robotic/rai-robotModels/ur10/ur_description/meshes/ur10/visual/Base.ply +0 -0
  391. robotic/rai-robotModels/ur10/ur_description/meshes/ur10/visual/Forearm.ply +0 -0
  392. robotic/rai-robotModels/ur10/ur_description/meshes/ur10/visual/Shoulder.ply +0 -0
  393. robotic/rai-robotModels/ur10/ur_description/meshes/ur10/visual/UpperArm.ply +0 -0
  394. robotic/rai-robotModels/ur10/ur_description/meshes/ur10/visual/Wrist1.ply +0 -0
  395. robotic/rai-robotModels/ur10/ur_description/meshes/ur10/visual/Wrist2.ply +0 -0
  396. robotic/rai-robotModels/ur10/ur_description/meshes/ur10/visual/Wrist3.ply +0 -0
  397. robotic/ry-urdf2rai +0 -222
  398. robotic/ry-urdf2yaml +0 -250
  399. robotic-0.2.9.dev1.data/scripts/ry-h5info +0 -32
  400. robotic-0.2.9.dev1.data/scripts/ry-urdf2rai +0 -222
  401. robotic-0.2.9.dev1.data/scripts/ry-urdf2yaml +0 -250
  402. robotic-0.2.9.dev1.data/scripts/ry-view +0 -24
  403. robotic-0.2.9.dev1.dist-info/RECORD +0 -421
  404. /robotic/include/rai/{Geo → Algo}/Lewiner/LookUpTable.h +0 -0
  405. /robotic/include/rai/Geo/{assimpInterface.h → i_assimp.h} +0 -0
  406. /robotic/include/rai/Kin/{kin_bullet.h → i_Bullet.h} +0 -0
  407. /robotic/include/rai/Kin/{kin_feather.h → i_Feather.h} +0 -0
  408. /robotic/include/rai/Kin/{kin_ode.h → i_Ode.h} +0 -0
  409. /robotic/include/rai/Optim/{opt-ipopt.h → i_Ipopt.h} +0 -0
  410. /robotic/rai-robotModels/robotiq/meshes/{visual/robotiq_ft300.ply → robotiq_ft300.ply} +0 -0
  411. /robotic/{import.py → src/__init__.py} +0 -0
  412. {robotic-0.2.9.dev1.data → robotic-0.3.4.dev5.data}/scripts/ry-bot +0 -0
  413. {robotic-0.2.9.dev1.data → robotic-0.3.4.dev5.data}/scripts/ry-info +0 -0
  414. {robotic-0.2.9.dev1.data → robotic-0.3.4.dev5.data}/scripts/ry-meshTool +0 -0
  415. {robotic-0.2.9.dev1.dist-info → robotic-0.3.4.dev5.dist-info}/licenses/LICENSE +0 -0
  416. {robotic-0.2.9.dev1.dist-info → robotic-0.3.4.dev5.dist-info}/top_level.txt +0 -0
robotic/_robotic.pyi CHANGED
@@ -5,15 +5,9 @@ from __future__ import annotations
5
5
  import numpy
6
6
  import typing
7
7
  from . import DataGen
8
+ from . import algo
8
9
  from . import test
9
- __all__ = ['Actions2KOMO_Translator', 'ArgWord', 'BSpline', 'BotOp', 'CameraView', 'CameraViewSensor', 'Config', 'ConfigurationViewer', 'ControlMode', 'DataGen', 'FS', 'Frame', 'JT', 'KOMO', 'KOMO_Objective', 'LGP_Tool', 'NLP', 'NLP_Factory', 'NLP_Sampler', 'NLP_Solver', 'NLP_SolverOptions', 'OT', 'OptBench_Skeleton_Handover', 'OptBench_Skeleton_Pick', 'OptBench_Skeleton_StackAndBalance', 'OptBenchmark_InvKin_Endeff', 'OptMethod', 'Quaternion', 'RRT_PathFinder', 'ST', 'SY', 'Simulation', 'SimulationEngine', 'Skeleton', 'SolverReturn', 'TAMP_Provider', 'compiled', 'default_Actions2KOMO_Translator', 'default_TAMP_Provider', 'depthImage2PointCloud', 'params_add', 'params_clear', 'params_file', 'params_print', 'raiPath', 'setRaiPath', 'test']
10
- class Actions2KOMO_Translator:
11
- """
12
- Actions2KOMO_Translator
13
- """
14
- @staticmethod
15
- def _pybind11_conduit_v1_(*args, **kwargs):
16
- ...
10
+ __all__ = ['ArgWord', 'BSpline', 'BotOp', 'CameraView', 'CameraViewSensor', 'Config', 'ConfigurationViewer', 'ControlMode', 'DataGen', 'FS', 'Frame', 'JT', 'KOMO', 'KOMO_Objective', 'LGP_TAMP_Abstraction', 'LGP_Tool', 'NLP', 'NLP_Factory', 'NLP_Sampler', 'NLP_Solver', 'NLP_SolverOptions', 'OT', 'OptBench_Skeleton_Handover', 'OptBench_Skeleton_Pick', 'OptBench_Skeleton_StackAndBalance', 'OptBenchmark_InvKin_Endeff', 'OptMethod', 'Quaternion', 'RRT_PathFinder', 'ST', 'SY', 'Simulation', 'SimulationEngine', 'Skeleton', 'SolverReturn', 'algo', 'compiled', 'default_LGP_TAMP_Abstraction', 'depthImage2PointCloud', 'get_NLP_Problem_names', 'make_NLP_Problem', 'params_add', 'params_clear', 'params_file', 'params_get', 'params_print', 'raiPath', 'rnd_seed', 'rnd_seed_random', 'setRaiPath', 'test']
17
11
  class ArgWord:
18
12
  """
19
13
  [todo: replace by str]
@@ -72,10 +66,18 @@ class BSpline:
72
66
  """
73
67
  non-initialized
74
68
  """
69
+ def append(self, points: arr, times_rel: arr, inside: bool = False) -> None:
70
+ """
71
+ appends points to the current spline; times_rel become relative to the current last knot; inside = remove the current end double knot (zero vel), smoothly blending but not transitioning anymore through the current end point
72
+ """
75
73
  def eval(self, sampleTimes: arr, derivative: int = 0) -> arr:
76
74
  """
77
75
  evaluate the spline (or its derivative) for given sampleTimes
78
76
  """
77
+ def eval3(self, time: float) -> arr:
78
+ """
79
+ evaluate the spline pos, vel, acc (3xn matrix) at a single time
80
+ """
79
81
  def getBmatrix(self, sampleTimes: arr, startDuplicates: bool = False, endDuplicates: bool = False) -> arr:
80
82
  """
81
83
  return the B-matrix mapping from ctrlPoints to (e.g. finer) sampleTimes (e.g. uniform linspace(0,1,T)
@@ -84,6 +86,14 @@ class BSpline:
84
86
  ...
85
87
  def getKnots(self) -> arr:
86
88
  ...
89
+ def overwriteSmooth(self, points: arr, times_rel: arr, time_cut: float) -> None:
90
+ """
91
+ overwrites the spline by adopting the pos+vel at time_cut of the current spline and appending given points; NOTE: times_rel are added to time_cut)
92
+ """
93
+ def set(self, degree: int, points: arr, times: arr, setStartVel: arr = ..., setEndVel: arr = ...) -> BSpline:
94
+ """
95
+ convenience: same as setKnots(degree, times) and setCtrlPoints(points, true, true, startVel, endVel)
96
+ """
87
97
  def setCtrlPoints(self, points: arr, addStartDuplicates: bool = True, addEndDuplicates: bool = True, setStartVel: arr = ..., setEndVel: arr = ...) -> None:
88
98
  """
89
99
  set the ctrl points, automatically duplicating them as needed at start/end, optionally setting vels at start/end
@@ -103,6 +113,14 @@ class BotOp:
103
113
  """
104
114
  constructor
105
115
  """
116
+ def attach(self, from: ..., to: ...) -> None:
117
+ """
118
+ cheating: attach two objects kinematically
119
+ """
120
+ def detach(self, from: ..., to: ...) -> None:
121
+ """
122
+ cheating: detach two previously attached objects
123
+ """
106
124
  def getCameraFxycxy(self, sensorName: str) -> arr:
107
125
  """
108
126
  returns camera intrinsics
@@ -218,7 +236,7 @@ class CameraView:
218
236
  """
219
237
  constructor
220
238
  """
221
- def computeImageAndDepth(self, config: Config, visualsOnly: bool = True) -> tuple:
239
+ def computeImageAndDepth(self, config: Config, simulateDepthNoise: bool = False, visualsOnly: bool = True) -> tuple:
222
240
  """
223
241
  returns image and depth from a camera sensor; the 'config' argument needs to be the same configuration as in the constructor, but in new state
224
242
  """
@@ -275,7 +293,7 @@ class Config:
275
293
  """
276
294
  animate with random spline in limits bounding box [T=#spline points]
277
295
  """
278
- def asDict(self) -> dict:
296
+ def asDict(self, parentsInKeys: bool = True) -> dict:
279
297
  """
280
298
  return the configuration description as a dict, e.g. for file export
281
299
  """
@@ -291,6 +309,10 @@ class Config:
291
309
  """
292
310
  clear all frames and additional data; becomes the empty configuration, with no frames
293
311
  """
312
+ def coll_totalViolation(self) -> float:
313
+ """
314
+ returns the sum of all penetrations (using FCL for broadphase; and low-level GJK/MRP for fine pair-wise distance/penetration computation)
315
+ """
294
316
  def computeCollisions(self) -> None:
295
317
  """
296
318
  [should be obsolete; getCollision* methods auto ensure proxies] call the broadphase collision engine (SWIFT++ or FCL) to generate the list of collisions (or near proximities) between all frame shapes that have the collision tag set non-zero
@@ -311,18 +333,10 @@ class Config:
311
333
  """
312
334
  returns the list of collisable pairs -- this should help debugging the 'contact' flag settings in a configuration
313
335
  """
314
- def getCollisionFree(self) -> bool:
315
- """
316
- returns if the configuration is collision free (binary collision check, using FCL only; collidable objects need to have contact flag)
317
- """
318
- def getCollisions(self, belowMargin: float = 1.0) -> list:
336
+ def getCollisions(self, belowMargin: float = 0.0) -> list:
319
337
  """
320
338
  return the results of collision computations: a list of 3 tuples with (frame1, frame2, distance). Optionally report only on distances below a margin To get really precise distances and penetrations use the FS.distance feature with the two frame names
321
339
  """
322
- def getCollisionsTotalPenetration(self) -> float:
323
- """
324
- returns the sum of all penetrations (using FCL for broadphase; and low-level GJK/MRP for fine pair-wise distance/penetration computation)
325
- """
326
340
  def getFrame(self, frameName: str, warnIfNotExist: bool = True) -> Frame:
327
341
  """
328
342
  get access to a frame by name; use the Frame methods to set/get frame properties
@@ -361,13 +375,15 @@ class Config:
361
375
  """
362
376
  get the joint state as a numpy vector, optionally only for a subset of joints specified as list of joint names
363
377
  """
364
- def get_viewer(self, window_title: str = None, offscreen: bool = False) -> ...:
378
+ def getRoots(self) -> list[Frame]:
379
+ ...
380
+ def get_viewer(self) -> ConfigurationViewer:
365
381
  ...
366
382
  def processInertias(self, recomputeInertias: bool = True, transformToDiagInertia: bool = False) -> None:
367
383
  """
368
384
  collect all inertia at root frame of links, optionally reestimate all inertias based on standard surface density, optionally relocate the link frame to the COM with diagonalized I)
369
385
  """
370
- def processStructure(self, pruneNamed: bool, pruneNonContactNonMarker: bool, pruneTransparent: bool) -> None:
386
+ def processStructure(self, pruneRigidJoints: bool = False, reconnectToLinks: bool = True, pruneNonContactShapes: bool = False, pruneTransparent: bool = False) -> None:
371
387
  """
372
388
  structurally simplify the Configuration (deleting frames, relinking to minimal tree)
373
389
  """
@@ -397,7 +413,7 @@ class Config:
397
413
  """
398
414
  def setJointStateSlice(self, arg0: list[float], arg1: int) -> None:
399
415
  ...
400
- def set_viewer(self, arg0: ...) -> None:
416
+ def set_viewer(self, arg0: ConfigurationViewer) -> None:
401
417
  ...
402
418
  def view(self, pause: bool = False, message: str = None) -> int:
403
419
  """
@@ -407,36 +423,10 @@ class Config:
407
423
  """
408
424
  close the view
409
425
  """
410
- def view_focalLength(self) -> float:
411
- """
412
- return the focal length of the view camera (only intrinsic parameter)
413
- """
414
- def view_fxycxy(self) -> arr:
415
- """
416
- return (fx, fy, cx, cy): the focal length and image center in PIXEL UNITS
417
- """
418
- def view_getDepth(self) -> numpy.ndarray[numpy.float32]:
419
- ...
420
- def view_getRgb(self) -> numpy.ndarray[numpy.uint8]:
421
- ...
422
- def view_pose(self) -> arr:
423
- """
424
- return the 7D pose of the view camera
425
- """
426
- def view_raise(self) -> None:
427
- """
428
- raise the view
429
- """
430
426
  def view_recopyMeshes(self) -> None:
431
427
  ...
432
- def view_savePng(self, pathPrefix: str = 'z.vid/') -> None:
433
- """
434
- saves a png image of the current view, numbered with a global counter, with the intention to make a video
435
- """
436
- def view_setCamera(self, arg0: Frame) -> None:
437
- """
438
- set the camera pose to a frame, and check frame attributes for intrinsic parameters (focalLength, width height)
439
- """
428
+ def viewer(self) -> ConfigurationViewer:
429
+ ...
440
430
  def watchFile(self, arg0: str) -> None:
441
431
  """
442
432
  launch a viewer that listents (inode) to changes of a file (made by you in an editor), and reloads, displays and animates the configuration whenever the file is changed
@@ -453,7 +443,7 @@ class Config:
453
443
  """
454
444
  write the full configuration in a ply mesh file
455
445
  """
456
- def writeMeshes(self, pathPrefix: ..., copyTextures: bool) -> None:
446
+ def writeMeshes(self, pathPrefix: ..., copyTextures: bool = True, enumerateAssets: bool = False) -> None:
457
447
  """
458
448
  write all object meshes in a directory
459
449
  """
@@ -468,9 +458,67 @@ class ConfigurationViewer:
468
458
  @staticmethod
469
459
  def _pybind11_conduit_v1_(*args, **kwargs):
470
460
  ...
461
+ def focus(self, position_3d: arr, heightAbs: float = 1.0) -> None:
462
+ """
463
+ focus at a 3D position; second argument distances camara so that view window has roughly given absHeight around object
464
+ """
465
+ def getCamera_focalLength(self) -> float:
466
+ """
467
+ return the focal length of the view camera (only intrinsic parameter)
468
+ """
469
+ def getCamera_fxycxy(self) -> arr:
470
+ """
471
+ return (fx, fy, cx, cy): the focal length and image center in PIXEL UNITS
472
+ """
473
+ def getCamera_pose(self) -> arr:
474
+ """
475
+ get the camera pose directly
476
+ """
477
+ def getDepth(self) -> ...:
478
+ """
479
+ return the view's depth array (scaled to meters)
480
+ """
481
+ def getEventCursor(self) -> arr:
482
+ """
483
+ return the position and normal of the 'curser': mouse position 3D projected into scene via depth, and 3D normal of depth map -- returned as 6D vector
484
+ """
485
+ def getEventCursorObject(self) -> int:
486
+ """
487
+ (aka mouse picking) return the frame ID (or -1) that the 'cursor' currently points at
488
+ """
489
+ def getEvents(self) -> StringA:
490
+ """
491
+ return accumulated events as list of strings
492
+ """
493
+ def getGLFWWindow(self) -> int:
494
+ ...
495
+ def getRgb(self) -> ...:
496
+ """
497
+ return the view's rgb image
498
+ """
499
+ def raiseWindow(self) -> None:
500
+ """
501
+ raise the window
502
+ """
471
503
  def savePng(self, saveVideoPath: ... = 'z.vid/', count: int = -1) -> None:
472
504
  """
473
- save enumerated pngs in a path - for video making
505
+ saves a png image of the current view, numbered with a global counter, with the intention to make a video
506
+ """
507
+ def setCamera(self, camFrame: Frame) -> None:
508
+ """
509
+ set the camera pose to a frame, and check frame attributes for intrinsic parameters (focalLength, width height)
510
+ """
511
+ def setCameraPose(self, pose_7d: arr) -> None:
512
+ """
513
+ set the camera pose directly
514
+ """
515
+ def setWindow(self, title: str, width: int, height: int) -> None:
516
+ """
517
+ set title, width, and height
518
+ """
519
+ def setupEventHandler(self, blockDefaultHandler: bool) -> None:
520
+ """
521
+ setup callbacks to grab window events and return them with methods below
474
522
  """
475
523
  def visualsOnly(self, _visualsOnly: bool = True) -> None:
476
524
  """
@@ -722,10 +770,6 @@ class Frame:
722
770
  @staticmethod
723
771
  def _pybind11_conduit_v1_(*args, **kwargs):
724
772
  ...
725
- def addAttributes(self, arg0: dict) -> None:
726
- """
727
- add/set attributes for the frame
728
- """
729
773
  def asDict(self) -> dict:
730
774
  ...
731
775
  def computeCompoundInertia(self) -> Frame:
@@ -752,11 +796,11 @@ class Frame:
752
796
  ...
753
797
  def getParent(self) -> Frame:
754
798
  ...
755
- def getPose(self) -> arr:
799
+ def getPose(self, relativeTo: Frame = None) -> arr:
756
800
  ...
757
- def getPosition(self) -> arr:
801
+ def getPosition(self, relativeTo: Frame = None) -> arr:
758
802
  ...
759
- def getQuaternion(self) -> arr:
803
+ def getQuaternion(self, relativeTo: Frame = None) -> arr:
760
804
  ...
761
805
  def getRelativePose(self) -> arr:
762
806
  ...
@@ -772,12 +816,14 @@ class Frame:
772
816
  ...
773
817
  def getSize(self) -> arr:
774
818
  ...
775
- def getTransform(self) -> arr:
819
+ def getTransform(self, relativeTo: Frame = None) -> arr:
776
820
  ...
777
821
  def makeRoot(self, untilPartBreak: bool) -> None:
778
822
  ...
779
- def setAttribute(self, arg0: str, arg1: float) -> Frame:
780
- ...
823
+ def setAttributes(self, arg0: dict) -> Frame:
824
+ """
825
+ set attributes for the frame
826
+ """
781
827
  def setColor(self, arg0: arr) -> Frame:
782
828
  ...
783
829
  def setContact(self, arg0: int) -> Frame:
@@ -788,11 +834,15 @@ class Frame:
788
834
  """
789
835
  def setImplicitSurface(self, data: ..., size: arr, blur: int, resample: float = -1.0) -> Frame:
790
836
  ...
791
- def setJoint(self, jointType: JT, limits: arr = ...) -> Frame:
837
+ def setJoint(self, jointType: JT, limits: arr = ..., scale: float = 1.0, mimic: Frame = None) -> Frame:
792
838
  ...
793
839
  def setJointState(self, arg0: arr) -> Frame:
794
840
  ...
795
- def setMass(self, arg0: float) -> Frame:
841
+ def setLines(self, verts: arr, colors: ... = ..., singleConnectedLine: bool = False) -> Frame:
842
+ """
843
+ attach lines as shape
844
+ """
845
+ def setMass(self, mass: float, inertiaMatrix: arr = ...) -> Frame:
796
846
  ...
797
847
  def setMesh(self, vertices: arr, triangles: uintA, colors: ... = ..., cvxParts: uintA = ...) -> Frame:
798
848
  """
@@ -810,17 +860,17 @@ class Frame:
810
860
  """
811
861
  attach a point cloud shape
812
862
  """
813
- def setPose(self, arg0: arr) -> None:
863
+ def setPose(self, arg0: arr) -> Frame:
814
864
  ...
815
- def setPoseByText(self, arg0: str) -> None:
865
+ def setPoseByText(self, arg0: str) -> Frame:
816
866
  ...
817
867
  def setPosition(self, arg0: arr) -> Frame:
818
868
  ...
819
869
  def setQuaternion(self, arg0: arr) -> Frame:
820
870
  ...
821
- def setRelativePose(self, arg0: arr) -> None:
871
+ def setRelativePose(self, arg0: arr) -> Frame:
822
872
  ...
823
- def setRelativePoseByText(self, arg0: str) -> None:
873
+ def setRelativePoseByText(self, arg0: str) -> Frame:
824
874
  ...
825
875
  def setRelativePosition(self, arg0: arr) -> Frame:
826
876
  ...
@@ -1090,6 +1140,13 @@ class KOMO_Objective:
1090
1140
  @staticmethod
1091
1141
  def _pybind11_conduit_v1_(*args, **kwargs):
1092
1142
  ...
1143
+ class LGP_TAMP_Abstraction:
1144
+ """
1145
+ LGP_TAMP_Abstraction
1146
+ """
1147
+ @staticmethod
1148
+ def _pybind11_conduit_v1_(*args, **kwargs):
1149
+ ...
1093
1150
  class LGP_Tool:
1094
1151
  """
1095
1152
  Tools to compute things (and solve) a Task-and-Motion Planning problem formulated as Logic-Geometric Program
@@ -1097,7 +1154,7 @@ class LGP_Tool:
1097
1154
  @staticmethod
1098
1155
  def _pybind11_conduit_v1_(*args, **kwargs):
1099
1156
  ...
1100
- def __init__(self, arg0: Config, arg1: TAMP_Provider, arg2: Actions2KOMO_Translator) -> None:
1157
+ def __init__(self, arg0: Config, arg1: LGP_TAMP_Abstraction) -> None:
1101
1158
  """
1102
1159
  initialization
1103
1160
  """
@@ -1152,7 +1209,7 @@ class NLP:
1152
1209
  """
1153
1210
  def getBounds(self) -> arr:
1154
1211
  """
1155
- returns the tuple $(b_{lo},b_{up})$, where both vectors are of same dimensionality of $x$ (or size zero, if there are no bounds)
1212
+ returns a 2xn array with lower and upper bounds as rows (or size zero, if there are no bounds)
1156
1213
  """
1157
1214
  def getDimension(self) -> int:
1158
1215
  """
@@ -1244,7 +1301,7 @@ class NLP_Solver:
1244
1301
  """
1245
1302
  def setInitialization(self, arg0: arr) -> NLP_Solver:
1246
1303
  ...
1247
- def setOptions(self, verbose: int = 1, stopTolerance: float = 0.01, stopFTolerance: float = -1.0, stopGTolerance: float = -1.0, stopEvals: int = 1000, stopInners: int = 1000, stopOuters: int = 1000, stepMax: float = 0.2, damping: float = 1.0, stepInc: float = 1.5, stepDec: float = 0.5, wolfe: float = 0.01, muInit: float = 1.0, muInc: float = 5.0, muMax: float = 10000.0, muLBInit: float = 0.1, muLBDec: float = 0.2, lambdaMax: float = -1.0) -> NLP_Solver:
1304
+ def setOptions(self, verbose: int = 1, stopTolerance: float = 0.01, stopFTolerance: float = -1.0, stopGTolerance: float = -1.0, stopEvals: int = 1000, stopInners: int = 1000, stopOuters: int = 1000, stopLineSteps: int = 10, stopTinySteps: int = 4, stepInit: float = 1.0, stepMin: float = -1.0, stepMax: float = 0.2, stepInc: float = 1.5, stepDec: float = 0.5, damping: float = 1.0, wolfe: float = 0.01, muInit: float = 1.0, muInc: float = 5.0, muMax: float = 10000.0, muLBInit: float = 0.1, muLBDec: float = 0.2, lambdaMax: float = -1.0, interiorPadding: float = 0.01, boundedNewton: bool = True, finiteDifference: float = -1.0) -> NLP_Solver:
1248
1305
  """
1249
1306
  set solver options
1250
1307
  """
@@ -1400,19 +1457,21 @@ class OptMethod:
1400
1457
 
1401
1458
  none
1402
1459
 
1403
- gradientDescent
1460
+ GradientDescent
1404
1461
 
1405
- rprop
1462
+ Rprop
1406
1463
 
1407
1464
  LBFGS
1408
1465
 
1409
- newton
1466
+ Newton
1467
+
1468
+ AugmentedLag
1410
1469
 
1411
- augmentedLag
1470
+ LogBarrier
1412
1471
 
1413
- squaredPenalty
1472
+ slackGN_logBarrier
1414
1473
 
1415
- logBarrier
1474
+ SquaredPenalty
1416
1475
 
1417
1476
  singleSquaredPenalty
1418
1477
 
@@ -1422,22 +1481,41 @@ class OptMethod:
1422
1481
 
1423
1482
  Ipopt
1424
1483
 
1484
+ slackGN_Ipopt
1485
+
1425
1486
  Ceres
1487
+
1488
+ LSZO
1489
+
1490
+ greedy
1491
+
1492
+ NelderMead
1493
+
1494
+ CMA
1495
+
1496
+ ES
1426
1497
  """
1427
- Ceres: typing.ClassVar[OptMethod] # value = <OptMethod.Ceres: 12>
1428
- Ipopt: typing.ClassVar[OptMethod] # value = <OptMethod.Ipopt: 11>
1498
+ AugmentedLag: typing.ClassVar[OptMethod] # value = <OptMethod.AugmentedLag: 5>
1499
+ CMA: typing.ClassVar[OptMethod] # value = <OptMethod.CMA: 18>
1500
+ Ceres: typing.ClassVar[OptMethod] # value = <OptMethod.Ceres: 14>
1501
+ ES: typing.ClassVar[OptMethod] # value = <OptMethod.ES: 19>
1502
+ GradientDescent: typing.ClassVar[OptMethod] # value = <OptMethod.GradientDescent: 1>
1503
+ Ipopt: typing.ClassVar[OptMethod] # value = <OptMethod.Ipopt: 12>
1429
1504
  LBFGS: typing.ClassVar[OptMethod] # value = <OptMethod.LBFGS: 3>
1430
- NLopt: typing.ClassVar[OptMethod] # value = <OptMethod.NLopt: 10>
1431
- __members__: typing.ClassVar[dict[str, OptMethod]] # value = {'none': <OptMethod.none: 0>, 'gradientDescent': <OptMethod.gradientDescent: 1>, 'rprop': <OptMethod.rprop: 2>, 'LBFGS': <OptMethod.LBFGS: 3>, 'newton': <OptMethod.newton: 4>, 'augmentedLag': <OptMethod.augmentedLag: 5>, 'squaredPenalty': <OptMethod.squaredPenalty: 6>, 'logBarrier': <OptMethod.logBarrier: 7>, 'singleSquaredPenalty': <OptMethod.singleSquaredPenalty: 8>, 'slackGN': <OptMethod.slackGN: 9>, 'NLopt': <OptMethod.NLopt: 10>, 'Ipopt': <OptMethod.Ipopt: 11>, 'Ceres': <OptMethod.Ceres: 12>}
1432
- augmentedLag: typing.ClassVar[OptMethod] # value = <OptMethod.augmentedLag: 5>
1433
- gradientDescent: typing.ClassVar[OptMethod] # value = <OptMethod.gradientDescent: 1>
1434
- logBarrier: typing.ClassVar[OptMethod] # value = <OptMethod.logBarrier: 7>
1435
- newton: typing.ClassVar[OptMethod] # value = <OptMethod.newton: 4>
1505
+ LSZO: typing.ClassVar[OptMethod] # value = <OptMethod.LSZO: 15>
1506
+ LogBarrier: typing.ClassVar[OptMethod] # value = <OptMethod.LogBarrier: 6>
1507
+ NLopt: typing.ClassVar[OptMethod] # value = <OptMethod.NLopt: 11>
1508
+ NelderMead: typing.ClassVar[OptMethod] # value = <OptMethod.NelderMead: 17>
1509
+ Newton: typing.ClassVar[OptMethod] # value = <OptMethod.Newton: 4>
1510
+ Rprop: typing.ClassVar[OptMethod] # value = <OptMethod.Rprop: 2>
1511
+ SquaredPenalty: typing.ClassVar[OptMethod] # value = <OptMethod.SquaredPenalty: 8>
1512
+ __members__: typing.ClassVar[dict[str, OptMethod]] # value = {'none': <OptMethod.none: 0>, 'GradientDescent': <OptMethod.GradientDescent: 1>, 'Rprop': <OptMethod.Rprop: 2>, 'LBFGS': <OptMethod.LBFGS: 3>, 'Newton': <OptMethod.Newton: 4>, 'AugmentedLag': <OptMethod.AugmentedLag: 5>, 'LogBarrier': <OptMethod.LogBarrier: 6>, 'slackGN_logBarrier': <OptMethod.slackGN_logBarrier: 7>, 'SquaredPenalty': <OptMethod.SquaredPenalty: 8>, 'singleSquaredPenalty': <OptMethod.singleSquaredPenalty: 9>, 'slackGN': <OptMethod.slackGN: 10>, 'NLopt': <OptMethod.NLopt: 11>, 'Ipopt': <OptMethod.Ipopt: 12>, 'slackGN_Ipopt': <OptMethod.slackGN_Ipopt: 13>, 'Ceres': <OptMethod.Ceres: 14>, 'LSZO': <OptMethod.LSZO: 15>, 'greedy': <OptMethod.greedy: 16>, 'NelderMead': <OptMethod.NelderMead: 17>, 'CMA': <OptMethod.CMA: 18>, 'ES': <OptMethod.ES: 19>}
1513
+ greedy: typing.ClassVar[OptMethod] # value = <OptMethod.greedy: 16>
1436
1514
  none: typing.ClassVar[OptMethod] # value = <OptMethod.none: 0>
1437
- rprop: typing.ClassVar[OptMethod] # value = <OptMethod.rprop: 2>
1438
- singleSquaredPenalty: typing.ClassVar[OptMethod] # value = <OptMethod.singleSquaredPenalty: 8>
1439
- slackGN: typing.ClassVar[OptMethod] # value = <OptMethod.slackGN: 9>
1440
- squaredPenalty: typing.ClassVar[OptMethod] # value = <OptMethod.squaredPenalty: 6>
1515
+ singleSquaredPenalty: typing.ClassVar[OptMethod] # value = <OptMethod.singleSquaredPenalty: 9>
1516
+ slackGN: typing.ClassVar[OptMethod] # value = <OptMethod.slackGN: 10>
1517
+ slackGN_Ipopt: typing.ClassVar[OptMethod] # value = <OptMethod.slackGN_Ipopt: 13>
1518
+ slackGN_logBarrier: typing.ClassVar[OptMethod] # value = <OptMethod.slackGN_logBarrier: 7>
1441
1519
  @staticmethod
1442
1520
  def _pybind11_conduit_v1_(*args, **kwargs):
1443
1521
  ...
@@ -1469,7 +1547,12 @@ class OptMethod:
1469
1547
  ...
1470
1548
  class Quaternion:
1471
1549
  """
1550
+ See the Quaternion Lecture Note https://www.user.tu-berlin.de/mtoussai/notes/quaternions.html for details
1472
1551
  """
1552
+ w: float
1553
+ x: float
1554
+ y: float
1555
+ z: float
1473
1556
  @staticmethod
1474
1557
  def _pybind11_conduit_v1_(*args, **kwargs):
1475
1558
  ...
@@ -1477,13 +1560,23 @@ class Quaternion:
1477
1560
  """
1478
1561
  non-initialized
1479
1562
  """
1480
- def append(self, q: Quaternion) -> None:
1563
+ def __mul__(self, arg0: Quaternion) -> Quaternion:
1564
+ """
1565
+ concatenation (quaternion multiplication) of two transforms
1566
+ """
1567
+ def __neg__(self) -> Quaternion:
1568
+ """
1569
+ inverse quaternion
1570
+ """
1571
+ def __str__(self) -> str:
1572
+ ...
1573
+ def append(self, q: Quaternion) -> Quaternion:
1481
1574
  ...
1482
1575
  def applyOnPointArray(self, pts: arr) -> None:
1483
1576
  ...
1484
- def flipSign(self) -> None:
1577
+ def asArr(self) -> arr:
1485
1578
  ...
1486
- def getArr(self) -> arr:
1579
+ def flipSign(self) -> Quaternion:
1487
1580
  ...
1488
1581
  def getJacobian(self) -> arr:
1489
1582
  ...
@@ -1495,11 +1588,11 @@ class Quaternion:
1495
1588
  ...
1496
1589
  def getRollPitchYaw(self) -> arr:
1497
1590
  ...
1498
- def invert(self) -> None:
1591
+ def invert(self) -> Quaternion:
1499
1592
  ...
1500
1593
  def multiply(self, f: float) -> None:
1501
1594
  ...
1502
- def normalize(self) -> None:
1595
+ def normalize(self) -> Quaternion:
1503
1596
  ...
1504
1597
  def set(self, q: arr) -> Quaternion:
1505
1598
  ...
@@ -1540,11 +1633,17 @@ class RRT_PathFinder:
1540
1633
  """
1541
1634
  only after setProblem
1542
1635
  """
1636
+ def setOptions(self, verbose: int = 0, stepsize: float = 0.1, subsamples: int = 4, maxIters: int = 5000, p_connect: float = 0.5, collisionTolerance: float = 0.0001, useBroadCollisions: bool = True) -> RRT_PathFinder:
1637
+ """
1638
+ set solver options
1639
+ """
1543
1640
  def setProblem(self, Configuration: Config) -> None:
1544
1641
  ...
1545
1642
  def setStartGoal(self, starts: arr, goals: arr) -> None:
1546
1643
  ...
1547
- def solve(self) -> SolverReturn:
1644
+ def solve(self, verbose: int = 1) -> SolverReturn:
1645
+ ...
1646
+ def view(self, pause: bool, message: str = None, play: bool = False) -> None:
1548
1647
  ...
1549
1648
  class ST:
1550
1649
  """
@@ -1807,11 +1906,13 @@ class Simulation:
1807
1906
  """
1808
1907
  def addSensor(self, sensorName: str, width: int = 640, height: int = 360, focalLength: float = -1.0, orthoAbsHeight: float = -1.0, zRange: arr = []) -> ...:
1809
1908
  ...
1810
- def attach(self, gripper: Frame, obj: Frame) -> None:
1909
+ def attach(self, from: Frame, to: Frame) -> None:
1811
1910
  ...
1812
1911
  def depthData2pointCloud(self, arg0: numpy.ndarray[numpy.float32], arg1: list[float]) -> numpy.ndarray[numpy.float64]:
1813
1912
  ...
1814
- def detach(self, obj: Frame) -> None:
1913
+ def detach(self, from: Frame, to: Frame) -> None:
1914
+ ...
1915
+ def getFreeFrames(self) -> list[Frame]:
1815
1916
  ...
1816
1917
  def getGripperWidth(self, gripperFrameName: str) -> float:
1817
1918
  ...
@@ -1821,7 +1922,7 @@ class Simulation:
1821
1922
  ...
1822
1923
  def getState(self) -> tuple:
1823
1924
  """
1824
- returns a 4-tuple or frame state, joint state, frame velocities (linear & angular), joint velocities
1925
+ returns a 5-tuple of (time, q, qDot, freePos, freeVel)
1825
1926
  """
1826
1927
  def getTimeToSplineEnd(self) -> float:
1827
1928
  ...
@@ -1843,8 +1944,14 @@ class Simulation:
1843
1944
  """
1844
1945
  reset the spline reference, i.e., clear the current spline buffer and initialize it to constant spline at current position (to which setSplineRef can append)
1845
1946
  """
1947
+ def resetTime(self, time: float = 1.0) -> None:
1948
+ ...
1846
1949
  def selectSensor(self, sensorName: str) -> ...:
1847
1950
  ...
1951
+ def setSimulateDepthNoise(self, _setSimulateDepthNoise: bool) -> None:
1952
+ """
1953
+ specify (boolean) on whether to simulate noise
1954
+ """
1848
1955
  def setSplineRef(self, path: arr, times: arr, append: bool = True) -> None:
1849
1956
  """
1850
1957
  set the spline reference to generate motion
@@ -1852,9 +1959,9 @@ class Simulation:
1852
1959
  * times: array with single total duration, or time for each control point (times.N==path.d0)
1853
1960
  * append: append (with zero-velocity at append), or smoothly overwrite
1854
1961
  """
1855
- def setState(self, frameState: arr, jointState: arr = ..., frameVelocities: arr = ..., jointVelocities: arr = ...) -> None:
1962
+ def setState(self, time: float, q: arr, qDot: arr, freePos: arr, freeVel: arr) -> None:
1856
1963
  ...
1857
- def step(self, u_control: arr, tau: float = 0.01, u_mode: ControlMode = ...) -> None:
1964
+ def step(self, u_control: arr = ..., tau: float = 0.01, u_mode: ControlMode = ...) -> None:
1858
1965
  ...
1859
1966
  class SimulationEngine:
1860
1967
  """
@@ -1947,25 +2054,24 @@ class SolverReturn:
1947
2054
  ...
1948
2055
  def dict(self) -> dict:
1949
2056
  ...
1950
- class TAMP_Provider:
1951
- """
1952
- TAMP_Provider
1953
- """
1954
- @staticmethod
1955
- def _pybind11_conduit_v1_(*args, **kwargs):
1956
- ...
1957
2057
  def compiled() -> str:
1958
2058
  """
1959
2059
  return a compile date+time version string
1960
2060
  """
1961
- def default_Actions2KOMO_Translator() -> Actions2KOMO_Translator:
1962
- ...
1963
- def default_TAMP_Provider(C: Config, lgp_config_file: str) -> TAMP_Provider:
2061
+ def default_LGP_TAMP_Abstraction(C: Config, lgp_config_file: str) -> LGP_TAMP_Abstraction:
1964
2062
  ...
1965
2063
  def depthImage2PointCloud(depth: numpy.ndarray[numpy.float32], fxycxy: arr) -> arr:
1966
2064
  """
1967
2065
  return the point cloud from the depth image
1968
2066
  """
2067
+ def get_NLP_Problem_names() -> StringA:
2068
+ """
2069
+ return all problem names
2070
+ """
2071
+ def make_NLP_Problem(problem_name: ...) -> NLP:
2072
+ """
2073
+ create a benchmark NLP
2074
+ """
1969
2075
  def params_add(*args, **kwargs) -> None:
1970
2076
  """
1971
2077
  add/set parameters
@@ -1978,6 +2084,10 @@ def params_file(filename: str) -> None:
1978
2084
  """
1979
2085
  add parameters from a file
1980
2086
  """
2087
+ def params_get() -> dict:
2088
+ """
2089
+ return parameters as dict
2090
+ """
1981
2091
  def params_print() -> None:
1982
2092
  """
1983
2093
  print the parameters
@@ -1986,6 +2096,14 @@ def raiPath(arg0: str) -> ...:
1986
2096
  """
1987
2097
  get a path relative to rai base path
1988
2098
  """
2099
+ def rnd_seed(s: int) -> None:
2100
+ """
2101
+ seed rnd with s
2102
+ """
2103
+ def rnd_seed_random() -> None:
2104
+ """
2105
+ seed rnd randomly
2106
+ """
1989
2107
  def setRaiPath(arg0: str) -> None:
1990
2108
  """
1991
2109
  redefine the rai (or rai-robotModels) path
robotic/_robotic.so CHANGED
Binary file
robotic/algo.pyi ADDED
@@ -0,0 +1,17 @@
1
+ """
2
+ basic algorithmic methods
3
+ """
4
+ from __future__ import annotations
5
+ __all__ = ['box_filter', 'marching_cubes', 'trilinear_interpolate']
6
+ def box_filter(grid_values: ..., width: int = 3) -> ...:
7
+ """
8
+ apply a box filter of given width (typically 3) -- use multiple times to approximate Gaussian filter
9
+ """
10
+ def marching_cubes(grid_values: ..., size: arr) -> tuple[arr, uintA]:
11
+ """
12
+ use Lewiner's original Marching Cubes algorithm compute a zero-levelset mesh from a 3D tensor. Returned vertices are centered and assume given total box size
13
+ """
14
+ def trilinear_interpolate(pts: arr, grid_values: ..., grid_res: arr) -> ...:
15
+ """
16
+ use trilinear interpolation to sample values from a 3D grid of values
17
+ """