robotic 0.2.8.dev4__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 +236 -114
- 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 -136
- robotic/include/rai/Core/arrayDouble.h +36 -26
- robotic/include/rai/Core/defines.h +7 -9
- robotic/include/rai/Core/graph.h +33 -37
- 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 +24 -16
- robotic/include/rai/Geo/{fclInterface.h → i_fcl.h} +3 -1
- robotic/include/rai/Geo/mesh.h +22 -16
- 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 +12 -9
- 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 +24 -26
- robotic/include/rai/Kin/{kin_physx.h → i_Physx.h} +11 -10
- robotic/include/rai/Kin/kin.h +30 -20
- 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 +33 -0
- robotic/rai-robotModels/ranger/ranger_clean.g +18 -0
- 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 -8
- robotic/ry-test +6 -5
- robotic/ry-urdfConvert.py +74 -0
- robotic/ry-view +28 -6
- robotic/src/__init__.py +0 -0
- 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/src/meshlabFilters.mlx +20 -0
- 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.2.8.dev4.data → robotic-0.3.4.dev5.data}/scripts/ry-h5info +3 -8
- {robotic-0.2.8.dev4.data → robotic-0.3.4.dev5.data}/scripts/ry-test +6 -5
- 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.8.dev4.dist-info → robotic-0.3.4.dev5.dist-info}/METADATA +20 -23
- robotic-0.3.4.dev5.dist-info/RECORD +386 -0
- {robotic-0.2.8.dev4.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/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.8.dev4.data/scripts/ry-urdf2rai +0 -222
- robotic-0.2.8.dev4.data/scripts/ry-urdf2yaml +0 -250
- robotic-0.2.8.dev4.data/scripts/ry-view +0 -24
- robotic-0.2.8.dev4.dist-info/RECORD +0 -413
- /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-0.2.8.dev4.data → robotic-0.3.4.dev5.data}/scripts/ry-bot +0 -0
- {robotic-0.2.8.dev4.data → robotic-0.3.4.dev5.data}/scripts/ry-info +0 -0
- {robotic-0.2.8.dev4.data → robotic-0.3.4.dev5.data}/scripts/ry-meshTool +0 -0
- {robotic-0.2.8.dev4.dist-info → robotic-0.3.4.dev5.dist-info/licenses}/LICENSE +0 -0
- {robotic-0.2.8.dev4.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,8 +375,18 @@ 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]:
|
|
365
379
|
...
|
|
380
|
+
def get_viewer(self) -> ConfigurationViewer:
|
|
381
|
+
...
|
|
382
|
+
def processInertias(self, recomputeInertias: bool = True, transformToDiagInertia: bool = False) -> None:
|
|
383
|
+
"""
|
|
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)
|
|
385
|
+
"""
|
|
386
|
+
def processStructure(self, pruneRigidJoints: bool = False, reconnectToLinks: bool = True, pruneNonContactShapes: bool = False, pruneTransparent: bool = False) -> None:
|
|
387
|
+
"""
|
|
388
|
+
structurally simplify the Configuration (deleting frames, relinking to minimal tree)
|
|
389
|
+
"""
|
|
366
390
|
def report(self) -> str:
|
|
367
391
|
"""
|
|
368
392
|
return a string with basic info (#frames, etc)
|
|
@@ -389,12 +413,8 @@ class Config:
|
|
|
389
413
|
"""
|
|
390
414
|
def setJointStateSlice(self, arg0: list[float], arg1: int) -> None:
|
|
391
415
|
...
|
|
392
|
-
def set_viewer(self, arg0:
|
|
416
|
+
def set_viewer(self, arg0: ConfigurationViewer) -> None:
|
|
393
417
|
...
|
|
394
|
-
def simplify(self, pruneNamed: bool, pruneNonContactNonMarker: bool, pruneTransparent: bool) -> None:
|
|
395
|
-
"""
|
|
396
|
-
structurally simplify the Configuration (deleting frames, relinking to minimal tree)
|
|
397
|
-
"""
|
|
398
418
|
def view(self, pause: bool = False, message: str = None) -> int:
|
|
399
419
|
"""
|
|
400
420
|
open a view window for the configuration
|
|
@@ -403,36 +423,10 @@ class Config:
|
|
|
403
423
|
"""
|
|
404
424
|
close the view
|
|
405
425
|
"""
|
|
406
|
-
def view_focalLength(self) -> float:
|
|
407
|
-
"""
|
|
408
|
-
return the focal length of the view camera (only intrinsic parameter)
|
|
409
|
-
"""
|
|
410
|
-
def view_fxycxy(self) -> arr:
|
|
411
|
-
"""
|
|
412
|
-
return (fx, fy, cx, cy): the focal length and image center in PIXEL UNITS
|
|
413
|
-
"""
|
|
414
|
-
def view_getDepth(self) -> numpy.ndarray[numpy.float32]:
|
|
415
|
-
...
|
|
416
|
-
def view_getRgb(self) -> numpy.ndarray[numpy.uint8]:
|
|
417
|
-
...
|
|
418
|
-
def view_pose(self) -> arr:
|
|
419
|
-
"""
|
|
420
|
-
return the 7D pose of the view camera
|
|
421
|
-
"""
|
|
422
|
-
def view_raise(self) -> None:
|
|
423
|
-
"""
|
|
424
|
-
raise the view
|
|
425
|
-
"""
|
|
426
426
|
def view_recopyMeshes(self) -> None:
|
|
427
427
|
...
|
|
428
|
-
def
|
|
429
|
-
|
|
430
|
-
saves a png image of the current view, numbered with a global counter, with the intention to make a video
|
|
431
|
-
"""
|
|
432
|
-
def view_setCamera(self, arg0: Frame) -> None:
|
|
433
|
-
"""
|
|
434
|
-
set the camera pose to a frame, and check frame attributes for intrinsic parameters (focalLength, width height)
|
|
435
|
-
"""
|
|
428
|
+
def viewer(self) -> ConfigurationViewer:
|
|
429
|
+
...
|
|
436
430
|
def watchFile(self, arg0: str) -> None:
|
|
437
431
|
"""
|
|
438
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
|
|
@@ -449,7 +443,7 @@ class Config:
|
|
|
449
443
|
"""
|
|
450
444
|
write the full configuration in a ply mesh file
|
|
451
445
|
"""
|
|
452
|
-
def writeMeshes(self, pathPrefix:
|
|
446
|
+
def writeMeshes(self, pathPrefix: ..., copyTextures: bool = True, enumerateAssets: bool = False) -> None:
|
|
453
447
|
"""
|
|
454
448
|
write all object meshes in a directory
|
|
455
449
|
"""
|
|
@@ -464,9 +458,67 @@ class ConfigurationViewer:
|
|
|
464
458
|
@staticmethod
|
|
465
459
|
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
466
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
|
+
"""
|
|
467
503
|
def savePng(self, saveVideoPath: ... = 'z.vid/', count: int = -1) -> None:
|
|
468
504
|
"""
|
|
469
|
-
|
|
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
|
|
470
522
|
"""
|
|
471
523
|
def visualsOnly(self, _visualsOnly: bool = True) -> None:
|
|
472
524
|
"""
|
|
@@ -718,13 +770,9 @@ class Frame:
|
|
|
718
770
|
@staticmethod
|
|
719
771
|
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
720
772
|
...
|
|
721
|
-
def addAttributes(self, arg0: dict) -> None:
|
|
722
|
-
"""
|
|
723
|
-
add/set attributes for the frame
|
|
724
|
-
"""
|
|
725
773
|
def asDict(self) -> dict:
|
|
726
774
|
...
|
|
727
|
-
def computeCompoundInertia(self
|
|
775
|
+
def computeCompoundInertia(self) -> Frame:
|
|
728
776
|
...
|
|
729
777
|
def convertDecomposedShapeToChildFrames(self) -> Frame:
|
|
730
778
|
...
|
|
@@ -748,11 +796,11 @@ class Frame:
|
|
|
748
796
|
...
|
|
749
797
|
def getParent(self) -> Frame:
|
|
750
798
|
...
|
|
751
|
-
def getPose(self) -> arr:
|
|
799
|
+
def getPose(self, relativeTo: Frame = None) -> arr:
|
|
752
800
|
...
|
|
753
|
-
def getPosition(self) -> arr:
|
|
801
|
+
def getPosition(self, relativeTo: Frame = None) -> arr:
|
|
754
802
|
...
|
|
755
|
-
def getQuaternion(self) -> arr:
|
|
803
|
+
def getQuaternion(self, relativeTo: Frame = None) -> arr:
|
|
756
804
|
...
|
|
757
805
|
def getRelativePose(self) -> arr:
|
|
758
806
|
...
|
|
@@ -768,12 +816,14 @@ class Frame:
|
|
|
768
816
|
...
|
|
769
817
|
def getSize(self) -> arr:
|
|
770
818
|
...
|
|
771
|
-
def getTransform(self) -> arr:
|
|
819
|
+
def getTransform(self, relativeTo: Frame = None) -> arr:
|
|
772
820
|
...
|
|
773
821
|
def makeRoot(self, untilPartBreak: bool) -> None:
|
|
774
822
|
...
|
|
775
|
-
def
|
|
776
|
-
|
|
823
|
+
def setAttributes(self, arg0: dict) -> Frame:
|
|
824
|
+
"""
|
|
825
|
+
set attributes for the frame
|
|
826
|
+
"""
|
|
777
827
|
def setColor(self, arg0: arr) -> Frame:
|
|
778
828
|
...
|
|
779
829
|
def setContact(self, arg0: int) -> Frame:
|
|
@@ -784,11 +834,15 @@ class Frame:
|
|
|
784
834
|
"""
|
|
785
835
|
def setImplicitSurface(self, data: ..., size: arr, blur: int, resample: float = -1.0) -> Frame:
|
|
786
836
|
...
|
|
787
|
-
def setJoint(self, jointType: JT, limits: arr =
|
|
837
|
+
def setJoint(self, jointType: JT, limits: arr = ..., scale: float = 1.0, mimic: Frame = None) -> Frame:
|
|
788
838
|
...
|
|
789
839
|
def setJointState(self, arg0: arr) -> Frame:
|
|
790
840
|
...
|
|
791
|
-
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:
|
|
792
846
|
...
|
|
793
847
|
def setMesh(self, vertices: arr, triangles: uintA, colors: ... = ..., cvxParts: uintA = ...) -> Frame:
|
|
794
848
|
"""
|
|
@@ -806,17 +860,17 @@ class Frame:
|
|
|
806
860
|
"""
|
|
807
861
|
attach a point cloud shape
|
|
808
862
|
"""
|
|
809
|
-
def setPose(self, arg0: arr) ->
|
|
863
|
+
def setPose(self, arg0: arr) -> Frame:
|
|
810
864
|
...
|
|
811
|
-
def setPoseByText(self, arg0: str) ->
|
|
865
|
+
def setPoseByText(self, arg0: str) -> Frame:
|
|
812
866
|
...
|
|
813
867
|
def setPosition(self, arg0: arr) -> Frame:
|
|
814
868
|
...
|
|
815
869
|
def setQuaternion(self, arg0: arr) -> Frame:
|
|
816
870
|
...
|
|
817
|
-
def setRelativePose(self, arg0: arr) ->
|
|
871
|
+
def setRelativePose(self, arg0: arr) -> Frame:
|
|
818
872
|
...
|
|
819
|
-
def setRelativePoseByText(self, arg0: str) ->
|
|
873
|
+
def setRelativePoseByText(self, arg0: str) -> Frame:
|
|
820
874
|
...
|
|
821
875
|
def setRelativePosition(self, arg0: arr) -> Frame:
|
|
822
876
|
...
|
|
@@ -1086,6 +1140,13 @@ class KOMO_Objective:
|
|
|
1086
1140
|
@staticmethod
|
|
1087
1141
|
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
1088
1142
|
...
|
|
1143
|
+
class LGP_TAMP_Abstraction:
|
|
1144
|
+
"""
|
|
1145
|
+
LGP_TAMP_Abstraction
|
|
1146
|
+
"""
|
|
1147
|
+
@staticmethod
|
|
1148
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
1149
|
+
...
|
|
1089
1150
|
class LGP_Tool:
|
|
1090
1151
|
"""
|
|
1091
1152
|
Tools to compute things (and solve) a Task-and-Motion Planning problem formulated as Logic-Geometric Program
|
|
@@ -1093,7 +1154,7 @@ class LGP_Tool:
|
|
|
1093
1154
|
@staticmethod
|
|
1094
1155
|
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
1095
1156
|
...
|
|
1096
|
-
def __init__(self, arg0: Config, arg1:
|
|
1157
|
+
def __init__(self, arg0: Config, arg1: LGP_TAMP_Abstraction) -> None:
|
|
1097
1158
|
"""
|
|
1098
1159
|
initialization
|
|
1099
1160
|
"""
|
|
@@ -1148,7 +1209,7 @@ class NLP:
|
|
|
1148
1209
|
"""
|
|
1149
1210
|
def getBounds(self) -> arr:
|
|
1150
1211
|
"""
|
|
1151
|
-
returns
|
|
1212
|
+
returns a 2xn array with lower and upper bounds as rows (or size zero, if there are no bounds)
|
|
1152
1213
|
"""
|
|
1153
1214
|
def getDimension(self) -> int:
|
|
1154
1215
|
"""
|
|
@@ -1240,7 +1301,7 @@ class NLP_Solver:
|
|
|
1240
1301
|
"""
|
|
1241
1302
|
def setInitialization(self, arg0: arr) -> NLP_Solver:
|
|
1242
1303
|
...
|
|
1243
|
-
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:
|
|
1244
1305
|
"""
|
|
1245
1306
|
set solver options
|
|
1246
1307
|
"""
|
|
@@ -1396,19 +1457,21 @@ class OptMethod:
|
|
|
1396
1457
|
|
|
1397
1458
|
none
|
|
1398
1459
|
|
|
1399
|
-
|
|
1460
|
+
GradientDescent
|
|
1400
1461
|
|
|
1401
|
-
|
|
1462
|
+
Rprop
|
|
1402
1463
|
|
|
1403
1464
|
LBFGS
|
|
1404
1465
|
|
|
1405
|
-
|
|
1466
|
+
Newton
|
|
1467
|
+
|
|
1468
|
+
AugmentedLag
|
|
1406
1469
|
|
|
1407
|
-
|
|
1470
|
+
LogBarrier
|
|
1408
1471
|
|
|
1409
|
-
|
|
1472
|
+
slackGN_logBarrier
|
|
1410
1473
|
|
|
1411
|
-
|
|
1474
|
+
SquaredPenalty
|
|
1412
1475
|
|
|
1413
1476
|
singleSquaredPenalty
|
|
1414
1477
|
|
|
@@ -1418,22 +1481,41 @@ class OptMethod:
|
|
|
1418
1481
|
|
|
1419
1482
|
Ipopt
|
|
1420
1483
|
|
|
1484
|
+
slackGN_Ipopt
|
|
1485
|
+
|
|
1421
1486
|
Ceres
|
|
1487
|
+
|
|
1488
|
+
LSZO
|
|
1489
|
+
|
|
1490
|
+
greedy
|
|
1491
|
+
|
|
1492
|
+
NelderMead
|
|
1493
|
+
|
|
1494
|
+
CMA
|
|
1495
|
+
|
|
1496
|
+
ES
|
|
1422
1497
|
"""
|
|
1423
|
-
|
|
1424
|
-
|
|
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>
|
|
1425
1504
|
LBFGS: typing.ClassVar[OptMethod] # value = <OptMethod.LBFGS: 3>
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
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>
|
|
1432
1514
|
none: typing.ClassVar[OptMethod] # value = <OptMethod.none: 0>
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
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>
|
|
1437
1519
|
@staticmethod
|
|
1438
1520
|
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
1439
1521
|
...
|
|
@@ -1465,7 +1547,12 @@ class OptMethod:
|
|
|
1465
1547
|
...
|
|
1466
1548
|
class Quaternion:
|
|
1467
1549
|
"""
|
|
1550
|
+
See the Quaternion Lecture Note https://www.user.tu-berlin.de/mtoussai/notes/quaternions.html for details
|
|
1468
1551
|
"""
|
|
1552
|
+
w: float
|
|
1553
|
+
x: float
|
|
1554
|
+
y: float
|
|
1555
|
+
z: float
|
|
1469
1556
|
@staticmethod
|
|
1470
1557
|
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
1471
1558
|
...
|
|
@@ -1473,13 +1560,23 @@ class Quaternion:
|
|
|
1473
1560
|
"""
|
|
1474
1561
|
non-initialized
|
|
1475
1562
|
"""
|
|
1476
|
-
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:
|
|
1477
1574
|
...
|
|
1478
1575
|
def applyOnPointArray(self, pts: arr) -> None:
|
|
1479
1576
|
...
|
|
1480
|
-
def
|
|
1577
|
+
def asArr(self) -> arr:
|
|
1481
1578
|
...
|
|
1482
|
-
def
|
|
1579
|
+
def flipSign(self) -> Quaternion:
|
|
1483
1580
|
...
|
|
1484
1581
|
def getJacobian(self) -> arr:
|
|
1485
1582
|
...
|
|
@@ -1491,11 +1588,11 @@ class Quaternion:
|
|
|
1491
1588
|
...
|
|
1492
1589
|
def getRollPitchYaw(self) -> arr:
|
|
1493
1590
|
...
|
|
1494
|
-
def invert(self) ->
|
|
1591
|
+
def invert(self) -> Quaternion:
|
|
1495
1592
|
...
|
|
1496
1593
|
def multiply(self, f: float) -> None:
|
|
1497
1594
|
...
|
|
1498
|
-
def normalize(self) ->
|
|
1595
|
+
def normalize(self) -> Quaternion:
|
|
1499
1596
|
...
|
|
1500
1597
|
def set(self, q: arr) -> Quaternion:
|
|
1501
1598
|
...
|
|
@@ -1536,11 +1633,17 @@ class RRT_PathFinder:
|
|
|
1536
1633
|
"""
|
|
1537
1634
|
only after setProblem
|
|
1538
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
|
+
"""
|
|
1539
1640
|
def setProblem(self, Configuration: Config) -> None:
|
|
1540
1641
|
...
|
|
1541
1642
|
def setStartGoal(self, starts: arr, goals: arr) -> None:
|
|
1542
1643
|
...
|
|
1543
|
-
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:
|
|
1544
1647
|
...
|
|
1545
1648
|
class ST:
|
|
1546
1649
|
"""
|
|
@@ -1803,11 +1906,13 @@ class Simulation:
|
|
|
1803
1906
|
"""
|
|
1804
1907
|
def addSensor(self, sensorName: str, width: int = 640, height: int = 360, focalLength: float = -1.0, orthoAbsHeight: float = -1.0, zRange: arr = []) -> ...:
|
|
1805
1908
|
...
|
|
1806
|
-
def attach(self,
|
|
1909
|
+
def attach(self, from: Frame, to: Frame) -> None:
|
|
1807
1910
|
...
|
|
1808
1911
|
def depthData2pointCloud(self, arg0: numpy.ndarray[numpy.float32], arg1: list[float]) -> numpy.ndarray[numpy.float64]:
|
|
1809
1912
|
...
|
|
1810
|
-
def detach(self,
|
|
1913
|
+
def detach(self, from: Frame, to: Frame) -> None:
|
|
1914
|
+
...
|
|
1915
|
+
def getFreeFrames(self) -> list[Frame]:
|
|
1811
1916
|
...
|
|
1812
1917
|
def getGripperWidth(self, gripperFrameName: str) -> float:
|
|
1813
1918
|
...
|
|
@@ -1817,7 +1922,7 @@ class Simulation:
|
|
|
1817
1922
|
...
|
|
1818
1923
|
def getState(self) -> tuple:
|
|
1819
1924
|
"""
|
|
1820
|
-
returns a
|
|
1925
|
+
returns a 5-tuple of (time, q, qDot, freePos, freeVel)
|
|
1821
1926
|
"""
|
|
1822
1927
|
def getTimeToSplineEnd(self) -> float:
|
|
1823
1928
|
...
|
|
@@ -1839,8 +1944,14 @@ class Simulation:
|
|
|
1839
1944
|
"""
|
|
1840
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)
|
|
1841
1946
|
"""
|
|
1947
|
+
def resetTime(self, time: float = 1.0) -> None:
|
|
1948
|
+
...
|
|
1842
1949
|
def selectSensor(self, sensorName: str) -> ...:
|
|
1843
1950
|
...
|
|
1951
|
+
def setSimulateDepthNoise(self, _setSimulateDepthNoise: bool) -> None:
|
|
1952
|
+
"""
|
|
1953
|
+
specify (boolean) on whether to simulate noise
|
|
1954
|
+
"""
|
|
1844
1955
|
def setSplineRef(self, path: arr, times: arr, append: bool = True) -> None:
|
|
1845
1956
|
"""
|
|
1846
1957
|
set the spline reference to generate motion
|
|
@@ -1848,9 +1959,9 @@ class Simulation:
|
|
|
1848
1959
|
* times: array with single total duration, or time for each control point (times.N==path.d0)
|
|
1849
1960
|
* append: append (with zero-velocity at append), or smoothly overwrite
|
|
1850
1961
|
"""
|
|
1851
|
-
def setState(self,
|
|
1962
|
+
def setState(self, time: float, q: arr, qDot: arr, freePos: arr, freeVel: arr) -> None:
|
|
1852
1963
|
...
|
|
1853
|
-
def step(self, u_control: arr
|
|
1964
|
+
def step(self, u_control: arr = ..., tau: float = 0.01, u_mode: ControlMode = ...) -> None:
|
|
1854
1965
|
...
|
|
1855
1966
|
class SimulationEngine:
|
|
1856
1967
|
"""
|
|
@@ -1943,25 +2054,24 @@ class SolverReturn:
|
|
|
1943
2054
|
...
|
|
1944
2055
|
def dict(self) -> dict:
|
|
1945
2056
|
...
|
|
1946
|
-
class TAMP_Provider:
|
|
1947
|
-
"""
|
|
1948
|
-
TAMP_Provider
|
|
1949
|
-
"""
|
|
1950
|
-
@staticmethod
|
|
1951
|
-
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
1952
|
-
...
|
|
1953
2057
|
def compiled() -> str:
|
|
1954
2058
|
"""
|
|
1955
2059
|
return a compile date+time version string
|
|
1956
2060
|
"""
|
|
1957
|
-
def
|
|
1958
|
-
...
|
|
1959
|
-
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:
|
|
1960
2062
|
...
|
|
1961
2063
|
def depthImage2PointCloud(depth: numpy.ndarray[numpy.float32], fxycxy: arr) -> arr:
|
|
1962
2064
|
"""
|
|
1963
2065
|
return the point cloud from the depth image
|
|
1964
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
|
+
"""
|
|
1965
2075
|
def params_add(*args, **kwargs) -> None:
|
|
1966
2076
|
"""
|
|
1967
2077
|
add/set parameters
|
|
@@ -1974,6 +2084,10 @@ def params_file(filename: str) -> None:
|
|
|
1974
2084
|
"""
|
|
1975
2085
|
add parameters from a file
|
|
1976
2086
|
"""
|
|
2087
|
+
def params_get() -> dict:
|
|
2088
|
+
"""
|
|
2089
|
+
return parameters as dict
|
|
2090
|
+
"""
|
|
1977
2091
|
def params_print() -> None:
|
|
1978
2092
|
"""
|
|
1979
2093
|
print the parameters
|
|
@@ -1982,6 +2096,14 @@ def raiPath(arg0: str) -> ...:
|
|
|
1982
2096
|
"""
|
|
1983
2097
|
get a path relative to rai base path
|
|
1984
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
|
+
"""
|
|
1985
2107
|
def setRaiPath(arg0: str) -> None:
|
|
1986
2108
|
"""
|
|
1987
2109
|
redefine the rai (or rai-robotModels) path
|
robotic/_robotic.so
CHANGED
|
Binary file
|