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.
- robotic/DataGen.pyi +11 -1
- robotic/__init__.py +8 -1
- robotic/_robotic.pyi +228 -110
- robotic/_robotic.so +0 -0
- robotic/algo.pyi +17 -0
- robotic/include/rai/{Geo → Algo}/Lewiner/MarchingCubes.h +0 -29
- robotic/include/rai/Algo/SplineCtrlFeed.h +1 -1
- robotic/include/rai/Algo/marching_cubes.h +9 -0
- robotic/include/rai/Algo/rungeKutta.h +2 -2
- robotic/include/rai/Algo/spline.h +4 -8
- robotic/include/rai/Algo/trilinear.h +10 -0
- robotic/include/rai/Control/CtrlSolver.h +1 -1
- robotic/include/rai/Control/TimingMPC.h +2 -2
- robotic/include/rai/Core/array.h +99 -64
- robotic/include/rai/Core/array.ipp +290 -139
- robotic/include/rai/Core/arrayDouble.h +36 -26
- robotic/include/rai/Core/defines.h +7 -9
- robotic/include/rai/Core/graph.h +27 -23
- robotic/include/rai/Core/h5.h +3 -1
- robotic/include/rai/Core/thread.h +12 -12
- robotic/include/rai/Core/util.h +58 -79
- robotic/include/rai/DataGen/rndStableConfigs.h +1 -0
- robotic/include/rai/DataGen/shapenetGrasps.h +5 -3
- robotic/include/rai/Geo/depth2PointCloud.h +2 -0
- robotic/include/rai/Geo/geo.h +23 -15
- robotic/include/rai/Geo/{fclInterface.h → i_fcl.h} +3 -1
- robotic/include/rai/Geo/mesh.h +18 -13
- robotic/include/rai/Geo/pairCollision.h +43 -43
- robotic/include/rai/Geo/signedDistanceFunctions.h +7 -5
- robotic/include/rai/Geo/stb_image.h +1 -1
- robotic/include/rai/Gui/RenderData.h +9 -7
- robotic/include/rai/Gui/opengl.h +6 -6
- robotic/include/rai/Gui/plot.h +1 -1
- robotic/include/rai/KOMO/komo.h +6 -3
- robotic/include/rai/KOMO/komo_NLP.h +2 -2
- robotic/include/rai/KOMO/manipTools.h +7 -2
- robotic/include/rai/KOMO/testProblems_KOMO.h +5 -9
- robotic/include/rai/Kin/F_forces.h +3 -3
- robotic/include/rai/Kin/cameraview.h +24 -36
- robotic/include/rai/Kin/dof_forceExchange.h +7 -7
- robotic/include/rai/Kin/feature.h +1 -1
- robotic/include/rai/Kin/frame.h +22 -24
- robotic/include/rai/Kin/{kin_physx.h → i_Physx.h} +10 -8
- robotic/include/rai/Kin/kin.h +29 -21
- robotic/include/rai/Kin/proxy.h +1 -1
- robotic/include/rai/Kin/simulation.h +20 -10
- robotic/include/rai/Kin/viewer.h +14 -1
- robotic/include/rai/LGP/LGP_TAMP_Abstraction.h +33 -0
- robotic/include/rai/LGP/LGP_Tool.h +4 -25
- robotic/include/rai/LGP/LGP_computers.h +1 -1
- robotic/include/rai/LGP/LGP_computers2.h +196 -0
- robotic/include/rai/LGP/NLP_Descriptor.h +5 -0
- robotic/include/rai/Logic/folWorld.h +1 -1
- robotic/include/rai/Logic/treeSearchDomain.h +2 -2
- robotic/include/rai/Optim/BayesOpt.h +13 -6
- robotic/include/rai/Optim/CMA/boundary_transformation.h +73 -0
- robotic/include/rai/Optim/CMA/cmaes.h +175 -0
- robotic/include/rai/Optim/CMA/cmaes_interface.h +68 -0
- robotic/include/rai/Optim/GlobalIterativeNewton.h +7 -3
- robotic/include/rai/Optim/NLP.h +23 -7
- robotic/include/rai/Optim/NLP_GraphSolver.h +1 -1
- robotic/include/rai/Optim/NLP_Solver.h +5 -5
- robotic/include/rai/Optim/constrained.h +4 -4
- robotic/include/rai/Optim/{opt-ceres.h → i_Ceres.h} +2 -2
- robotic/include/rai/Optim/{opt-nlopt.h → i_NLopt.h} +4 -0
- robotic/include/rai/Optim/lagrangian.h +7 -5
- robotic/include/rai/Optim/liblbfgs/liblbfgs.h +755 -0
- robotic/include/rai/Optim/m_EvoStrategies.h +114 -0
- robotic/include/rai/Optim/{gradient.h → m_Gradient.h} +13 -12
- robotic/include/rai/Optim/m_LBFGS.h +21 -0
- robotic/include/rai/Optim/m_LeastSquaresZeroOrder.h +104 -0
- robotic/include/rai/Optim/m_LocalGreedy.h +31 -0
- robotic/include/rai/Optim/m_NelderMead.h +23 -0
- robotic/include/rai/Optim/{newton.h → m_Newton.h} +7 -4
- robotic/include/rai/Optim/{SlackGaussNewton.h → m_SlackGaussNewton.h} +0 -10
- robotic/include/rai/Optim/options.h +8 -7
- robotic/include/rai/Optim/primalDual.h +10 -6
- robotic/include/rai/Optim/testProblems_Opt.h +25 -19
- robotic/include/rai/Optim/utils.h +16 -85
- robotic/include/rai/PathAlgos/ConfigurationProblem.h +3 -2
- robotic/include/rai/PathAlgos/RRT_PathFinder.h +2 -2
- robotic/include/rai/Perception/pcl.h +10 -10
- robotic/include/rai/Perception/surfels.h +1 -1
- robotic/include/rai/Search/TreeSearchNode.h +1 -1
- robotic/include/rai/ry/py-algo.h +17 -0
- robotic/include/rai/ry/types.h +4 -2
- robotic/librai.so +0 -0
- robotic/manipulation.py +5 -7
- robotic/meshTool +0 -0
- robotic/mujoco-import.py +8 -0
- robotic/rai-robotModels/g1/g1.g +11 -2
- robotic/rai-robotModels/g1/g1_29dof_conv.yml +64 -0
- robotic/rai-robotModels/g1/g1_clean.g +38 -73
- robotic/rai-robotModels/g1/meshes/head_link.h5 +0 -0
- robotic/rai-robotModels/g1/meshes/left_ankle_pitch_link.h5 +0 -0
- robotic/rai-robotModels/g1/meshes/left_ankle_roll_link.h5 +0 -0
- robotic/rai-robotModels/g1/meshes/left_elbow_link.h5 +0 -0
- robotic/rai-robotModels/g1/meshes/left_hip_pitch_link.h5 +0 -0
- robotic/rai-robotModels/g1/meshes/left_hip_roll_link.h5 +0 -0
- robotic/rai-robotModels/g1/meshes/left_hip_yaw_link.h5 +0 -0
- robotic/rai-robotModels/g1/meshes/left_knee_link.h5 +0 -0
- robotic/rai-robotModels/g1/meshes/left_rubber_hand.h5 +0 -0
- robotic/rai-robotModels/g1/meshes/left_shoulder_pitch_link.h5 +0 -0
- robotic/rai-robotModels/g1/meshes/left_shoulder_roll_link.h5 +0 -0
- robotic/rai-robotModels/g1/meshes/left_shoulder_yaw_link.h5 +0 -0
- robotic/rai-robotModels/g1/meshes/left_wrist_pitch_link.h5 +0 -0
- robotic/rai-robotModels/g1/meshes/left_wrist_roll_link.h5 +0 -0
- robotic/rai-robotModels/g1/meshes/left_wrist_yaw_link.h5 +0 -0
- robotic/rai-robotModels/g1/meshes/logo_link.h5 +0 -0
- robotic/rai-robotModels/g1/meshes/pelvis.h5 +0 -0
- robotic/rai-robotModels/g1/meshes/pelvis_contour_link.h5 +0 -0
- robotic/rai-robotModels/g1/meshes/right_ankle_pitch_link.h5 +0 -0
- robotic/rai-robotModels/g1/meshes/right_ankle_roll_link.h5 +0 -0
- robotic/rai-robotModels/g1/meshes/right_elbow_link.h5 +0 -0
- robotic/rai-robotModels/g1/meshes/right_hip_pitch_link.h5 +0 -0
- robotic/rai-robotModels/g1/meshes/right_hip_roll_link.h5 +0 -0
- robotic/rai-robotModels/g1/meshes/right_hip_yaw_link.h5 +0 -0
- robotic/rai-robotModels/g1/meshes/right_knee_link.h5 +0 -0
- robotic/rai-robotModels/g1/meshes/right_rubber_hand.h5 +0 -0
- robotic/rai-robotModels/g1/meshes/right_shoulder_pitch_link.h5 +0 -0
- robotic/rai-robotModels/g1/meshes/right_shoulder_roll_link.h5 +0 -0
- robotic/rai-robotModels/g1/meshes/right_shoulder_yaw_link.h5 +0 -0
- robotic/rai-robotModels/g1/meshes/right_wrist_pitch_link.h5 +0 -0
- robotic/rai-robotModels/g1/meshes/right_wrist_roll_link.h5 +0 -0
- robotic/rai-robotModels/g1/meshes/right_wrist_yaw_link.h5 +0 -0
- robotic/rai-robotModels/g1/meshes/torso_link.h5 +0 -0
- robotic/rai-robotModels/g1/meshes/waist_roll_link.h5 +0 -0
- robotic/rai-robotModels/g1/meshes/waist_support_link.h5 +0 -0
- robotic/rai-robotModels/g1/meshes/waist_yaw_link.h5 +0 -0
- robotic/rai-robotModels/objects/shelf.g +1 -1
- robotic/rai-robotModels/panda/meshes/finger.h5 +0 -0
- robotic/rai-robotModels/panda/meshes/hand.h5 +0 -0
- robotic/rai-robotModels/panda/meshes/link0.h5 +0 -0
- robotic/rai-robotModels/panda/meshes/link1.h5 +0 -0
- robotic/rai-robotModels/panda/meshes/link2.h5 +0 -0
- robotic/rai-robotModels/panda/meshes/link3.h5 +0 -0
- robotic/rai-robotModels/panda/meshes/link4.h5 +0 -0
- robotic/rai-robotModels/panda/meshes/link5.h5 +0 -0
- robotic/rai-robotModels/panda/meshes/link6.h5 +0 -0
- robotic/rai-robotModels/panda/meshes/link7.h5 +0 -0
- robotic/rai-robotModels/panda/panda.g +10 -10
- robotic/rai-robotModels/panda/panda_arm_hand_conv.g +24 -0
- robotic/rai-robotModels/panda/panda_arm_hand_conv.yml +24 -0
- robotic/rai-robotModels/panda/panda_clean.g +21 -45
- robotic/rai-robotModels/panda/panda_gripper.g +5 -7
- robotic/rai-robotModels/panda/panda_withoutCollisionModels.g +3 -11
- robotic/rai-robotModels/pr2/meshes/base.h5 +0 -0
- robotic/rai-robotModels/pr2/meshes/base_color.png +0 -0
- robotic/rai-robotModels/pr2/meshes/caster.h5 +0 -0
- robotic/rai-robotModels/pr2/meshes/elbow_flex.h5 +0 -0
- robotic/rai-robotModels/pr2/meshes/elbow_flex_color.png +0 -0
- robotic/rai-robotModels/pr2/meshes/forearm.h5 +0 -0
- robotic/rai-robotModels/pr2/meshes/forearm_color.png +0 -0
- robotic/rai-robotModels/pr2/meshes/forearm_roll.h5 +0 -0
- robotic/rai-robotModels/pr2/meshes/gripper_palm.h5 +0 -0
- robotic/rai-robotModels/pr2/meshes/gripper_palm_color.png +0 -0
- robotic/rai-robotModels/pr2/meshes/head_pan.h5 +0 -0
- robotic/rai-robotModels/pr2/meshes/head_pan_color.png +0 -0
- robotic/rai-robotModels/pr2/meshes/head_tilt.h5 +0 -0
- robotic/rai-robotModels/pr2/meshes/head_tilt_color.png +0 -0
- robotic/rai-robotModels/pr2/meshes/l_finger.h5 +0 -0
- robotic/rai-robotModels/pr2/meshes/l_finger_color.png +0 -0
- robotic/rai-robotModels/pr2/meshes/l_finger_tip.h5 +0 -0
- robotic/rai-robotModels/pr2/meshes/l_finger_tip_color.png +0 -0
- robotic/rai-robotModels/pr2/meshes/shoulder_lift.h5 +0 -0
- robotic/rai-robotModels/pr2/meshes/shoulder_lift_color.png +0 -0
- robotic/rai-robotModels/pr2/meshes/shoulder_pan.h5 +0 -0
- robotic/rai-robotModels/pr2/meshes/shoulder_pan_color.png +0 -0
- robotic/rai-robotModels/pr2/meshes/tilting_hokuyo.h5 +0 -0
- robotic/rai-robotModels/pr2/meshes/tilting_hokuyo_color.png +0 -0
- robotic/rai-robotModels/pr2/meshes/torso_lift.h5 +0 -0
- robotic/rai-robotModels/pr2/meshes/torso_lift_color.png +0 -0
- robotic/rai-robotModels/pr2/meshes/upper_arm.h5 +0 -0
- robotic/rai-robotModels/pr2/meshes/upper_arm_color.png +0 -0
- robotic/rai-robotModels/pr2/meshes/upper_arm_roll.h5 +0 -0
- robotic/rai-robotModels/pr2/meshes/upper_arm_roll_color.png +0 -0
- robotic/rai-robotModels/pr2/meshes/wheel.h5 +0 -0
- robotic/rai-robotModels/pr2/meshes/wheel_color.png +0 -0
- robotic/rai-robotModels/pr2/meshes/wrist_color.png +0 -0
- robotic/rai-robotModels/pr2/meshes/wrist_flex.h5 +0 -0
- robotic/rai-robotModels/pr2/meshes/wrist_roll.h5 +0 -0
- robotic/rai-robotModels/pr2/pr2.g +12 -12
- robotic/rai-robotModels/pr2/pr2_clean.g +122 -118
- robotic/rai-robotModels/pr2/pr2_conv.g +218 -0
- robotic/rai-robotModels/pr2/pr2_modifications.g +2 -2
- robotic/rai-robotModels/ranger/meshes/ranger_mini3.h5 +0 -0
- robotic/rai-robotModels/ranger/meshes/ranger_mini_v3_wheel.h5 +0 -0
- robotic/rai-robotModels/ranger/meshes/ranger_mini_v3_wheel_right.h5 +0 -0
- robotic/rai-robotModels/ranger/ranger.g +8 -8
- robotic/rai-robotModels/ranger/ranger_clean.g +5 -5
- robotic/rai-robotModels/ranger/ranger_mini_conv.g +14 -0
- robotic/rai-robotModels/robotiq/meshes/robotiq_arg2f_85_base_link.h5 +0 -0
- robotic/rai-robotModels/robotiq/meshes/robotiq_arg2f_85_inner_finger.h5 +0 -0
- robotic/rai-robotModels/robotiq/meshes/robotiq_arg2f_85_inner_knuckle.h5 +0 -0
- robotic/rai-robotModels/robotiq/meshes/robotiq_arg2f_85_outer_finger.h5 +0 -0
- robotic/rai-robotModels/robotiq/meshes/robotiq_arg2f_85_outer_knuckle.h5 +0 -0
- robotic/rai-robotModels/robotiq/robotiq.g +2 -2
- robotic/rai-robotModels/robotiq/robotiq_arg2f_85_model_conv.yml +19 -0
- robotic/rai-robotModels/robotiq/robotiq_clean.g +16 -16
- robotic/rai-robotModels/scenarios/ballFinger.g +2 -2
- robotic/rai-robotModels/scenarios/liftRing.g +2 -2
- robotic/rai-robotModels/scenarios/pandaFloatingGripper.g +1 -1
- robotic/rai-robotModels/scenarios/pandaSingle.g +1 -1
- robotic/rai-robotModels/scenarios/panda_fixRobotiq.g +3 -3
- robotic/rai-robotModels/tests/arm.g +18 -19
- robotic/rai-robotModels/tests/compound.g +3 -6
- robotic/rai-robotModels/ur10/meshes/base.h5 +0 -0
- robotic/rai-robotModels/ur10/meshes/forearm.h5 +0 -0
- robotic/rai-robotModels/ur10/meshes/shoulder.h5 +0 -0
- robotic/rai-robotModels/ur10/meshes/upperarm.h5 +0 -0
- robotic/rai-robotModels/ur10/meshes/wrist1.h5 +0 -0
- robotic/rai-robotModels/ur10/meshes/wrist2.h5 +0 -0
- robotic/rai-robotModels/ur10/meshes/wrist3.h5 +0 -0
- robotic/rai-robotModels/ur10/ur10.g +2 -2
- robotic/rai-robotModels/ur10/ur10_clean.g +8 -8
- robotic/rai-robotModels/ur10/ur10_conv.g +17 -0
- robotic/ry-h5info +3 -12
- robotic/ry-test +5 -4
- robotic/ry-urdfConvert.py +74 -0
- robotic/ry-view +28 -6
- robotic/src/cleanMeshes.py +59 -0
- robotic/src/h5_helper.py +46 -0
- robotic/src/h5_helper.py~ +42 -0
- robotic/src/mesh_helper.py +395 -0
- robotic/{rai-robotModels/ranger/meshes/cleanMeshes.mlx → src/meshlabFilters.mlx} +0 -3
- robotic/src/mujoco_io.py +242 -0
- robotic/src/urdf_io.py +237 -0
- robotic/src/yaml_helper.py +29 -0
- robotic/version.py +1 -1
- robotic-0.3.4.dev5.data/scripts/ry-h5info +23 -0
- {robotic-0.2.9.dev1.data → robotic-0.3.4.dev5.data}/scripts/ry-test +5 -4
- robotic-0.3.4.dev5.data/scripts/ry-urdfConvert.py +74 -0
- robotic-0.3.4.dev5.data/scripts/ry-view +46 -0
- {robotic-0.2.9.dev1.dist-info → robotic-0.3.4.dev5.dist-info}/METADATA +18 -22
- robotic-0.3.4.dev5.dist-info/RECORD +386 -0
- {robotic-0.2.9.dev1.dist-info → robotic-0.3.4.dev5.dist-info}/WHEEL +1 -1
- robotic/nlp.py +0 -113
- robotic/rai-robotModels/baxter/baxter.g +0 -49
- robotic/rai-robotModels/baxter/baxter_clean.g +0 -116
- robotic/rai-robotModels/baxter/baxter_clean2.g +0 -205
- robotic/rai-robotModels/baxter/baxter_clean3.g +0 -223
- robotic/rai-robotModels/baxter/baxter_description/meshes/base/PEDESTAL.ply +0 -0
- robotic/rai-robotModels/baxter/baxter_description/meshes/base/pedestal_link_collision.ply +0 -0
- robotic/rai-robotModels/baxter/baxter_description/meshes/head/H0.ply +0 -0
- robotic/rai-robotModels/baxter/baxter_description/meshes/head/H1.ply +0 -0
- robotic/rai-robotModels/baxter/baxter_description/meshes/lower_elbow/E1.ply +0 -0
- robotic/rai-robotModels/baxter/baxter_description/meshes/lower_forearm/W1.ply +0 -0
- robotic/rai-robotModels/baxter/baxter_description/meshes/lower_shoulder/S1.ply +0 -0
- robotic/rai-robotModels/baxter/baxter_description/meshes/torso/base_link.ply +0 -0
- robotic/rai-robotModels/baxter/baxter_description/meshes/torso/base_link_collision.ply +0 -0
- robotic/rai-robotModels/baxter/baxter_description/meshes/upper_elbow/E0.ply +0 -0
- robotic/rai-robotModels/baxter/baxter_description/meshes/upper_forearm/W0.ply +0 -0
- robotic/rai-robotModels/baxter/baxter_description/meshes/upper_shoulder/S0.ply +0 -0
- robotic/rai-robotModels/baxter/baxter_description/meshes/wrist/W2.ply +0 -0
- robotic/rai-robotModels/baxter/baxter_new.g +0 -53
- robotic/rai-robotModels/baxter/rethink_ee_description/meshes/electric_gripper/electric_gripper_base.ply +0 -0
- robotic/rai-robotModels/baxter/rethink_ee_description/meshes/electric_gripper/fingers/extended_narrow.ply +0 -0
- robotic/rai-robotModels/baxter/rethink_ee_description/meshes/electric_gripper/fingers/half_round_tip.ply +0 -0
- robotic/rai-robotModels/baxter/rethink_ee_description/meshes/electric_gripper/fingers/paddle_tip.ply +0 -0
- robotic/rai-robotModels/baxter/rethink_ee_description/meshes/pneumatic_gripper/pneumatic_gripper_base.ply +0 -0
- robotic/rai-robotModels/baxter/rethink_ee_description/meshes/pneumatic_gripper/pneumatic_gripper_w_cup.ply +0 -0
- robotic/rai-robotModels/g1/meshes/head_link.ply +0 -0
- robotic/rai-robotModels/g1/meshes/left_ankle_pitch_link.ply +0 -0
- robotic/rai-robotModels/g1/meshes/left_ankle_roll_link.ply +0 -0
- robotic/rai-robotModels/g1/meshes/left_elbow_link.ply +0 -0
- robotic/rai-robotModels/g1/meshes/left_hand_index_0_link.ply +0 -0
- robotic/rai-robotModels/g1/meshes/left_hand_index_1_link.ply +0 -0
- robotic/rai-robotModels/g1/meshes/left_hand_middle_0_link.ply +0 -0
- robotic/rai-robotModels/g1/meshes/left_hand_middle_1_link.ply +0 -0
- robotic/rai-robotModels/g1/meshes/left_hand_palm_link.ply +0 -0
- robotic/rai-robotModels/g1/meshes/left_hand_thumb_0_link.ply +0 -0
- robotic/rai-robotModels/g1/meshes/left_hand_thumb_1_link.ply +0 -0
- robotic/rai-robotModels/g1/meshes/left_hand_thumb_2_link.ply +0 -0
- robotic/rai-robotModels/g1/meshes/left_hip_pitch_link.ply +0 -0
- robotic/rai-robotModels/g1/meshes/left_hip_roll_link.ply +0 -0
- robotic/rai-robotModels/g1/meshes/left_hip_yaw_link.ply +0 -0
- robotic/rai-robotModels/g1/meshes/left_knee_link.ply +0 -0
- robotic/rai-robotModels/g1/meshes/left_rubber_hand.ply +0 -0
- robotic/rai-robotModels/g1/meshes/left_shoulder_pitch_link.ply +0 -0
- robotic/rai-robotModels/g1/meshes/left_shoulder_roll_link.ply +0 -0
- robotic/rai-robotModels/g1/meshes/left_shoulder_yaw_link.ply +0 -0
- robotic/rai-robotModels/g1/meshes/left_wrist_pitch_link.ply +0 -0
- robotic/rai-robotModels/g1/meshes/left_wrist_roll_link.ply +0 -0
- robotic/rai-robotModels/g1/meshes/left_wrist_roll_rubber_hand.ply +0 -0
- robotic/rai-robotModels/g1/meshes/left_wrist_yaw_link.ply +0 -0
- robotic/rai-robotModels/g1/meshes/logo_link.ply +0 -0
- robotic/rai-robotModels/g1/meshes/pelvis.ply +0 -0
- robotic/rai-robotModels/g1/meshes/pelvis_contour_link.ply +0 -0
- robotic/rai-robotModels/g1/meshes/right_ankle_pitch_link.ply +0 -0
- robotic/rai-robotModels/g1/meshes/right_ankle_roll_link.ply +0 -0
- robotic/rai-robotModels/g1/meshes/right_elbow_link.ply +0 -0
- robotic/rai-robotModels/g1/meshes/right_hand_index_0_link.ply +0 -0
- robotic/rai-robotModels/g1/meshes/right_hand_index_1_link.ply +0 -0
- robotic/rai-robotModels/g1/meshes/right_hand_middle_0_link.ply +0 -0
- robotic/rai-robotModels/g1/meshes/right_hand_middle_1_link.ply +0 -0
- robotic/rai-robotModels/g1/meshes/right_hand_palm_link.ply +0 -0
- robotic/rai-robotModels/g1/meshes/right_hand_thumb_0_link.ply +0 -0
- robotic/rai-robotModels/g1/meshes/right_hand_thumb_1_link.ply +0 -0
- robotic/rai-robotModels/g1/meshes/right_hand_thumb_2_link.ply +0 -0
- robotic/rai-robotModels/g1/meshes/right_hip_pitch_link.ply +0 -0
- robotic/rai-robotModels/g1/meshes/right_hip_roll_link.ply +0 -0
- robotic/rai-robotModels/g1/meshes/right_hip_yaw_link.ply +0 -0
- robotic/rai-robotModels/g1/meshes/right_knee_link.ply +0 -0
- robotic/rai-robotModels/g1/meshes/right_rubber_hand.ply +0 -0
- robotic/rai-robotModels/g1/meshes/right_shoulder_pitch_link.ply +0 -0
- robotic/rai-robotModels/g1/meshes/right_shoulder_roll_link.ply +0 -0
- robotic/rai-robotModels/g1/meshes/right_shoulder_yaw_link.ply +0 -0
- robotic/rai-robotModels/g1/meshes/right_wrist_pitch_link.ply +0 -0
- robotic/rai-robotModels/g1/meshes/right_wrist_roll_link.ply +0 -0
- robotic/rai-robotModels/g1/meshes/right_wrist_roll_rubber_hand.ply +0 -0
- robotic/rai-robotModels/g1/meshes/right_wrist_yaw_link.ply +0 -0
- robotic/rai-robotModels/g1/meshes/torso_constraint_L_link.ply +0 -0
- robotic/rai-robotModels/g1/meshes/torso_constraint_L_rod_link.ply +0 -0
- robotic/rai-robotModels/g1/meshes/torso_constraint_R_link.ply +0 -0
- robotic/rai-robotModels/g1/meshes/torso_constraint_R_rod_link.ply +0 -0
- robotic/rai-robotModels/g1/meshes/torso_link.ply +0 -0
- robotic/rai-robotModels/g1/meshes/waist_constraint_L.ply +0 -0
- robotic/rai-robotModels/g1/meshes/waist_constraint_R.ply +0 -0
- robotic/rai-robotModels/g1/meshes/waist_roll_link.ply +0 -0
- robotic/rai-robotModels/g1/meshes/waist_support_link.ply +0 -0
- robotic/rai-robotModels/g1/meshes/waist_yaw_link.ply +0 -0
- robotic/rai-robotModels/panda/franka_description/meshes/collision/finger.stl +0 -0
- robotic/rai-robotModels/panda/franka_description/meshes/collision/hand.stl +0 -0
- robotic/rai-robotModels/panda/franka_description/meshes/collision/link0.stl +0 -0
- robotic/rai-robotModels/panda/franka_description/meshes/collision/link1.stl +0 -0
- robotic/rai-robotModels/panda/franka_description/meshes/collision/link2.stl +0 -0
- robotic/rai-robotModels/panda/franka_description/meshes/collision/link3.stl +0 -0
- robotic/rai-robotModels/panda/franka_description/meshes/collision/link4.stl +0 -0
- robotic/rai-robotModels/panda/franka_description/meshes/collision/link5.stl +0 -0
- robotic/rai-robotModels/panda/franka_description/meshes/collision/link6.stl +0 -0
- robotic/rai-robotModels/panda/franka_description/meshes/collision/link7.stl +0 -0
- robotic/rai-robotModels/panda/franka_description/meshes/visual/HOWTO.sh +0 -10
- robotic/rai-robotModels/panda/franka_description/meshes/visual/HOWTO2.sh +0 -7
- robotic/rai-robotModels/panda/franka_description/meshes/visual/convMeshes.mlx +0 -38
- robotic/rai-robotModels/panda/franka_description/meshes/visual/finger.ply +0 -0
- robotic/rai-robotModels/panda/franka_description/meshes/visual/hand.ply +0 -0
- robotic/rai-robotModels/panda/franka_description/meshes/visual/link0.ply +0 -0
- robotic/rai-robotModels/panda/franka_description/meshes/visual/link1.ply +0 -0
- robotic/rai-robotModels/panda/franka_description/meshes/visual/link2.ply +0 -0
- robotic/rai-robotModels/panda/franka_description/meshes/visual/link3.ply +0 -0
- robotic/rai-robotModels/panda/franka_description/meshes/visual/link4.ply +0 -0
- robotic/rai-robotModels/panda/franka_description/meshes/visual/link5.ply +0 -0
- robotic/rai-robotModels/panda/franka_description/meshes/visual/link6.ply +0 -0
- robotic/rai-robotModels/panda/franka_description/meshes/visual/link7.ply +0 -0
- robotic/rai-robotModels/panda/franka_description/meshes/visual/script.mlx +0 -28
- robotic/rai-robotModels/pr2/pr2_description/meshes/base_v0/base.ply +0 -0
- robotic/rai-robotModels/pr2/pr2_description/meshes/base_v0/base_L.ply +0 -0
- robotic/rai-robotModels/pr2/pr2_description/meshes/base_v0/caster.ply +0 -0
- robotic/rai-robotModels/pr2/pr2_description/meshes/base_v0/caster_L.ply +0 -0
- robotic/rai-robotModels/pr2/pr2_description/meshes/base_v0/pr2_wheel.ply +0 -0
- robotic/rai-robotModels/pr2/pr2_description/meshes/base_v0/wheel.ply +0 -0
- robotic/rai-robotModels/pr2/pr2_description/meshes/forearm_v0/forearm.ply +0 -0
- robotic/rai-robotModels/pr2/pr2_description/meshes/forearm_v0/wrist_flex.ply +0 -0
- robotic/rai-robotModels/pr2/pr2_description/meshes/forearm_v0/wrist_roll.ply +0 -0
- robotic/rai-robotModels/pr2/pr2_description/meshes/forearm_v0/wrist_roll_L.ply +0 -0
- robotic/rai-robotModels/pr2/pr2_description/meshes/gripper_v0/gripper_palm.ply +0 -0
- robotic/rai-robotModels/pr2/pr2_description/meshes/gripper_v0/l_finger.ply +0 -0
- robotic/rai-robotModels/pr2/pr2_description/meshes/gripper_v0/l_finger_tip.ply +0 -0
- robotic/rai-robotModels/pr2/pr2_description/meshes/head_v0/head_pan.ply +0 -0
- robotic/rai-robotModels/pr2/pr2_description/meshes/head_v0/head_pan_L.ply +0 -0
- robotic/rai-robotModels/pr2/pr2_description/meshes/head_v0/head_tilt.ply +0 -0
- robotic/rai-robotModels/pr2/pr2_description/meshes/head_v0/head_tilt_L.ply +0 -0
- robotic/rai-robotModels/pr2/pr2_description/meshes/shoulder_v0/shoulder_lift.ply +0 -0
- robotic/rai-robotModels/pr2/pr2_description/meshes/shoulder_v0/shoulder_pan.ply +0 -0
- robotic/rai-robotModels/pr2/pr2_description/meshes/shoulder_v0/shoulder_yaw.ply +0 -0
- robotic/rai-robotModels/pr2/pr2_description/meshes/shoulder_v0/upper_arm_roll.ply +0 -0
- robotic/rai-robotModels/pr2/pr2_description/meshes/shoulder_v0/upper_arm_roll_L.ply +0 -0
- robotic/rai-robotModels/pr2/pr2_description/meshes/tilting_laser_v0/hok_tilt.ply +0 -0
- robotic/rai-robotModels/pr2/pr2_description/meshes/tilting_laser_v0/tilting_hokuyo.ply +0 -0
- robotic/rai-robotModels/pr2/pr2_description/meshes/tilting_laser_v0/tilting_hokuyo_L.ply +0 -0
- robotic/rai-robotModels/pr2/pr2_description/meshes/torso_v0/torso.ply +0 -0
- robotic/rai-robotModels/pr2/pr2_description/meshes/torso_v0/torso_lift.ply +0 -0
- robotic/rai-robotModels/pr2/pr2_description/meshes/torso_v0/torso_lift_L.ply +0 -0
- robotic/rai-robotModels/pr2/pr2_description/meshes/upper_arm_v0/elbow_flex.ply +0 -0
- robotic/rai-robotModels/pr2/pr2_description/meshes/upper_arm_v0/forearm_roll.ply +0 -0
- robotic/rai-robotModels/pr2/pr2_description/meshes/upper_arm_v0/forearm_roll_L.ply +0 -0
- robotic/rai-robotModels/pr2/pr2_description/meshes/upper_arm_v0/upper_arm.ply +0 -0
- robotic/rai-robotModels/ranger/meshes/cleanMeshes.sh +0 -8
- robotic/rai-robotModels/ranger/meshes/ranger_mini3.ply +0 -0
- robotic/rai-robotModels/ranger/meshes/ranger_mini_v3_wheel.ply +0 -0
- robotic/rai-robotModels/ranger/meshes/ranger_mini_v3_wheel_right.ply +0 -0
- robotic/rai-robotModels/robotiq/meshes/visual/robotiq_arg2f_85_base_link.ply +0 -0
- robotic/rai-robotModels/robotiq/meshes/visual/robotiq_arg2f_85_base_link_x.ply +0 -10
- robotic/rai-robotModels/robotiq/meshes/visual/robotiq_arg2f_85_inner_finger.ply +0 -0
- robotic/rai-robotModels/robotiq/meshes/visual/robotiq_arg2f_85_inner_knuckle.ply +0 -0
- robotic/rai-robotModels/robotiq/meshes/visual/robotiq_arg2f_85_outer_finger.ply +0 -0
- robotic/rai-robotModels/robotiq/meshes/visual/robotiq_arg2f_85_outer_knuckle.ply +0 -0
- robotic/rai-robotModels/robotiq/meshes/visual/robotiq_arg2f_85_pad.ply +0 -0
- robotic/rai-robotModels/robotiq/meshes/visual/robotiq_gripper_coupling.ply +0 -0
- robotic/rai-robotModels/ur10/ur_description/meshes/ur10/visual/Base.ply +0 -0
- robotic/rai-robotModels/ur10/ur_description/meshes/ur10/visual/Forearm.ply +0 -0
- robotic/rai-robotModels/ur10/ur_description/meshes/ur10/visual/Shoulder.ply +0 -0
- robotic/rai-robotModels/ur10/ur_description/meshes/ur10/visual/UpperArm.ply +0 -0
- robotic/rai-robotModels/ur10/ur_description/meshes/ur10/visual/Wrist1.ply +0 -0
- robotic/rai-robotModels/ur10/ur_description/meshes/ur10/visual/Wrist2.ply +0 -0
- robotic/rai-robotModels/ur10/ur_description/meshes/ur10/visual/Wrist3.ply +0 -0
- robotic/ry-urdf2rai +0 -222
- robotic/ry-urdf2yaml +0 -250
- robotic-0.2.9.dev1.data/scripts/ry-h5info +0 -32
- robotic-0.2.9.dev1.data/scripts/ry-urdf2rai +0 -222
- robotic-0.2.9.dev1.data/scripts/ry-urdf2yaml +0 -250
- robotic-0.2.9.dev1.data/scripts/ry-view +0 -24
- robotic-0.2.9.dev1.dist-info/RECORD +0 -421
- /robotic/include/rai/{Geo → Algo}/Lewiner/LookUpTable.h +0 -0
- /robotic/include/rai/Geo/{assimpInterface.h → i_assimp.h} +0 -0
- /robotic/include/rai/Kin/{kin_bullet.h → i_Bullet.h} +0 -0
- /robotic/include/rai/Kin/{kin_feather.h → i_Feather.h} +0 -0
- /robotic/include/rai/Kin/{kin_ode.h → i_Ode.h} +0 -0
- /robotic/include/rai/Optim/{opt-ipopt.h → i_Ipopt.h} +0 -0
- /robotic/rai-robotModels/robotiq/meshes/{visual/robotiq_ft300.ply → robotiq_ft300.ply} +0 -0
- /robotic/{import.py → src/__init__.py} +0 -0
- {robotic-0.2.9.dev1.data → robotic-0.3.4.dev5.data}/scripts/ry-bot +0 -0
- {robotic-0.2.9.dev1.data → robotic-0.3.4.dev5.data}/scripts/ry-info +0 -0
- {robotic-0.2.9.dev1.data → robotic-0.3.4.dev5.data}/scripts/ry-meshTool +0 -0
- {robotic-0.2.9.dev1.dist-info → robotic-0.3.4.dev5.dist-info}/licenses/LICENSE +0 -0
- {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__ = ['
|
|
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
|
|
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
|
|
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,
|
|
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:
|
|
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
|
|
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
|
-
|
|
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
|
|
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 =
|
|
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
|
|
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) ->
|
|
863
|
+
def setPose(self, arg0: arr) -> Frame:
|
|
814
864
|
...
|
|
815
|
-
def setPoseByText(self, arg0: str) ->
|
|
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) ->
|
|
871
|
+
def setRelativePose(self, arg0: arr) -> Frame:
|
|
822
872
|
...
|
|
823
|
-
def setRelativePoseByText(self, arg0: str) ->
|
|
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:
|
|
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
|
|
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,
|
|
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
|
-
|
|
1460
|
+
GradientDescent
|
|
1404
1461
|
|
|
1405
|
-
|
|
1462
|
+
Rprop
|
|
1406
1463
|
|
|
1407
1464
|
LBFGS
|
|
1408
1465
|
|
|
1409
|
-
|
|
1466
|
+
Newton
|
|
1467
|
+
|
|
1468
|
+
AugmentedLag
|
|
1410
1469
|
|
|
1411
|
-
|
|
1470
|
+
LogBarrier
|
|
1412
1471
|
|
|
1413
|
-
|
|
1472
|
+
slackGN_logBarrier
|
|
1414
1473
|
|
|
1415
|
-
|
|
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
|
-
|
|
1428
|
-
|
|
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
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
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
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
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
|
|
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
|
|
1577
|
+
def asArr(self) -> arr:
|
|
1485
1578
|
...
|
|
1486
|
-
def
|
|
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) ->
|
|
1591
|
+
def invert(self) -> Quaternion:
|
|
1499
1592
|
...
|
|
1500
1593
|
def multiply(self, f: float) -> None:
|
|
1501
1594
|
...
|
|
1502
|
-
def normalize(self) ->
|
|
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,
|
|
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,
|
|
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
|
|
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,
|
|
1962
|
+
def setState(self, time: float, q: arr, qDot: arr, freePos: arr, freeVel: arr) -> None:
|
|
1856
1963
|
...
|
|
1857
|
-
def step(self, u_control: arr
|
|
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
|
|
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
|
+
"""
|