griip-sdk-dev 0.6.0.dev25682__tar.gz → 0.6.0.dev25932__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.
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/.coverage +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/PKG-INFO +25 -17
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/README.md +22 -14
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/pyproject.toml +3 -3
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/calibration/app.py +6 -9
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/calibration/hand_eye_calib/main.py +11 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/calibration/tests/test_calibration_app.py +4 -5
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/calibration/tests/test_hand_eye_calibration_service.py +24 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/cell/config.py +4 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/cell/recipes.py +13 -10
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/cell/tests/test_recipes.py +21 -5
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/orchestration/grasp_provider.py +15 -11
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/orchestration/tests/test_grasp_provider.py +23 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/docs/griip-sdk-consumer-improvements.md +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/project.json +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/__init__.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682/src/griip_sdk/tests → griip_sdk_dev-0.6.0.dev25932/src/griip_sdk/calibration}/__init__.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/calibration/apriltag_pose.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/calibration/camera_factory.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/calibration/cartesian_pose.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/calibration/config_store.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/calibration/external_robot.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/calibration/hand_eye_calib/README.md +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/calibration/hand_eye_calib/__init__.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/calibration/hand_eye_calib/config/routine.yaml +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/calibration/hand_eye_calib/core.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/calibration/hand_eye_calib/planning.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/calibration/hand_eye_calib/routines.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/calibration/hand_eye_calib/run_hand_eye_calibration.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/calibration/hand_eye_calib/transforms.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/calibration/mqtt_publisher.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/calibration/mqtt_topics.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/calibration/routines.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/calibration/scanning/__init__.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/calibration/scanning/environment_scanning.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/calibration/scanning/run_environment_scanning.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682/src/griip_sdk/prototyping → griip_sdk_dev-0.6.0.dev25932/src/griip_sdk/calibration/tests}/__init__.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/calibration/tests/conftest.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/calibration/tests/test_camera_factory.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/calibration/tests/test_environment_scanning.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/calibration/tests/test_external_robot.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/calibration/tests/test_hand_eye_helpers.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/calibration/tests/test_transforms.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/calibration/types.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/calibration/units.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/cell/__init__.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/cell/builders.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/cell/end_effector_collision_model.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/cell/initialize.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/cell/loader.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/cell/mock_builders.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/cell/parts.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682/src/griip_sdk/orchestration → griip_sdk_dev-0.6.0.dev25932/src/griip_sdk/cell}/tests/__init__.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/cell/tests/conftest.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/cell/tests/test_builders.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/cell/tests/test_end_effector_collision_model.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/cell/tests/test_initialize.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/cell/tests/test_loader.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/cell/tests/test_mock_cell_smoke.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/cell/tests/test_parts.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/cell/tests/test_recording_config.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/errors.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682/src/griip_sdk/orchestration/execution/tests → griip_sdk_dev-0.6.0.dev25932/src/griip_sdk/grpc_adapters}/__init__.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/grpc_adapters/servicer_as_stub.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682/src/griip_sdk/modeling/tests → griip_sdk_dev-0.6.0.dev25932/src/griip_sdk/hardware}/__init__.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/hardware/bin_shaker.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/hardware/camera.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/hardware/fanuc_robot_client.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/hardware/ft_sensor.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/hardware/gripper.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/hardware/grpc_vision_backend.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/hardware/io_client.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/hardware/joint_conventions.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/hardware/mmai_vision_backend.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682/src/griip_sdk/modeling → griip_sdk_dev-0.6.0.dev25932/src/griip_sdk/hardware/mocks}/__init__.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/hardware/mocks/camera_mock.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/hardware/mocks/gripper_client_mock.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/hardware/mocks/io_client_mock.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/hardware/mocks/robot_client_mock.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/hardware/onrobot_3fg15_gripper.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/hardware/robot_client.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/hardware/robot_interface.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/hardware/robotiq_2f140_gripper.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/hardware/sim_gripper.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/hardware/sim_hand_eye.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/hardware/sim_robot_client.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/hardware/suction_gripper.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/hardware/tests/__init__.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/hardware/tests/conftest.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/hardware/tests/test_call_with_timeout.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/hardware/tests/test_command_state_fanout.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/hardware/tests/test_gripper_command_listeners.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/hardware/tests/test_grpc_vision_backend.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/hardware/tests/test_joint_conventions.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/hardware/tests/test_mmai_vision_backend.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/hardware/tests/test_reset_to_normal.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/hardware/tests/test_robot_client_base.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/hardware/tests/test_robot_client_lifecycle.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/hardware/tests/test_robot_feedback_fanout.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/hardware/tests/test_robotiq_2f140_gripper.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/hardware/tests/test_robotiq_gripper_bus_lock.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/hardware/tests/test_sim_gripper.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/hardware/tests/test_sim_hand_eye.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/hardware/tests/test_sim_robot_client.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/hardware/tests/test_suction_gripper.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/hardware/tests/test_tower_light.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/hardware/tests/test_vision_codec.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/hardware/tests/test_vrmcs_tcp_guard.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/hardware/torquing_client.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/hardware/tower_light.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/hardware/ur_robot_client.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/hardware/vision_backend.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/hardware/vision_codec.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/log_utils.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682/src/griip_sdk/hardware/mocks → griip_sdk_dev-0.6.0.dev25932/src/griip_sdk/modeling}/__init__.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/modeling/sphere_generation_tool/README.md +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/modeling/sphere_generation_tool/__init__.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/modeling/sphere_generation_tool/__main__.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/modeling/sphere_generation_tool/_actors.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/modeling/sphere_generation_tool/_geometry.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/modeling/sphere_generation_tool/editor.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/modeling/sphere_generation_tool/object_io.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/modeling/sphere_generation_tool/urdf_io.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682/src/griip_sdk/hardware → griip_sdk_dev-0.6.0.dev25932/src/griip_sdk/modeling/tests}/__init__.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/modeling/tests/conftest.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/modeling/tests/test_editor_math.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/modeling/tests/test_editor_smoke.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/modeling/tests/test_mesh_loading.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/modeling/tests/test_object_io.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/modeling/tests/test_urdf_io.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/orchestration/__init__.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/orchestration/bin_cuboid_extraction.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/orchestration/bin_picking_manager.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/orchestration/bin_state.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/orchestration/callbacks.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/orchestration/cycle_pause_gate.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/orchestration/errors.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/orchestration/execution/__init__.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/orchestration/execution/grasp_executor.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/orchestration/execution/parallel_jaw_executor.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/orchestration/execution/suction_executor.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682/src/griip_sdk/grpc_adapters → griip_sdk_dev-0.6.0.dev25932/src/griip_sdk/orchestration/execution/tests}/__init__.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/orchestration/execution/tests/test_parallel_jaw_executor.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/orchestration/execution/three_finger_executor.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/orchestration/grasp_queue.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/orchestration/part_setup.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/orchestration/perception_inputs.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/orchestration/pick_and_place_manager.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/orchestration/pick_generator.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/orchestration/placement_planner.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/orchestration/planning.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/orchestration/proto_conversions.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/orchestration/roi_scheduler.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/orchestration/scoop_executor.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682/src/griip_sdk/cell → griip_sdk_dev-0.6.0.dev25932/src/griip_sdk/orchestration}/tests/__init__.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/orchestration/tests/conftest.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/orchestration/tests/test_bin_picking_manager.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/orchestration/tests/test_bin_state.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/orchestration/tests/test_cycle_pause_gate.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/orchestration/tests/test_part_setup.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/orchestration/tests/test_perception_inputs.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/orchestration/tests/test_phase_collision_spheres.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/orchestration/tests/test_pick_and_place_manager.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/orchestration/tests/test_pick_generator.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/orchestration/tests/test_placement_planner.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/orchestration/tests/test_planning.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/orchestration/tests/test_proto_conversions.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/orchestration/tests/test_scoop_executor.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/orchestration/tests/test_trajectory_store.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/orchestration/trajectory_store.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/orchestration/types.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682/src/griip_sdk/calibration/tests → griip_sdk_dev-0.6.0.dev25932/src/griip_sdk/prototyping}/__init__.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/prototyping/config/__init__.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/prototyping/config/registry.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/prototyping/in_process_api.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/prototyping/read_tcp.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/prototyping/run_environment_scanning.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/prototyping/run_hand_eye_calibration.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/prototyping/run_linear_shuttle.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/recording/__init__.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/recording/foxglove_events.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/recording/foxglove_joint_states.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/recording/gripper_state_logger.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/recording/gripper_state_mcap_recording.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/recording/h264_video_logger.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/recording/h264_video_mcap_recording.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/recording/kpi_logger.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/recording/kpi_mcap_recording.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/recording/kpi_timer.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/recording/mcap_recording.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/recording/memory_utils.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/recording/robot_state_logger.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/recording/rotating_mcap_writer.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/recording/tests/test_foxglove_event_publisher.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/recording/tests/test_foxglove_joint_states.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/recording/tests/test_kpi_timer.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/recording/tests/test_mcap_foxglove_event_publisher.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/recording/tests/test_mcap_gripper_state_logger.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/recording/tests/test_mcap_h264_video_logger.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/recording/tests/test_mcap_kpi_logger.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/recording/tests/test_mcap_robot_state_logger.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/recording/tests/test_session.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682/src/griip_sdk/calibration → griip_sdk_dev-0.6.0.dev25932/src/griip_sdk/tests}/__init__.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/tests/test_log_utils.py +0 -0
- {griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/tests/test_servicer_as_stub.py +0 -0
|
Binary file
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: griip-sdk-dev
|
|
3
|
-
Version: 0.6.0.
|
|
4
|
-
Summary: Dev build of griip-sdk from commit
|
|
3
|
+
Version: 0.6.0.dev25932
|
|
4
|
+
Summary: Dev build of griip-sdk from commit 0e470e618 (PR #6192). Not a release.
|
|
5
5
|
Author: VentionCo
|
|
6
6
|
License: Proprietary
|
|
7
7
|
Requires-Python: <3.13,>=3.10
|
|
8
8
|
Requires-Dist: defusedxml<0.8.0,>=0.7.1
|
|
9
9
|
Requires-Dist: fastapi[standard]>=0.121.1
|
|
10
10
|
Requires-Dist: foxglove-schemas-protobuf
|
|
11
|
-
Requires-Dist: griip-core-dev==0.5.6.
|
|
11
|
+
Requires-Dist: griip-core-dev==0.5.6.dev25932
|
|
12
12
|
Requires-Dist: grpcio>=1.78.0
|
|
13
13
|
Requires-Dist: httpx[http2]<0.29.0,>=0.28.1
|
|
14
14
|
Requires-Dist: mcap-protobuf-support<1.0,>=0.4.0
|
|
@@ -309,8 +309,8 @@ with build_grasp_provider("pick.yaml", part_id="smallest_splice", robot=MyRmiRob
|
|
|
309
309
|
sdk.process("right") # start perception on the "right" picture; it runs during the steps below
|
|
310
310
|
picked_left = target is not None
|
|
311
311
|
if picked_left:
|
|
312
|
-
|
|
313
|
-
move_linear(target.grasp_pose_mm_deg) # straight in along the tool Z
|
|
312
|
+
move_to(target.approach_pose_mm_deg) # your motion to the approach ([x, y, z, w, p, r], mm/deg)
|
|
313
|
+
move_linear(target.grasp_pose_mm_deg) # straight in along the tool Z
|
|
314
314
|
close_gripper()
|
|
315
315
|
move_linear(target.approach_pose_mm_deg) # straight back out
|
|
316
316
|
sdk.capture("left") # new picture of the left pallet for the next round, taken now
|
|
@@ -322,7 +322,7 @@ with build_grasp_provider("pick.yaml", part_id="smallest_splice", robot=MyRmiRob
|
|
|
322
322
|
sdk.process("left") # start perception on the new "left" picture; runs while we pick right
|
|
323
323
|
picked_right = target is not None
|
|
324
324
|
if picked_right:
|
|
325
|
-
|
|
325
|
+
move_to(target.approach_pose_mm_deg)
|
|
326
326
|
move_linear(target.grasp_pose_mm_deg)
|
|
327
327
|
close_gripper()
|
|
328
328
|
move_linear(target.approach_pose_mm_deg)
|
|
@@ -363,7 +363,8 @@ Each `GraspTarget` answers what a motion-owning app needs to know:
|
|
|
363
363
|
scoop can end past the grasp point, so never move to it without a force stop.
|
|
364
364
|
- `approach_joint_angles` / `grasp_joint_angles` are your robot's IK solutions
|
|
365
365
|
when it checked the grasp (see below).
|
|
366
|
-
- `approach_trajectory`
|
|
366
|
+
- `approach_trajectory` (only with `planning.plan_approach_paths: true`, see
|
|
367
|
+
below; otherwise None) is a collision-free joint path to the approach: VAMP
|
|
367
368
|
checks the arm plus the gripper and camera spheres against the cell cuboids.
|
|
368
369
|
Run it as joint moves with no blending (FINE): only the straight joint-space
|
|
369
370
|
segments between waypoints are checked, and blending cuts corners nobody
|
|
@@ -401,10 +402,17 @@ no connection of its own.
|
|
|
401
402
|
```yaml
|
|
402
403
|
robot:
|
|
403
404
|
driver: external
|
|
404
|
-
model: crx25ia # a robot in
|
|
405
|
+
model: crx25ia # a robot in mmai-griip-api's vamp-planner (planning and calibration)
|
|
405
406
|
joint_convention: fanuc # joints in and out as the pendant shows them
|
|
407
|
+
planning:
|
|
408
|
+
plan_approach_paths: false # true: each target also gets a collision-free approach_trajectory
|
|
406
409
|
```
|
|
407
410
|
|
|
411
|
+
By default you get targets your IK can reach and move there your own way.
|
|
412
|
+
Turn on `plan_approach_paths` and each target also carries a collision-free
|
|
413
|
+
path to its approach, planned by VAMP in mmai-griip-api; nothing is installed
|
|
414
|
+
on your side either way.
|
|
415
|
+
|
|
408
416
|
```python
|
|
409
417
|
class MyRmiRobot:
|
|
410
418
|
def __init__(self, rmi):
|
|
@@ -434,9 +442,9 @@ with build_grasp_provider("pick.yaml", part_id="smallest_splice", robot=MyRmiRob
|
|
|
434
442
|
calls them between moves. Call them while the arm moves and they need the
|
|
435
443
|
app's robot lock.
|
|
436
444
|
- **Calls per `next_target`.** One `get_joint_angles`, then two
|
|
437
|
-
`inverse_kinematics` for the grasp it returns (approach, then grasp),
|
|
438
|
-
one path plan on the server (no robot call). Each
|
|
439
|
-
or two IK calls and at most one plan.
|
|
445
|
+
`inverse_kinematics` for the grasp it returns (approach, then grasp), plus
|
|
446
|
+
one path plan on the server when planning is on (no robot call). Each
|
|
447
|
+
skipped candidate adds one or two IK calls and at most one plan.
|
|
440
448
|
- **Seeds.** The approach is seeded with the current joints read at the start
|
|
441
449
|
of that `next_target`; the grasp with the approach solution, the
|
|
442
450
|
configuration the arm is in when it starts the straight move. The path is
|
|
@@ -455,9 +463,8 @@ with build_grasp_provider("pick.yaml", part_id="smallest_splice", robot=MyRmiRob
|
|
|
455
463
|
|
|
456
464
|
With an external robot nothing talks to VRMCS. The server has no IK: it sends
|
|
457
465
|
every grasp that clears the bin walls, and `next_target` drops what your IK
|
|
458
|
-
can't reach
|
|
459
|
-
|
|
460
|
-
`vamp-planner` wheel.
|
|
466
|
+
can't reach (and, with planning on, what VAMP can't find a collision-free path
|
|
467
|
+
to), attaching both IK solutions and, with planning on, the path.
|
|
461
468
|
|
|
462
469
|
## Calibration
|
|
463
470
|
|
|
@@ -481,9 +488,10 @@ routine, returns the robot to that start pose, and persists the result. The
|
|
|
481
488
|
fuller form below adds progress reporting and the operator-driven scan session:
|
|
482
489
|
|
|
483
490
|
On a cell with `robot.driver: external`, pass the app's `CalibrationRobot`: a
|
|
484
|
-
`GraspRobot` plus `execute_joint_path(waypoints)`. VAMP
|
|
485
|
-
move for `robot.model
|
|
486
|
-
|
|
491
|
+
`GraspRobot` plus `execute_joint_path(waypoints)`. mmai-griip-api's VAMP
|
|
492
|
+
plans every move for `robot.model` (calibration always plans, whatever
|
|
493
|
+
`plan_approach_paths` says), your IK solves the pose targets, and your robot
|
|
494
|
+
executes the path, in `robot.joint_convention`. Environment scanning needs
|
|
487
495
|
freedrive and is not available on an external robot.
|
|
488
496
|
|
|
489
497
|
```python
|
|
@@ -276,8 +276,8 @@ with build_grasp_provider("pick.yaml", part_id="smallest_splice", robot=MyRmiRob
|
|
|
276
276
|
sdk.process("right") # start perception on the "right" picture; it runs during the steps below
|
|
277
277
|
picked_left = target is not None
|
|
278
278
|
if picked_left:
|
|
279
|
-
|
|
280
|
-
move_linear(target.grasp_pose_mm_deg) # straight in along the tool Z
|
|
279
|
+
move_to(target.approach_pose_mm_deg) # your motion to the approach ([x, y, z, w, p, r], mm/deg)
|
|
280
|
+
move_linear(target.grasp_pose_mm_deg) # straight in along the tool Z
|
|
281
281
|
close_gripper()
|
|
282
282
|
move_linear(target.approach_pose_mm_deg) # straight back out
|
|
283
283
|
sdk.capture("left") # new picture of the left pallet for the next round, taken now
|
|
@@ -289,7 +289,7 @@ with build_grasp_provider("pick.yaml", part_id="smallest_splice", robot=MyRmiRob
|
|
|
289
289
|
sdk.process("left") # start perception on the new "left" picture; runs while we pick right
|
|
290
290
|
picked_right = target is not None
|
|
291
291
|
if picked_right:
|
|
292
|
-
|
|
292
|
+
move_to(target.approach_pose_mm_deg)
|
|
293
293
|
move_linear(target.grasp_pose_mm_deg)
|
|
294
294
|
close_gripper()
|
|
295
295
|
move_linear(target.approach_pose_mm_deg)
|
|
@@ -330,7 +330,8 @@ Each `GraspTarget` answers what a motion-owning app needs to know:
|
|
|
330
330
|
scoop can end past the grasp point, so never move to it without a force stop.
|
|
331
331
|
- `approach_joint_angles` / `grasp_joint_angles` are your robot's IK solutions
|
|
332
332
|
when it checked the grasp (see below).
|
|
333
|
-
- `approach_trajectory`
|
|
333
|
+
- `approach_trajectory` (only with `planning.plan_approach_paths: true`, see
|
|
334
|
+
below; otherwise None) is a collision-free joint path to the approach: VAMP
|
|
334
335
|
checks the arm plus the gripper and camera spheres against the cell cuboids.
|
|
335
336
|
Run it as joint moves with no blending (FINE): only the straight joint-space
|
|
336
337
|
segments between waypoints are checked, and blending cuts corners nobody
|
|
@@ -368,10 +369,17 @@ no connection of its own.
|
|
|
368
369
|
```yaml
|
|
369
370
|
robot:
|
|
370
371
|
driver: external
|
|
371
|
-
model: crx25ia # a robot in
|
|
372
|
+
model: crx25ia # a robot in mmai-griip-api's vamp-planner (planning and calibration)
|
|
372
373
|
joint_convention: fanuc # joints in and out as the pendant shows them
|
|
374
|
+
planning:
|
|
375
|
+
plan_approach_paths: false # true: each target also gets a collision-free approach_trajectory
|
|
373
376
|
```
|
|
374
377
|
|
|
378
|
+
By default you get targets your IK can reach and move there your own way.
|
|
379
|
+
Turn on `plan_approach_paths` and each target also carries a collision-free
|
|
380
|
+
path to its approach, planned by VAMP in mmai-griip-api; nothing is installed
|
|
381
|
+
on your side either way.
|
|
382
|
+
|
|
375
383
|
```python
|
|
376
384
|
class MyRmiRobot:
|
|
377
385
|
def __init__(self, rmi):
|
|
@@ -401,9 +409,9 @@ with build_grasp_provider("pick.yaml", part_id="smallest_splice", robot=MyRmiRob
|
|
|
401
409
|
calls them between moves. Call them while the arm moves and they need the
|
|
402
410
|
app's robot lock.
|
|
403
411
|
- **Calls per `next_target`.** One `get_joint_angles`, then two
|
|
404
|
-
`inverse_kinematics` for the grasp it returns (approach, then grasp),
|
|
405
|
-
one path plan on the server (no robot call). Each
|
|
406
|
-
or two IK calls and at most one plan.
|
|
412
|
+
`inverse_kinematics` for the grasp it returns (approach, then grasp), plus
|
|
413
|
+
one path plan on the server when planning is on (no robot call). Each
|
|
414
|
+
skipped candidate adds one or two IK calls and at most one plan.
|
|
407
415
|
- **Seeds.** The approach is seeded with the current joints read at the start
|
|
408
416
|
of that `next_target`; the grasp with the approach solution, the
|
|
409
417
|
configuration the arm is in when it starts the straight move. The path is
|
|
@@ -422,9 +430,8 @@ with build_grasp_provider("pick.yaml", part_id="smallest_splice", robot=MyRmiRob
|
|
|
422
430
|
|
|
423
431
|
With an external robot nothing talks to VRMCS. The server has no IK: it sends
|
|
424
432
|
every grasp that clears the bin walls, and `next_target` drops what your IK
|
|
425
|
-
can't reach
|
|
426
|
-
|
|
427
|
-
`vamp-planner` wheel.
|
|
433
|
+
can't reach (and, with planning on, what VAMP can't find a collision-free path
|
|
434
|
+
to), attaching both IK solutions and, with planning on, the path.
|
|
428
435
|
|
|
429
436
|
## Calibration
|
|
430
437
|
|
|
@@ -448,9 +455,10 @@ routine, returns the robot to that start pose, and persists the result. The
|
|
|
448
455
|
fuller form below adds progress reporting and the operator-driven scan session:
|
|
449
456
|
|
|
450
457
|
On a cell with `robot.driver: external`, pass the app's `CalibrationRobot`: a
|
|
451
|
-
`GraspRobot` plus `execute_joint_path(waypoints)`. VAMP
|
|
452
|
-
move for `robot.model
|
|
453
|
-
|
|
458
|
+
`GraspRobot` plus `execute_joint_path(waypoints)`. mmai-griip-api's VAMP
|
|
459
|
+
plans every move for `robot.model` (calibration always plans, whatever
|
|
460
|
+
`plan_approach_paths` says), your IK solves the pose targets, and your robot
|
|
461
|
+
executes the path, in `robot.joint_convention`. Environment scanning needs
|
|
454
462
|
freedrive and is not available on an external robot.
|
|
455
463
|
|
|
456
464
|
```python
|
|
@@ -2,12 +2,12 @@ dependency-groups = { }
|
|
|
2
2
|
|
|
3
3
|
[project]
|
|
4
4
|
name = "griip-sdk-dev"
|
|
5
|
-
version = "0.6.0.
|
|
6
|
-
description = "Dev build of griip-sdk from commit
|
|
5
|
+
version = "0.6.0.dev25932"
|
|
6
|
+
description = "Dev build of griip-sdk from commit 0e470e618 (PR #6192). Not a release."
|
|
7
7
|
readme = "README.md"
|
|
8
8
|
requires-python = ">=3.10,<3.13"
|
|
9
9
|
dependencies = [
|
|
10
|
-
"griip-core-dev==0.5.6.
|
|
10
|
+
"griip-core-dev==0.5.6.dev25932",
|
|
11
11
|
"grpcio>=1.78.0",
|
|
12
12
|
"numpy>=1.24",
|
|
13
13
|
"protobuf>=4.0",
|
{griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/calibration/app.py
RENAMED
|
@@ -400,6 +400,7 @@ class CalibrationApp:
|
|
|
400
400
|
bootstrap_path=str(bootstrap_path) if bootstrap_path is not None else None,
|
|
401
401
|
velocity_scaling=self._cell.motion.calibration.velocity_scaling,
|
|
402
402
|
acceleration_scaling=self._cell.motion.calibration.acceleration_scaling,
|
|
403
|
+
solve_pose_targets_locally=isinstance(self._robot_client, ExternalCalibrationRobotClient),
|
|
403
404
|
)
|
|
404
405
|
|
|
405
406
|
def _env_scan_tcp_offset_transform(self) -> SE3:
|
|
@@ -578,9 +579,10 @@ def build_calibration_app(
|
|
|
578
579
|
``camera_info`` (camera-swap escape hatch).
|
|
579
580
|
robot: the app's own robot, required when ``robot.driver`` is
|
|
580
581
|
``external``. Nothing talks to VRMCS: reads, IK and path execution
|
|
581
|
-
go through it, and VAMP plans
|
|
582
|
-
|
|
583
|
-
|
|
582
|
+
go through it, and mmai-griip-api's VAMP plans the moves for
|
|
583
|
+
``robot.model`` (Cartesian targets are solved with the app's IK
|
|
584
|
+
first, since the server has none). Nothing to install on the app's
|
|
585
|
+
side. Joints are in ``robot.joint_convention``.
|
|
584
586
|
"""
|
|
585
587
|
resolved_path = Path(cell_yaml).expanduser().resolve()
|
|
586
588
|
cell = load_cell_config(resolved_path)
|
|
@@ -625,12 +627,7 @@ def build_calibration_app(
|
|
|
625
627
|
grpc_channel, planning_stub, perception_stub = _build_grpc_calibration_stubs(cell.griip_api.url)
|
|
626
628
|
logger.info("Connected to mmai-griip-api over gRPC at %s", cell.griip_api.url)
|
|
627
629
|
_initialize_remote_api(grpc_channel, cell)
|
|
628
|
-
|
|
629
|
-
planning_stub = _build_in_process_planning_stub(
|
|
630
|
-
robot_client, cell, resolved_path.parent, cuboids_path_override=effective_cuboids_path
|
|
631
|
-
)
|
|
632
|
-
else:
|
|
633
|
-
_configure_remote_planner(planning_stub, cell, resolved_path.parent, cuboids_path_override=effective_cuboids_path)
|
|
630
|
+
_configure_remote_planner(planning_stub, cell, resolved_path.parent, cuboids_path_override=effective_cuboids_path)
|
|
634
631
|
else:
|
|
635
632
|
planning_stub = _build_in_process_planning_stub(
|
|
636
633
|
robot_client, cell, resolved_path.parent, cuboids_path_override=effective_cuboids_path
|
|
@@ -189,6 +189,7 @@ class HandEyeCalibrationService:
|
|
|
189
189
|
bootstrap_path: str | None = None,
|
|
190
190
|
velocity_scaling: float = CALIBRATION_VELOCITY_SCALING,
|
|
191
191
|
acceleration_scaling: float = CALIBRATION_ACCEL_SCALING,
|
|
192
|
+
solve_pose_targets_locally: bool = False,
|
|
192
193
|
):
|
|
193
194
|
self.robo = robo
|
|
194
195
|
self.vision_backend = vision_backend
|
|
@@ -205,6 +206,8 @@ class HandEyeCalibrationService:
|
|
|
205
206
|
self.bootstrap_path = bootstrap_path
|
|
206
207
|
self.velocity_scaling = velocity_scaling
|
|
207
208
|
self.acceleration_scaling = acceleration_scaling
|
|
209
|
+
# An app-owned robot: the server has no IK, so pose targets are solved with the robot's IK and planned as joint targets.
|
|
210
|
+
self.solve_pose_targets_locally = solve_pose_targets_locally
|
|
208
211
|
self._last_move_failure: str | None = None
|
|
209
212
|
|
|
210
213
|
def _plan_path_and_execute(
|
|
@@ -214,6 +217,14 @@ class HandEyeCalibrationService:
|
|
|
214
217
|
target_joint_angles: list[float] | None = None,
|
|
215
218
|
target_pose_tcp: SE3 | None = None,
|
|
216
219
|
) -> bool:
|
|
220
|
+
if target_pose_tcp is not None and self.solve_pose_targets_locally:
|
|
221
|
+
successes, solutions = self.robo.compute_inverse_kinematics([target_pose_tcp], seed_joint_positions=list(start_joint_angles))
|
|
222
|
+
if not successes[0]:
|
|
223
|
+
self._last_move_failure = "the robot's IK found no solution for the calibration pose"
|
|
224
|
+
logger.error("Hand-eye motion planning failed: %s", self._last_move_failure)
|
|
225
|
+
return False
|
|
226
|
+
target_pose_tcp, target_joint_angles = None, solutions[0][0]
|
|
227
|
+
|
|
217
228
|
if target_pose_tcp is not None:
|
|
218
229
|
request = pb.PlanPathRequest(
|
|
219
230
|
start_joint_angles=list(start_joint_angles),
|
|
@@ -630,7 +630,7 @@ class TestGrpcMode:
|
|
|
630
630
|
assert init_request.mocks.foundation_pose is True
|
|
631
631
|
assert init_request.mocks.foundation_stereo is True
|
|
632
632
|
|
|
633
|
-
def
|
|
633
|
+
def test_external_robot_plans_on_the_server_and_never_touches_vrmcs(
|
|
634
634
|
self,
|
|
635
635
|
tmp_path: Path,
|
|
636
636
|
monkeypatch: pytest.MonkeyPatch,
|
|
@@ -638,15 +638,14 @@ class TestGrpcMode:
|
|
|
638
638
|
fake_cell = _build_cell()
|
|
639
639
|
fake_cell.griip_api.mode = "grpc"
|
|
640
640
|
fake_cell.robot.driver = EXTERNAL_ROBOT_DRIVER
|
|
641
|
+
_set_gripper_collision_model(fake_cell, tmp_path)
|
|
641
642
|
_, planning_stub, _, fake_vrmcs_robot, _ = self._patch_grpc_factory_deps(monkeypatch, fake_cell)
|
|
642
|
-
in_process_planning_stub = MagicMock(name="in_process_planning_stub")
|
|
643
|
-
monkeypatch.setattr(app_module, "_build_in_process_planning_stub", MagicMock(return_value=in_process_planning_stub))
|
|
644
643
|
|
|
645
644
|
with app_module.build_calibration_app(tmp_path / "cell.yaml", robot=MagicMock(name="app_robot")) as cal:
|
|
646
|
-
assert cal._planning_stub is
|
|
645
|
+
assert cal._planning_stub is planning_stub # mmai-griip-api's VAMP; nothing in-process on the app side
|
|
647
646
|
assert isinstance(cal._robot_client, ExternalCalibrationRobotClient)
|
|
648
647
|
|
|
649
|
-
planning_stub.ConfigurePlanner.
|
|
648
|
+
planning_stub.ConfigurePlanner.assert_called_once()
|
|
650
649
|
cast(MagicMock, app_module.build_vrmcs_client).assert_not_called()
|
|
651
650
|
fake_vrmcs_robot.release_registration.assert_not_called()
|
|
652
651
|
|
|
@@ -56,6 +56,7 @@ def _build_service(
|
|
|
56
56
|
robo: MagicMock | None = None,
|
|
57
57
|
config: dict[str, Any] | None = None,
|
|
58
58
|
bootstrap_path: str | None = None,
|
|
59
|
+
solve_pose_targets_locally: bool = False,
|
|
59
60
|
) -> HandEyeCalibrationService:
|
|
60
61
|
"""Construct a ``HandEyeCalibrationService`` with light mocks.
|
|
61
62
|
|
|
@@ -84,12 +85,35 @@ def _build_service(
|
|
|
84
85
|
save_dir="/tmp/hand_eye_test",
|
|
85
86
|
calibration_joint_angles=[0.0, -1.57, 1.57, -1.57, -1.57, 0.0],
|
|
86
87
|
bootstrap_path=bootstrap_path,
|
|
88
|
+
solve_pose_targets_locally=solve_pose_targets_locally,
|
|
87
89
|
)
|
|
88
90
|
|
|
89
91
|
|
|
90
92
|
class TestPlanPathAndExecute:
|
|
91
93
|
"""Unit tests for the planning-request builder and trajectory execution."""
|
|
92
94
|
|
|
95
|
+
def test_app_owned_robot_solves_pose_targets_with_its_ik_and_plans_to_joints(self) -> None:
|
|
96
|
+
planning_stub = MagicMock()
|
|
97
|
+
planning_stub.PlanPath.return_value = _StubResponse(success=True, trajectory=[_StubJointAngles([0.5] * 6)])
|
|
98
|
+
robo = MagicMock()
|
|
99
|
+
robo.compute_inverse_kinematics.return_value = ([True], [[[0.5] * 6]])
|
|
100
|
+
service = _build_service(planning_stub=planning_stub, robo=robo, solve_pose_targets_locally=True)
|
|
101
|
+
|
|
102
|
+
assert service._plan_path_and_execute(start_joint_angles=[0.0] * 6, target_pose_tcp=SE3.Trans(0.4, 0.0, 0.5))
|
|
103
|
+
|
|
104
|
+
request = planning_stub.PlanPath.call_args.args[0]
|
|
105
|
+
assert list(request.target_joint_angles.values) == [0.5] * 6
|
|
106
|
+
assert not request.HasField("target_pose")
|
|
107
|
+
|
|
108
|
+
def test_app_owned_robot_without_an_ik_solution_fails_the_move(self) -> None:
|
|
109
|
+
planning_stub = MagicMock()
|
|
110
|
+
robo = MagicMock()
|
|
111
|
+
robo.compute_inverse_kinematics.return_value = ([False], [[]])
|
|
112
|
+
service = _build_service(planning_stub=planning_stub, robo=robo, solve_pose_targets_locally=True)
|
|
113
|
+
|
|
114
|
+
assert not service._plan_path_and_execute(start_joint_angles=[0.0] * 6, target_pose_tcp=SE3.Trans(0.4, 0.0, 0.5))
|
|
115
|
+
planning_stub.PlanPath.assert_not_called()
|
|
116
|
+
|
|
93
117
|
def test_requires_either_joint_angles_or_pose(self) -> None:
|
|
94
118
|
service = _build_service()
|
|
95
119
|
|
|
@@ -239,6 +239,10 @@ class PlanningConfig(BaseConfigModel):
|
|
|
239
239
|
start_tree_first: bool = False
|
|
240
240
|
simp_max_iterations: int = 5
|
|
241
241
|
robot_description_basepath: str = "/data/vention/curobo_robot_description"
|
|
242
|
+
# driver: external only (VRMCS cells always plan on the server). Off: next_target
|
|
243
|
+
# hands out IK-checked targets and the app moves there itself. On: each target
|
|
244
|
+
# also gets a collision-free approach_trajectory from VAMP.
|
|
245
|
+
plan_approach_paths: bool = False
|
|
242
246
|
|
|
243
247
|
|
|
244
248
|
class PlacePlanningConfig(BaseConfigModel):
|
|
@@ -407,14 +407,16 @@ def _build_cell_context(
|
|
|
407
407
|
gripper_collision_spheres = collision_spheres_to_flat(
|
|
408
408
|
resolved_collision_model.get_spheres(include_tip=True, finger_opening_width_m=closed_width_m)
|
|
409
409
|
)
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
410
|
+
# An app-owned robot only needs VAMP when it asked for planned approach paths.
|
|
411
|
+
if robot_config.get("driver") != EXTERNAL_ROBOT_DRIVER or cell_config.get("planning", {}).get("plan_approach_paths", False):
|
|
412
|
+
cast(Any, planning_stub).ConfigurePlanner(
|
|
413
|
+
pb.ConfigurePlannerRequest(
|
|
414
|
+
cuboids_path=cuboids_path,
|
|
415
|
+
robot_model=robot_model,
|
|
416
|
+
gripper_collision_spheres=collision_spheres_to_proto(gripper_collision_spheres),
|
|
417
|
+
tcp_to_camera_transform=se3_to_pose_list(tcp_to_camera),
|
|
418
|
+
)
|
|
416
419
|
)
|
|
417
|
-
)
|
|
418
420
|
if verify_home_collision_free and raw_planning_api is not None:
|
|
419
421
|
_run_home_collision_sanity_check(raw_planning_api, cell_config.get("positions", {}))
|
|
420
422
|
|
|
@@ -840,9 +842,9 @@ def build_grasp_provider(
|
|
|
840
842
|
|
|
841
843
|
With ``robot.driver: external`` in the cell YAML the app owns the robot and
|
|
842
844
|
must pass ``robot``, its own :class:`GraspRobot`. Nothing talks to VRMCS:
|
|
843
|
-
``next_target`` only hands out grasps ``robot.inverse_kinematics`` can
|
|
844
|
-
and
|
|
845
|
-
robot.
|
|
845
|
+
``next_target`` only hands out grasps ``robot.inverse_kinematics`` can
|
|
846
|
+
reach, and with ``planning.plan_approach_paths`` also a collision-free VAMP
|
|
847
|
+
path to each. Otherwise the VRMCS client is the robot.
|
|
846
848
|
"""
|
|
847
849
|
loaded_cell_config = load_runtime_cell_config(Path(config_path).resolve())
|
|
848
850
|
robot_is_external = loaded_cell_config.get("robot", {}).get("driver") == EXTERNAL_ROBOT_DRIVER
|
|
@@ -880,6 +882,7 @@ def build_grasp_provider(
|
|
|
880
882
|
camera_manager=cast("CameraManager", context.camera_manager),
|
|
881
883
|
robot=robot,
|
|
882
884
|
check_reachability=robot_is_external,
|
|
885
|
+
plan_paths=not robot_is_external or bool(loaded_cell_config.get("planning", {}).get("plan_approach_paths", False)),
|
|
883
886
|
# VRMCS clients already report model joints.
|
|
884
887
|
joints=joint_convention(loaded_cell_config.get("robot", {}).get("joint_convention", "model") if robot_is_external else "model"),
|
|
885
888
|
tcp_to_camera=context.tcp_to_camera,
|
|
@@ -144,10 +144,11 @@ def test_build_grasp_provider_mock_mode_yields_provider_with_configured_bins() -
|
|
|
144
144
|
assert provider.captures() == []
|
|
145
145
|
|
|
146
146
|
|
|
147
|
-
def _timken_config_with_external_robot(monkeypatch: pytest.MonkeyPatch) -> list[Any]:
|
|
147
|
+
def _timken_config_with_external_robot(monkeypatch: pytest.MonkeyPatch, plan_approach_paths: bool = False) -> list[Any]:
|
|
148
148
|
"""Point the recipe at the Timken cell with ``robot.driver: external``; returns the ConfigurePlanner calls."""
|
|
149
149
|
cell_config = load_runtime_cell_config(TIMKEN_CONFIG_PATH)
|
|
150
150
|
cell_config["robot"] = {**cell_config["robot"], "driver": EXTERNAL_ROBOT_DRIVER, "joint_convention": "fanuc"}
|
|
151
|
+
cell_config["planning"] = {**cell_config["planning"], "plan_approach_paths": plan_approach_paths}
|
|
151
152
|
monkeypatch.setattr(recipes, "load_runtime_cell_config", lambda _path: cell_config)
|
|
152
153
|
configure_planner_calls: list[Any] = []
|
|
153
154
|
|
|
@@ -170,18 +171,33 @@ def test_build_grasp_provider_external_robot_requires_the_apps_robot(monkeypatch
|
|
|
170
171
|
pass
|
|
171
172
|
|
|
172
173
|
|
|
173
|
-
def
|
|
174
|
-
configure_planner_calls = _timken_config_with_external_robot(monkeypatch)
|
|
174
|
+
def _external_robot() -> MagicMock:
|
|
175
175
|
robot = MagicMock()
|
|
176
176
|
robot.get_tcp_pose.return_value = [400.0, 0.0, 300.0, 180.0, 0.0, 0.0]
|
|
177
177
|
robot.get_joint_angles.return_value = [0.0] * 6
|
|
178
|
+
return robot
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
def test_build_grasp_provider_external_robot_needs_no_planner_by_default(monkeypatch: pytest.MonkeyPatch) -> None:
|
|
182
|
+
configure_planner_calls = _timken_config_with_external_robot(monkeypatch)
|
|
183
|
+
robot = _external_robot()
|
|
178
184
|
|
|
179
185
|
with build_grasp_provider(TIMKEN_CONFIG_PATH, part_id="timken", robot=robot, mock=True) as provider:
|
|
180
186
|
provider.capture("left")
|
|
187
|
+
assert isinstance(provider._joints, FanucJoints)
|
|
188
|
+
assert provider._plan_paths is False
|
|
181
189
|
|
|
182
190
|
robot.get_tcp_pose.assert_called_once()
|
|
183
|
-
assert
|
|
184
|
-
|
|
191
|
+
assert configure_planner_calls == [] # no VAMP needed
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
def test_build_grasp_provider_external_robot_plans_when_asked(monkeypatch: pytest.MonkeyPatch) -> None:
|
|
195
|
+
configure_planner_calls = _timken_config_with_external_robot(monkeypatch, plan_approach_paths=True)
|
|
196
|
+
|
|
197
|
+
with build_grasp_provider(TIMKEN_CONFIG_PATH, part_id="timken", robot=_external_robot(), mock=True) as provider:
|
|
198
|
+
assert provider._plan_paths is True
|
|
199
|
+
|
|
200
|
+
assert len(configure_planner_calls) == 1
|
|
185
201
|
|
|
186
202
|
|
|
187
203
|
def test_build_cell_context_without_gripper_never_resolves_or_activates_one(monkeypatch: pytest.MonkeyPatch) -> None:
|
|
@@ -6,8 +6,9 @@ the app parks the robot before ``capture`` and executes the pose it pops.
|
|
|
6
6
|
|
|
7
7
|
The robot is a :class:`~griip_sdk.hardware.robot_interface.GraspRobot`: VRMCS
|
|
8
8
|
on a Vention cell, or the app's own driver. With the app's driver the server
|
|
9
|
-
skips IK, and ``next_target`` checks each candidate with the robot's IK and
|
|
10
|
-
plans a collision-free path to it
|
|
9
|
+
skips IK, and ``next_target`` checks each candidate with the robot's IK (and,
|
|
10
|
+
with ``planning.plan_approach_paths``, plans a collision-free path to it)
|
|
11
|
+
before handing it out.
|
|
11
12
|
|
|
12
13
|
One perception run at a time, on the same pipeline the pick managers use.
|
|
13
14
|
The results of a run replace the queue, so pop before starting the next run.
|
|
@@ -72,6 +73,7 @@ class GraspProvider:
|
|
|
72
73
|
robot: GraspRobot,
|
|
73
74
|
check_reachability: bool,
|
|
74
75
|
joints: JointConvention,
|
|
76
|
+
plan_paths: bool,
|
|
75
77
|
tcp_to_camera: SE3,
|
|
76
78
|
tcp_to_flange: SE3,
|
|
77
79
|
camera_intrinsics_flat: list[float],
|
|
@@ -93,6 +95,8 @@ class GraspProvider:
|
|
|
93
95
|
self._check_reachability = check_reachability
|
|
94
96
|
# The robot's joints <-> the model's (URDF radians), which the SDK and VAMP work in.
|
|
95
97
|
self._joints = joints
|
|
98
|
+
# False when the server planner isn't configured (external robot without plan_approach_paths).
|
|
99
|
+
self._plan_paths = plan_paths
|
|
96
100
|
self._tcp_to_camera = tcp_to_camera
|
|
97
101
|
self._tcp_to_flange = tcp_to_flange
|
|
98
102
|
self._camera_intrinsics_flat = camera_intrinsics_flat
|
|
@@ -188,9 +192,9 @@ class GraspProvider:
|
|
|
188
192
|
With the app's robot, each candidate is checked on the calling thread:
|
|
189
193
|
one ``get_joint_angles`` per call, then ``inverse_kinematics`` for the
|
|
190
194
|
approach (seeded with those current joints) and for the grasp (seeded
|
|
191
|
-
with the approach solution), then
|
|
192
|
-
current joints to the approach.
|
|
193
|
-
path are dropped. If the robot raises, the candidate goes back to the
|
|
195
|
+
with the approach solution), then, with ``planning.plan_approach_paths``,
|
|
196
|
+
a collision-free path from the current joints to the approach.
|
|
197
|
+
Candidates with no IK solution (or no path, when planning) are dropped. If the robot raises, the candidate goes back to the
|
|
194
198
|
front of the queue and the error propagates.
|
|
195
199
|
"""
|
|
196
200
|
deadline = None if timeout is None else time.monotonic() + timeout
|
|
@@ -313,6 +317,8 @@ class GraspProvider:
|
|
|
313
317
|
Run the waypoints as joint moves with no blending: only the straight
|
|
314
318
|
joint-space segments between them are checked.
|
|
315
319
|
"""
|
|
320
|
+
if not self._plan_paths:
|
|
321
|
+
raise RuntimeError("path planning is off for this cell; set planning.plan_approach_paths: true in the cell YAML")
|
|
316
322
|
model_path = self._plan_model(self._joints.to_model(start_joint_angles), self._joints.to_model(goal_joint_angles))
|
|
317
323
|
return None if model_path is None else [self._joints.from_model(waypoint) for waypoint in model_path]
|
|
318
324
|
|
|
@@ -336,15 +342,13 @@ class GraspProvider:
|
|
|
336
342
|
grasp_joint_angles = self._robot.inverse_kinematics(target.grasp_pose_mm_deg, list(approach_joint_angles))
|
|
337
343
|
if grasp_joint_angles is None:
|
|
338
344
|
return None
|
|
345
|
+
checked = replace(target, approach_joint_angles=list(approach_joint_angles), grasp_joint_angles=list(grasp_joint_angles))
|
|
346
|
+
if not self._plan_paths:
|
|
347
|
+
return checked
|
|
339
348
|
approach_trajectory = self._plan_model(seed_joint_angles, self._joints.to_model(approach_joint_angles))
|
|
340
349
|
if approach_trajectory is None:
|
|
341
350
|
return None
|
|
342
|
-
return replace(
|
|
343
|
-
target,
|
|
344
|
-
approach_joint_angles=list(approach_joint_angles),
|
|
345
|
-
grasp_joint_angles=list(grasp_joint_angles),
|
|
346
|
-
approach_trajectory=[self._joints.from_model(waypoint) for waypoint in approach_trajectory],
|
|
347
|
-
)
|
|
351
|
+
return replace(checked, approach_trajectory=[self._joints.from_model(waypoint) for waypoint in approach_trajectory])
|
|
348
352
|
|
|
349
353
|
def _request_extras(self, bin_number: Optional[int]) -> dict[str, Any]:
|
|
350
354
|
extras: dict[str, Any] = {"roi": self._roi}
|
|
@@ -159,6 +159,7 @@ def _provider(
|
|
|
159
159
|
check_reachability: bool = False,
|
|
160
160
|
planning_stub: _FakePlanningStub | None = None,
|
|
161
161
|
joints: JointConvention | None = None,
|
|
162
|
+
plan_paths: bool = True,
|
|
162
163
|
) -> GraspProvider:
|
|
163
164
|
collision_model = MagicMock()
|
|
164
165
|
collision_model.get_spheres.return_value = []
|
|
@@ -169,6 +170,7 @@ def _provider(
|
|
|
169
170
|
robot=robot or _FakeRobot(),
|
|
170
171
|
check_reachability=check_reachability,
|
|
171
172
|
joints=joints or ModelJoints(),
|
|
173
|
+
plan_paths=plan_paths,
|
|
172
174
|
tcp_to_camera=TCP_TO_CAMERA,
|
|
173
175
|
tcp_to_flange=TCP_TO_FLANGE,
|
|
174
176
|
camera_intrinsics_flat=[600.0, 0.0, 320.0, 0.0, 600.0, 240.0, 0.0, 0.0, 1.0],
|
|
@@ -547,3 +549,24 @@ def test_fanuc_robot_gets_and_returns_pendant_degrees_while_vamp_plans_in_model_
|
|
|
547
549
|
assert list(planner.requests[0].start_joint_angles) == pytest.approx(FanucJoints().to_model(robot.joint_angles))
|
|
548
550
|
assert target.approach_trajectory[0] == pytest.approx(robot.joint_angles)
|
|
549
551
|
assert target.approach_trajectory[-1] == pytest.approx(target.approach_joint_angles)
|
|
552
|
+
|
|
553
|
+
|
|
554
|
+
def test_without_planning_targets_are_ik_checked_only() -> None:
|
|
555
|
+
robot, planner = _FakeRobot(), _FakePlanningStub()
|
|
556
|
+
provider = _provider(
|
|
557
|
+
_FakePickingStub(default=_unchecked(_pick_result(1, 1, checked=False))),
|
|
558
|
+
robot=robot,
|
|
559
|
+
check_reachability=True,
|
|
560
|
+
planning_stub=planner,
|
|
561
|
+
plan_paths=False,
|
|
562
|
+
)
|
|
563
|
+
provider.capture("left", bin_number=1)
|
|
564
|
+
provider.process("left")
|
|
565
|
+
|
|
566
|
+
target = provider.next_target(timeout=5.0)
|
|
567
|
+
|
|
568
|
+
assert target is not None and target.approach_joint_angles is not None and target.grasp_joint_angles is not None
|
|
569
|
+
assert target.approach_trajectory is None
|
|
570
|
+
assert planner.requests == []
|
|
571
|
+
with pytest.raises(RuntimeError, match="plan_approach_paths"):
|
|
572
|
+
provider.plan([0.0] * 6, [0.1] * 6)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{griip_sdk_dev-0.6.0.dev25682 → griip_sdk_dev-0.6.0.dev25932}/src/griip_sdk/calibration/routines.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|