scikit-robot 0.4.7__tar.gz → 0.4.9__tar.gz
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.
- {scikit_robot-0.4.7/scikit_robot.egg-info → scikit_robot-0.4.9}/PKG-INFO +4 -1
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/pyproject.toml +5 -1
- {scikit_robot-0.4.7 → scikit_robot-0.4.9/scikit_robot.egg-info}/PKG-INFO +4 -1
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/scikit_robot.egg-info/SOURCES.txt +2 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/scikit_robot.egg-info/requires.txt +4 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/coordinates/base.py +2 -2
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/coordinates/math.py +1 -1
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/data/__init__.py +20 -6
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/export/usd.py +42 -11
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/interfaces/__init__.py +5 -0
- scikit_robot-0.4.9/skrobot/interfaces/_mujoco.py +1147 -0
- scikit_robot-0.4.9/skrobot/interfaces/_mujoco_scene.py +203 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/interfaces/ros/base.py +1 -1
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/interfaces/ros2/base.py +1 -1
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/model/robot_model.py +24 -8
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/models/jedy.py +11 -2
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/models/pr2.py +19 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/urdf/__init__.py +2 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/urdf/sanitize.py +44 -14
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/utils/mjcf_converter.py +44 -13
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/utils/urdf.py +13 -5
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/LICENSE +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/MANIFEST.in +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/README.md +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/scikit_robot.egg-info/dependency_links.txt +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/scikit_robot.egg-info/entry_points.txt +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/scikit_robot.egg-info/not-zip-safe +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/scikit_robot.egg-info/top_level.txt +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/setup.cfg +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/__init__.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/_lazy_imports.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/apps/__init__.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/apps/canonicalize_urdf.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/apps/change_urdf_root.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/apps/cli.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/apps/convert_urdf_mesh.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/apps/convert_urdf_to_mjcf.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/apps/convert_urdf_to_primitives.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/apps/convert_urdf_to_usd.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/apps/convert_wheel_collision.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/apps/extract_sub_urdf.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/apps/generate_robot_class.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/apps/modularize_urdf.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/apps/scale_urdf.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/apps/transform_urdf.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/apps/urdf_hash.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/apps/urdf_tree.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/apps/visualize_mesh.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/apps/visualize_urdf.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/assembly/__init__.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/assembly/module_assembly.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/assembly/module_registry.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/backend/__init__.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/backend/jax_backend.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/backend/math_utils.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/backend/numpy_backend.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/backend/registry.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/collision/__init__.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/collision/distance.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/collision/environment_collision.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/collision/geometry.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/collision/robot_collision.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/collision/self_collision.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/coordinates/__init__.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/coordinates/geo.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/data/kuka_description/kuka.urdf +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/data/kuka_description/meshes/finger_base_left.stl +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/data/kuka_description/meshes/finger_base_right.stl +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/data/kuka_description/meshes/finger_tip_left.stl +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/data/kuka_description/meshes/finger_tip_right.stl +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/data/kuka_description/meshes/link_0.mtl +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/data/kuka_description/meshes/link_0.obj +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/data/kuka_description/meshes/link_0.stl +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/data/kuka_description/meshes/link_1.mtl +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/data/kuka_description/meshes/link_1.obj +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/data/kuka_description/meshes/link_1.stl +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/data/kuka_description/meshes/link_2.mtl +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/data/kuka_description/meshes/link_2.obj +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/data/kuka_description/meshes/link_2.stl +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/data/kuka_description/meshes/link_3.mtl +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/data/kuka_description/meshes/link_3.obj +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/data/kuka_description/meshes/link_3.stl +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/data/kuka_description/meshes/link_4.mtl +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/data/kuka_description/meshes/link_4.obj +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/data/kuka_description/meshes/link_4.stl +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/data/kuka_description/meshes/link_5.mtl +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/data/kuka_description/meshes/link_5.obj +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/data/kuka_description/meshes/link_5.stl +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/data/kuka_description/meshes/link_6.mtl +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/data/kuka_description/meshes/link_6.obj +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/data/kuka_description/meshes/link_6.stl +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/data/kuka_description/meshes/link_7.mtl +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/data/kuka_description/meshes/link_7.obj +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/data/kuka_description/meshes/link_7.stl +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/data/robot_descriptions/urdf/r8_6.urdf +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/data/ros_config_templates/CMakeLists.txt.ros2.template +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/data/ros_config_templates/gazebo.launch.py.template +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/data/ros_config_templates/gazebo_moveit.launch.py.template +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/data/ros_config_templates/isaac_fjt_server.py.template +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/data/ros_config_templates/moveit.rviz.template +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/data/ros_config_templates/package.xml.ros2.template +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/data/ros_config_templates/ros2_control.xacro.joint.template +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/data/ros_config_templates/ros2_control.xacro.template +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/data/ros_config_templates/setup_assistant.template +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/dynamics/__init__.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/dynamics/differentiable.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/dynamics/gravity.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/export/__init__.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/export/contact_links.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/export/isaac/__init__.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/export/isaac/fjt_server.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/export/task.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/interfaces/_pybullet.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/interfaces/ros/__init__.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/interfaces/ros/move_base.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/interfaces/ros/nextage.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/interfaces/ros/panda.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/interfaces/ros/pr2.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/interfaces/ros/tf_utils.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/interfaces/ros/transform_listener.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/interfaces/ros2/__init__.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/interfaces/ros2/gripper.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/interfaces/ros2/panda.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/kinematics/__init__.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/kinematics/_base_placement_jax.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/kinematics/base_placement.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/kinematics/differentiable.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/kinematics/inverse_reachability_map.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/kinematics/loop_closure.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/kinematics/reachability_map.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/model/__init__.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/model/joint.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/model/joint_limit_table.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/model/link.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/model/primitives.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/model/skeleton.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/models/__init__.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/models/aero.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/models/differential_wrist_sample.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/models/fetch.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/models/g1.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/models/griphis.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/models/hydrus.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/models/jaxon_jvrc.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/models/kuka.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/models/nextage.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/models/panda.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/models/r8_6.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/models/tycoon.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/models/urdf.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/planner/__init__.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/planner/collision_checker.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/planner/inverse_kinematics_optimization.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/planner/sqp_based.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/planner/swept_sphere.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/planner/trajectory_optimization/__init__.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/planner/trajectory_optimization/collision.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/planner/trajectory_optimization/fk_utils.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/planner/trajectory_optimization/gridsdf_collision.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/planner/trajectory_optimization/problem.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/planner/trajectory_optimization/residuals.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/planner/trajectory_optimization/solvers/__init__.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/planner/trajectory_optimization/solvers/augmented_lagrangian.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/planner/trajectory_optimization/solvers/base.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/planner/trajectory_optimization/solvers/gradient_descent.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/planner/trajectory_optimization/solvers/jaxls_solver.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/planner/trajectory_optimization/solvers/scipy_solver.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/planner/trajectory_optimization/solvers/solver_utils.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/planner/trajectory_optimization/trajectory.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/planner/trajectory_optimization/world_surface_collision.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/planner/utils.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/pycompat.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/sdf/__init__.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/sdf/signed_distance_function.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/urdf/aggregate.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/urdf/canonicalize.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/urdf/compare.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/urdf/extract_sub_urdf.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/urdf/flip_axis.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/urdf/hash.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/urdf/link_origins.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/urdf/llm_grouping.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/urdf/merge_fixed_links.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/urdf/modularize_urdf.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/urdf/primitives_converter.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/urdf/robot_class_generator.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/urdf/ros_config/__init__.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/urdf/ros_config/export.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/urdf/ros_config/gazebo_generator.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/urdf/ros_config/moveit_generator.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/urdf/ros_config/moveit_package.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/urdf/ros_config/urdf_parser.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/urdf/ros_package.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/urdf/ros_package_exporter.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/urdf/scale_urdf.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/urdf/structure.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/urdf/transform_urdf.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/urdf/wheel_collision_converter.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/urdf/xml_root_link_changer.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/utils/__init__.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/utils/_blender_decimate_core.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/utils/_blender_remesh_core.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/utils/archive.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/utils/blender_mesh.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/utils/checksum.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/utils/convex_decomposition.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/utils/draco.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/utils/inertia.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/utils/listify.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/utils/mesh.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/utils/package.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/utils/primitive_fitting.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/utils/urdf_mesh.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/utils/video.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/utils/visualization.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/viewers/__init__.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/viewers/_base.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/viewers/_manipulability_ellipse.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/viewers/_mitsuba.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/viewers/_notebook.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/viewers/_offscreen.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/viewers/_path_utils.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/viewers/_pyrender.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/viewers/_trimesh.py +0 -0
- {scikit_robot-0.4.7 → scikit_robot-0.4.9}/skrobot/viewers/_viser.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: scikit-robot
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.9
|
|
4
4
|
Summary: A Flexible Framework for Robot Control in Python
|
|
5
5
|
Author-email: iory <ab.ioryz@gmail.com>
|
|
6
6
|
License: MIT
|
|
@@ -48,6 +48,8 @@ Provides-Extra: usd
|
|
|
48
48
|
Requires-Dist: usd-core; extra == "usd"
|
|
49
49
|
Provides-Extra: collision
|
|
50
50
|
Requires-Dist: python-fcl; extra == "collision"
|
|
51
|
+
Provides-Extra: mujoco
|
|
52
|
+
Requires-Dist: mujoco; extra == "mujoco"
|
|
51
53
|
Provides-Extra: all
|
|
52
54
|
Requires-Dist: pybullet>=2.1.9; extra == "all"
|
|
53
55
|
Requires-Dist: open3d; python_version < "3.13" and extra == "all"
|
|
@@ -59,6 +61,7 @@ Requires-Dist: jax; extra == "all"
|
|
|
59
61
|
Requires-Dist: jaxlib; extra == "all"
|
|
60
62
|
Requires-Dist: jaxlie; extra == "all"
|
|
61
63
|
Requires-Dist: python-fcl; extra == "all"
|
|
64
|
+
Requires-Dist: mujoco; extra == "all"
|
|
62
65
|
Requires-Dist: mitsuba; extra == "all"
|
|
63
66
|
Requires-Dist: matplotlib; extra == "all"
|
|
64
67
|
Requires-Dist: imageio; extra == "all"
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "scikit-robot"
|
|
7
|
-
version = "0.4.
|
|
7
|
+
version = "0.4.9"
|
|
8
8
|
description = "A Flexible Framework for Robot Control in Python"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = {text = "MIT"}
|
|
@@ -78,6 +78,9 @@ usd = ["usd-core"]
|
|
|
78
78
|
# pip install "git+https://github.com/brentyi/jaxls.git"
|
|
79
79
|
# and skrobot.planner.trajectory_optimization says so when it is missing.
|
|
80
80
|
collision = ["python-fcl"]
|
|
81
|
+
# MuJoCo simulation behind skrobot.interfaces.MujocoRobotInterface, which
|
|
82
|
+
# raises with this install line in the message when the package is missing.
|
|
83
|
+
mujoco = ["mujoco"]
|
|
81
84
|
all = [
|
|
82
85
|
"pybullet>=2.1.9",
|
|
83
86
|
# open3d has no wheels for Python 3.13 yet
|
|
@@ -90,6 +93,7 @@ all = [
|
|
|
90
93
|
"jaxlib",
|
|
91
94
|
"jaxlie",
|
|
92
95
|
"python-fcl",
|
|
96
|
+
"mujoco",
|
|
93
97
|
# mitsuba powers the headless MitsubaViewer
|
|
94
98
|
"mitsuba",
|
|
95
99
|
# matplotlib backs MitsubaViewer.show()/pause() (the interactive window)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: scikit-robot
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.9
|
|
4
4
|
Summary: A Flexible Framework for Robot Control in Python
|
|
5
5
|
Author-email: iory <ab.ioryz@gmail.com>
|
|
6
6
|
License: MIT
|
|
@@ -48,6 +48,8 @@ Provides-Extra: usd
|
|
|
48
48
|
Requires-Dist: usd-core; extra == "usd"
|
|
49
49
|
Provides-Extra: collision
|
|
50
50
|
Requires-Dist: python-fcl; extra == "collision"
|
|
51
|
+
Provides-Extra: mujoco
|
|
52
|
+
Requires-Dist: mujoco; extra == "mujoco"
|
|
51
53
|
Provides-Extra: all
|
|
52
54
|
Requires-Dist: pybullet>=2.1.9; extra == "all"
|
|
53
55
|
Requires-Dist: open3d; python_version < "3.13" and extra == "all"
|
|
@@ -59,6 +61,7 @@ Requires-Dist: jax; extra == "all"
|
|
|
59
61
|
Requires-Dist: jaxlib; extra == "all"
|
|
60
62
|
Requires-Dist: jaxlie; extra == "all"
|
|
61
63
|
Requires-Dist: python-fcl; extra == "all"
|
|
64
|
+
Requires-Dist: mujoco; extra == "all"
|
|
62
65
|
Requires-Dist: mitsuba; extra == "all"
|
|
63
66
|
Requires-Dist: matplotlib; extra == "all"
|
|
64
67
|
Requires-Dist: imageio; extra == "all"
|
|
@@ -98,6 +98,8 @@ skrobot/export/usd.py
|
|
|
98
98
|
skrobot/export/isaac/__init__.py
|
|
99
99
|
skrobot/export/isaac/fjt_server.py
|
|
100
100
|
skrobot/interfaces/__init__.py
|
|
101
|
+
skrobot/interfaces/_mujoco.py
|
|
102
|
+
skrobot/interfaces/_mujoco_scene.py
|
|
101
103
|
skrobot/interfaces/_pybullet.py
|
|
102
104
|
skrobot/interfaces/ros/__init__.py
|
|
103
105
|
skrobot/interfaces/ros/base.py
|
|
@@ -36,7 +36,7 @@ def transform_coords(c1, c2, out=None):
|
|
|
36
36
|
c1 : skrobot.coordinates.Coordinates
|
|
37
37
|
c2 : skrobot.coordinates.Coordinates
|
|
38
38
|
Coordinates
|
|
39
|
-
|
|
39
|
+
out : skrobot.coordinates.Coordinates or None
|
|
40
40
|
Output argument. If this value is specified, the results will be
|
|
41
41
|
in-placed.
|
|
42
42
|
|
|
@@ -90,7 +90,7 @@ class Transform(object):
|
|
|
90
90
|
----------
|
|
91
91
|
translation : list(3,) or numpy.ndarray(3,)
|
|
92
92
|
translation
|
|
93
|
-
|
|
93
|
+
rotation : numpy.ndarray(3, 3)
|
|
94
94
|
3x3 rotation matrix
|
|
95
95
|
"""
|
|
96
96
|
|
|
@@ -1482,7 +1482,7 @@ def quaternion2matrix(q, normalize=False):
|
|
|
1482
1482
|
|
|
1483
1483
|
Parameters
|
|
1484
1484
|
----------
|
|
1485
|
-
|
|
1485
|
+
q : list or numpy.ndarray
|
|
1486
1486
|
quaternion [w, x, y, z] order
|
|
1487
1487
|
normalize : bool
|
|
1488
1488
|
if normalize is True, input quaternion is normalized.
|
|
@@ -231,15 +231,29 @@ def g1_urdfpath(dof=23):
|
|
|
231
231
|
return path
|
|
232
232
|
|
|
233
233
|
|
|
234
|
-
def jedy_urdfpath():
|
|
235
|
-
path
|
|
236
|
-
|
|
234
|
+
def jedy_urdfpath(light=False):
|
|
235
|
+
"""Return the path to the Jedy URDF.
|
|
236
|
+
|
|
237
|
+
Parameters
|
|
238
|
+
----------
|
|
239
|
+
light : bool
|
|
240
|
+
If True, return the light model: circuit boards and parts under
|
|
241
|
+
1 cm are dropped and the other meshes simplified within 0.5 mm
|
|
242
|
+
(about 110,000 faces instead of 700,000), for simulators and
|
|
243
|
+
browsers. Joints, links and collision geometry are the same.
|
|
244
|
+
"""
|
|
245
|
+
if light:
|
|
246
|
+
name, md5 = ('jedy_light_description',
|
|
247
|
+
'c11a5d5e30b69c8c248935ee489fd8e0')
|
|
248
|
+
else:
|
|
249
|
+
name, md5 = 'jedy_description', '620dd412c96ed492e4c2f224c36ab798'
|
|
250
|
+
path = osp.join(get_cache_dir(), name, 'urdf', 'jedy.urdf')
|
|
237
251
|
if osp.exists(path):
|
|
238
252
|
return path
|
|
239
253
|
_retrieve(
|
|
240
|
-
url='https://github.com/iory/scikit-robot-models/raw/main/
|
|
241
|
-
fname='
|
|
242
|
-
md5=
|
|
254
|
+
url='https://github.com/iory/scikit-robot-models/raw/main/{}.tar.gz'.format(name), # NOQA
|
|
255
|
+
fname='{}.tar.gz'.format(name),
|
|
256
|
+
md5=md5,
|
|
243
257
|
extract=True,
|
|
244
258
|
)
|
|
245
259
|
return path
|
|
@@ -19,11 +19,13 @@ USD on a laptop, load it in Isaac Sim on a GPU box. Entry point: :func:`urdf_to_
|
|
|
19
19
|
|
|
20
20
|
from __future__ import annotations
|
|
21
21
|
|
|
22
|
+
import os
|
|
22
23
|
import warnings
|
|
23
24
|
|
|
24
25
|
import numpy as np
|
|
25
26
|
|
|
26
27
|
from skrobot.urdf.sanitize import sanitize_name
|
|
28
|
+
from skrobot.urdf.sanitize import unique_sanitized_names
|
|
27
29
|
from skrobot.utils.convex_decomposition import convex_decomposition
|
|
28
30
|
from skrobot.utils.convex_decomposition import is_coacd_available
|
|
29
31
|
|
|
@@ -34,6 +36,12 @@ from skrobot.utils.convex_decomposition import is_coacd_available
|
|
|
34
36
|
_MASSLESS_FLOOR_KG = 1e-5
|
|
35
37
|
_MASSLESS_INERTIA_FLOOR = 1e-6
|
|
36
38
|
|
|
39
|
+
# Prims urdf_to_usd adds itself: the planar mobile base's dummy links under
|
|
40
|
+
# /robot and the base joints under /robot/joints.
|
|
41
|
+
_PLANAR_BASE_LINKS = ("base_anchor", "base_planar_x", "base_planar_y")
|
|
42
|
+
_BASE_JOINTS = ("base_anchor_fixed", "base_fixed", "base_x_joint",
|
|
43
|
+
"base_y_joint", "base_yaw_joint")
|
|
44
|
+
|
|
37
45
|
# decompose_links=True auto-decomposes a link only when its single convex hull
|
|
38
46
|
# is at least this many times the true mesh volume, i.e. the link is measurably
|
|
39
47
|
# concave. Near-convex links (ratio ~1) keep the cheap single hull.
|
|
@@ -529,6 +537,17 @@ def urdf_to_usd(urdf, out_path, floating_base=False, drive_stiffness=1000.0,
|
|
|
529
537
|
"physxArticulation:enabledSelfCollisions", Sdf.ValueTypeNames.Bool
|
|
530
538
|
).Set(bool(self_collision))
|
|
531
539
|
|
|
540
|
+
# Prim names: sanitize_name maps distinct URDF names (``a.b``, ``a_b``) to
|
|
541
|
+
# the same prim, which would silently merge two links (or joints) into
|
|
542
|
+
# one; the names under /robot that are not links are kept free too.
|
|
543
|
+
planar = mobile_base and not floating_base
|
|
544
|
+
link_prim = unique_sanitized_names(
|
|
545
|
+
[link.name for link in urdf.links],
|
|
546
|
+
reserved=("joints", _LOOKS_PATH.rsplit("/", 1)[-1])
|
|
547
|
+
+ (_PLANAR_BASE_LINKS if planar else ()))
|
|
548
|
+
joint_prim = unique_sanitized_names(
|
|
549
|
+
[joint.name for joint in urdf.joints], reserved=_BASE_JOINTS)
|
|
550
|
+
|
|
532
551
|
link_path = {}
|
|
533
552
|
if decompose_links and decompose_links is not True:
|
|
534
553
|
link_names = [link.name for link in urdf.links]
|
|
@@ -553,7 +572,7 @@ def urdf_to_usd(urdf, out_path, floating_base=False, drive_stiffness=1000.0,
|
|
|
553
572
|
RuntimeWarning, stacklevel=2)
|
|
554
573
|
|
|
555
574
|
for link in urdf.links:
|
|
556
|
-
path = Sdf.Path("/robot/" +
|
|
575
|
+
path = Sdf.Path("/robot/" + link_prim[link.name])
|
|
557
576
|
link_path[link.name] = path
|
|
558
577
|
xf = UsdGeom.Xform.Define(stage, path)
|
|
559
578
|
xf.AddTransformOp().Set(_mat_to_gf(None, world.get(link.name, np.eye(4))))
|
|
@@ -624,7 +643,7 @@ def urdf_to_usd(urdf, out_path, floating_base=False, drive_stiffness=1000.0,
|
|
|
624
643
|
# all three planar joints are INTERNAL (a prismatic/revolute joint whose
|
|
625
644
|
# body0 is the world is the articulation's root joint, which PhysX does
|
|
626
645
|
# not expose as a controllable/reported DOF -- so the anchor is required).
|
|
627
|
-
for dummy in
|
|
646
|
+
for dummy in _PLANAR_BASE_LINKS:
|
|
628
647
|
dpath = Sdf.Path("/robot/" + dummy)
|
|
629
648
|
dxf = UsdGeom.Xform.Define(stage, dpath)
|
|
630
649
|
dxf.AddTransformOp().Set(_mat_to_gf(None, np.eye(4)))
|
|
@@ -670,8 +689,8 @@ def urdf_to_usd(urdf, out_path, floating_base=False, drive_stiffness=1000.0,
|
|
|
670
689
|
|
|
671
690
|
for joint in urdf.joints:
|
|
672
691
|
stiff, damp = joint_gain.get(joint.name, (drive_stiffness, drive_damping))
|
|
673
|
-
_emit_joint(stage, UsdPhysics, Gf, Sdf, joint,
|
|
674
|
-
stiff, damp,
|
|
692
|
+
_emit_joint(stage, UsdPhysics, Gf, Sdf, joint, joint_prim[joint.name],
|
|
693
|
+
link_path, stiff, damp,
|
|
675
694
|
float(home_positions.get(joint.name, 0.0)),
|
|
676
695
|
armature=armature)
|
|
677
696
|
|
|
@@ -679,6 +698,13 @@ def urdf_to_usd(urdf, out_path, floating_base=False, drive_stiffness=1000.0,
|
|
|
679
698
|
return stage
|
|
680
699
|
|
|
681
700
|
|
|
701
|
+
def _is_gltf(mesh_geometry):
|
|
702
|
+
"""Whether a URDF Mesh geometry was loaded from a glTF file (.glb/.gltf),
|
|
703
|
+
whose colours are linear rather than sRGB."""
|
|
704
|
+
filename = getattr(mesh_geometry, "filename", None) or ""
|
|
705
|
+
return os.path.splitext(str(filename))[1].lower() in (".glb", ".gltf")
|
|
706
|
+
|
|
707
|
+
|
|
682
708
|
def _srgb_to_linear(c):
|
|
683
709
|
"""sRGB channel (0..1) -> linear. USD displayColor is a linear albedo."""
|
|
684
710
|
c = float(c)
|
|
@@ -861,6 +887,7 @@ def _emit_one(stage, UsdGeom, UsdPhysics, Gf, Vt, link_path, vc, index, collisio
|
|
|
861
887
|
return
|
|
862
888
|
|
|
863
889
|
submeshes = list(_submesh_geometry(geom.mesh))
|
|
890
|
+
gltf = _is_gltf(geom.mesh)
|
|
864
891
|
|
|
865
892
|
if collision:
|
|
866
893
|
# ONE convex hull per collision element. PhysX's convex cooker only uses
|
|
@@ -956,11 +983,15 @@ def _emit_one(stage, UsdGeom, UsdPhysics, Gf, Vt, link_path, vc, index, collisio
|
|
|
956
983
|
dc.Set(Vt.Vec3fArray([Gf.Vec3f(*urdf_rgb)]))
|
|
957
984
|
lin = np.asarray([urdf_rgb], dtype=float)
|
|
958
985
|
elif rgb is not None:
|
|
959
|
-
#
|
|
960
|
-
# so they
|
|
986
|
+
# COLLADA diffuse and OBJ Kd are sRGB display colours like the URDF
|
|
987
|
+
# ones, so they are linearised the same way. glTF's baseColorFactor
|
|
988
|
+
# and COLOR_0 are linear already (glTF 2.0 spec, "baseColorFactor":
|
|
989
|
+
# "linear multipliers"; "COLOR_n": "vertex color linear multiplier")
|
|
990
|
+
# and are taken as they are.
|
|
961
991
|
lin = np.asarray(rgb, dtype=float)
|
|
962
|
-
|
|
963
|
-
|
|
992
|
+
if not gltf:
|
|
993
|
+
lin = np.where(lin <= 0.04045, lin / 12.92,
|
|
994
|
+
((lin + 0.055) / 1.055) ** 2.4)
|
|
964
995
|
dc = mesh.CreateDisplayColorPrimvar(
|
|
965
996
|
UsdGeom.Tokens.vertex if len(rgb) == len(pts)
|
|
966
997
|
else UsdGeom.Tokens.constant)
|
|
@@ -1069,12 +1100,12 @@ def _preview_surface(stage, diffuse_rgb, pbr, texture=None):
|
|
|
1069
1100
|
return material
|
|
1070
1101
|
|
|
1071
1102
|
|
|
1072
|
-
def _emit_joint(stage, UsdPhysics, Gf, Sdf, joint,
|
|
1073
|
-
home=0.0, armature=0.0):
|
|
1103
|
+
def _emit_joint(stage, UsdPhysics, Gf, Sdf, joint, prim_name, link_path,
|
|
1104
|
+
stiffness, damping, home=0.0, armature=0.0):
|
|
1074
1105
|
if joint.parent not in link_path or joint.child not in link_path:
|
|
1075
1106
|
return
|
|
1076
1107
|
jtype = joint.joint_type
|
|
1077
|
-
jpath = Sdf.Path("/robot/joints/" +
|
|
1108
|
+
jpath = Sdf.Path("/robot/joints/" + prim_name)
|
|
1078
1109
|
origin = np.asarray(joint.origin, dtype=float)
|
|
1079
1110
|
pos0 = origin[:3, 3]
|
|
1080
1111
|
align = _align_z_to(getattr(joint, "axis", [0, 0, 1]))
|
|
@@ -25,6 +25,11 @@ pybullet = LazyPybulletModule()
|
|
|
25
25
|
def __getattr__(name):
|
|
26
26
|
if name == 'PybulletRobotInterface':
|
|
27
27
|
return pybullet.PybulletRobotInterface
|
|
28
|
+
elif name == 'MujocoRobotInterface':
|
|
29
|
+
# mujoco itself is imported when the interface is constructed, so
|
|
30
|
+
# this import never fails for want of it.
|
|
31
|
+
return importlib.import_module(
|
|
32
|
+
'skrobot.interfaces._mujoco').MujocoRobotInterface
|
|
28
33
|
elif name == '_pybullet':
|
|
29
34
|
# Force lazy loading - only import when explicitly requested
|
|
30
35
|
if pybullet._module is None:
|