griip-sdk-dev 0.6.0.dev25546__tar.gz → 0.6.0.dev25643__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.
Files changed (203) hide show
  1. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/.coverage +0 -0
  2. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/PKG-INFO +40 -18
  3. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/README.md +37 -15
  4. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/pyproject.toml +3 -3
  5. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/cell/recipes.py +11 -12
  6. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/cell/tests/test_recipes.py +2 -2
  7. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/hardware/robot_interface.py +5 -7
  8. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/orchestration/grasp_provider.py +40 -7
  9. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/orchestration/tests/test_grasp_provider.py +108 -2
  10. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/orchestration/types.py +39 -0
  11. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/docs/griip-sdk-consumer-improvements.md +0 -0
  12. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/project.json +0 -0
  13. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/__init__.py +0 -0
  14. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/calibration/__init__.py +0 -0
  15. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/calibration/app.py +0 -0
  16. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/calibration/apriltag_pose.py +0 -0
  17. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/calibration/camera_factory.py +0 -0
  18. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/calibration/cartesian_pose.py +0 -0
  19. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/calibration/config_store.py +0 -0
  20. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/calibration/external_robot.py +0 -0
  21. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/calibration/hand_eye_calib/README.md +0 -0
  22. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/calibration/hand_eye_calib/__init__.py +0 -0
  23. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/calibration/hand_eye_calib/config/routine.yaml +0 -0
  24. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/calibration/hand_eye_calib/core.py +0 -0
  25. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/calibration/hand_eye_calib/main.py +0 -0
  26. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/calibration/hand_eye_calib/planning.py +0 -0
  27. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/calibration/hand_eye_calib/routines.py +0 -0
  28. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/calibration/hand_eye_calib/run_hand_eye_calibration.py +0 -0
  29. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/calibration/hand_eye_calib/transforms.py +0 -0
  30. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/calibration/mqtt_publisher.py +0 -0
  31. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/calibration/mqtt_topics.py +0 -0
  32. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/calibration/routines.py +0 -0
  33. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/calibration/scanning/__init__.py +0 -0
  34. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/calibration/scanning/environment_scanning.py +0 -0
  35. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/calibration/scanning/run_environment_scanning.py +0 -0
  36. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/calibration/tests/__init__.py +0 -0
  37. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/calibration/tests/conftest.py +0 -0
  38. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/calibration/tests/test_calibration_app.py +0 -0
  39. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/calibration/tests/test_camera_factory.py +0 -0
  40. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/calibration/tests/test_environment_scanning.py +0 -0
  41. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/calibration/tests/test_external_robot.py +0 -0
  42. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/calibration/tests/test_hand_eye_calibration_service.py +0 -0
  43. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/calibration/tests/test_hand_eye_helpers.py +0 -0
  44. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/calibration/tests/test_transforms.py +0 -0
  45. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/calibration/types.py +0 -0
  46. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/calibration/units.py +0 -0
  47. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/cell/__init__.py +0 -0
  48. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/cell/builders.py +0 -0
  49. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/cell/config.py +0 -0
  50. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/cell/end_effector_collision_model.py +0 -0
  51. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/cell/initialize.py +0 -0
  52. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/cell/loader.py +0 -0
  53. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/cell/mock_builders.py +0 -0
  54. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/cell/parts.py +0 -0
  55. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/cell/tests/__init__.py +0 -0
  56. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/cell/tests/conftest.py +0 -0
  57. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/cell/tests/test_builders.py +0 -0
  58. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/cell/tests/test_end_effector_collision_model.py +0 -0
  59. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/cell/tests/test_initialize.py +0 -0
  60. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/cell/tests/test_loader.py +0 -0
  61. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/cell/tests/test_mock_cell_smoke.py +0 -0
  62. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/cell/tests/test_parts.py +0 -0
  63. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/cell/tests/test_recording_config.py +0 -0
  64. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/errors.py +0 -0
  65. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/grpc_adapters/__init__.py +0 -0
  66. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/grpc_adapters/servicer_as_stub.py +0 -0
  67. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/hardware/__init__.py +0 -0
  68. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/hardware/bin_shaker.py +0 -0
  69. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/hardware/camera.py +0 -0
  70. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/hardware/fanuc_robot_client.py +0 -0
  71. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/hardware/ft_sensor.py +0 -0
  72. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/hardware/gripper.py +0 -0
  73. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/hardware/grpc_vision_backend.py +0 -0
  74. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/hardware/io_client.py +0 -0
  75. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/hardware/mmai_vision_backend.py +0 -0
  76. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/hardware/mocks/__init__.py +0 -0
  77. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/hardware/mocks/camera_mock.py +0 -0
  78. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/hardware/mocks/gripper_client_mock.py +0 -0
  79. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/hardware/mocks/io_client_mock.py +0 -0
  80. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/hardware/mocks/robot_client_mock.py +0 -0
  81. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/hardware/onrobot_3fg15_gripper.py +0 -0
  82. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/hardware/robot_client.py +0 -0
  83. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/hardware/robotiq_2f140_gripper.py +0 -0
  84. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/hardware/sim_gripper.py +0 -0
  85. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/hardware/sim_hand_eye.py +0 -0
  86. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/hardware/sim_robot_client.py +0 -0
  87. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/hardware/suction_gripper.py +0 -0
  88. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/hardware/tests/__init__.py +0 -0
  89. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/hardware/tests/conftest.py +0 -0
  90. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/hardware/tests/test_call_with_timeout.py +0 -0
  91. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/hardware/tests/test_command_state_fanout.py +0 -0
  92. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/hardware/tests/test_gripper_command_listeners.py +0 -0
  93. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/hardware/tests/test_grpc_vision_backend.py +0 -0
  94. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/hardware/tests/test_mmai_vision_backend.py +0 -0
  95. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/hardware/tests/test_reset_to_normal.py +0 -0
  96. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/hardware/tests/test_robot_client_base.py +0 -0
  97. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/hardware/tests/test_robot_client_lifecycle.py +0 -0
  98. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/hardware/tests/test_robot_feedback_fanout.py +0 -0
  99. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/hardware/tests/test_robotiq_2f140_gripper.py +0 -0
  100. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/hardware/tests/test_robotiq_gripper_bus_lock.py +0 -0
  101. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/hardware/tests/test_sim_gripper.py +0 -0
  102. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/hardware/tests/test_sim_hand_eye.py +0 -0
  103. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/hardware/tests/test_sim_robot_client.py +0 -0
  104. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/hardware/tests/test_suction_gripper.py +0 -0
  105. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/hardware/tests/test_tower_light.py +0 -0
  106. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/hardware/tests/test_vision_codec.py +0 -0
  107. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/hardware/tests/test_vrmcs_tcp_guard.py +0 -0
  108. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/hardware/torquing_client.py +0 -0
  109. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/hardware/tower_light.py +0 -0
  110. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/hardware/ur_robot_client.py +0 -0
  111. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/hardware/vision_backend.py +0 -0
  112. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/hardware/vision_codec.py +0 -0
  113. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/log_utils.py +0 -0
  114. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/modeling/__init__.py +0 -0
  115. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/modeling/sphere_generation_tool/README.md +0 -0
  116. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/modeling/sphere_generation_tool/__init__.py +0 -0
  117. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/modeling/sphere_generation_tool/__main__.py +0 -0
  118. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/modeling/sphere_generation_tool/_actors.py +0 -0
  119. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/modeling/sphere_generation_tool/_geometry.py +0 -0
  120. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/modeling/sphere_generation_tool/editor.py +0 -0
  121. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/modeling/sphere_generation_tool/object_io.py +0 -0
  122. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/modeling/sphere_generation_tool/urdf_io.py +0 -0
  123. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/modeling/tests/__init__.py +0 -0
  124. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/modeling/tests/conftest.py +0 -0
  125. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/modeling/tests/test_editor_math.py +0 -0
  126. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/modeling/tests/test_editor_smoke.py +0 -0
  127. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/modeling/tests/test_mesh_loading.py +0 -0
  128. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/modeling/tests/test_object_io.py +0 -0
  129. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/modeling/tests/test_urdf_io.py +0 -0
  130. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/orchestration/__init__.py +0 -0
  131. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/orchestration/bin_cuboid_extraction.py +0 -0
  132. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/orchestration/bin_picking_manager.py +0 -0
  133. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/orchestration/bin_state.py +0 -0
  134. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/orchestration/callbacks.py +0 -0
  135. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/orchestration/cycle_pause_gate.py +0 -0
  136. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/orchestration/errors.py +0 -0
  137. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/orchestration/execution/__init__.py +0 -0
  138. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/orchestration/execution/grasp_executor.py +0 -0
  139. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/orchestration/execution/parallel_jaw_executor.py +0 -0
  140. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/orchestration/execution/suction_executor.py +0 -0
  141. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/orchestration/execution/tests/__init__.py +0 -0
  142. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/orchestration/execution/tests/test_parallel_jaw_executor.py +0 -0
  143. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/orchestration/execution/three_finger_executor.py +0 -0
  144. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/orchestration/grasp_queue.py +0 -0
  145. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/orchestration/part_setup.py +0 -0
  146. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/orchestration/perception_inputs.py +0 -0
  147. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/orchestration/pick_and_place_manager.py +0 -0
  148. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/orchestration/pick_generator.py +0 -0
  149. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/orchestration/placement_planner.py +0 -0
  150. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/orchestration/planning.py +0 -0
  151. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/orchestration/proto_conversions.py +0 -0
  152. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/orchestration/roi_scheduler.py +0 -0
  153. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/orchestration/scoop_executor.py +0 -0
  154. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/orchestration/tests/__init__.py +0 -0
  155. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/orchestration/tests/conftest.py +0 -0
  156. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/orchestration/tests/test_bin_picking_manager.py +0 -0
  157. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/orchestration/tests/test_bin_state.py +0 -0
  158. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/orchestration/tests/test_cycle_pause_gate.py +0 -0
  159. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/orchestration/tests/test_part_setup.py +0 -0
  160. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/orchestration/tests/test_perception_inputs.py +0 -0
  161. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/orchestration/tests/test_phase_collision_spheres.py +0 -0
  162. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/orchestration/tests/test_pick_and_place_manager.py +0 -0
  163. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/orchestration/tests/test_pick_generator.py +0 -0
  164. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/orchestration/tests/test_placement_planner.py +0 -0
  165. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/orchestration/tests/test_planning.py +0 -0
  166. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/orchestration/tests/test_proto_conversions.py +0 -0
  167. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/orchestration/tests/test_scoop_executor.py +0 -0
  168. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/orchestration/tests/test_trajectory_store.py +0 -0
  169. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/orchestration/trajectory_store.py +0 -0
  170. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/prototyping/__init__.py +0 -0
  171. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/prototyping/config/__init__.py +0 -0
  172. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/prototyping/config/registry.py +0 -0
  173. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/prototyping/in_process_api.py +0 -0
  174. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/prototyping/read_tcp.py +0 -0
  175. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/prototyping/run_environment_scanning.py +0 -0
  176. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/prototyping/run_hand_eye_calibration.py +0 -0
  177. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/prototyping/run_linear_shuttle.py +0 -0
  178. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/recording/__init__.py +0 -0
  179. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/recording/foxglove_events.py +0 -0
  180. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/recording/foxglove_joint_states.py +0 -0
  181. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/recording/gripper_state_logger.py +0 -0
  182. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/recording/gripper_state_mcap_recording.py +0 -0
  183. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/recording/h264_video_logger.py +0 -0
  184. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/recording/h264_video_mcap_recording.py +0 -0
  185. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/recording/kpi_logger.py +0 -0
  186. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/recording/kpi_mcap_recording.py +0 -0
  187. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/recording/kpi_timer.py +0 -0
  188. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/recording/mcap_recording.py +0 -0
  189. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/recording/memory_utils.py +0 -0
  190. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/recording/robot_state_logger.py +0 -0
  191. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/recording/rotating_mcap_writer.py +0 -0
  192. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/recording/tests/test_foxglove_event_publisher.py +0 -0
  193. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/recording/tests/test_foxglove_joint_states.py +0 -0
  194. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/recording/tests/test_kpi_timer.py +0 -0
  195. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/recording/tests/test_mcap_foxglove_event_publisher.py +0 -0
  196. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/recording/tests/test_mcap_gripper_state_logger.py +0 -0
  197. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/recording/tests/test_mcap_h264_video_logger.py +0 -0
  198. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/recording/tests/test_mcap_kpi_logger.py +0 -0
  199. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/recording/tests/test_mcap_robot_state_logger.py +0 -0
  200. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/recording/tests/test_session.py +0 -0
  201. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/tests/__init__.py +0 -0
  202. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/tests/test_log_utils.py +0 -0
  203. {griip_sdk_dev-0.6.0.dev25546 → griip_sdk_dev-0.6.0.dev25643}/src/griip_sdk/tests/test_servicer_as_stub.py +0 -0
@@ -1,14 +1,14 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: griip-sdk-dev
3
- Version: 0.6.0.dev25546
4
- Summary: Dev build of griip-sdk from commit 0af7ee671 (PR #6192). Not a release.
3
+ Version: 0.6.0.dev25643
4
+ Summary: Dev build of griip-sdk from commit da01d1026 (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.dev25546
11
+ Requires-Dist: griip-core-dev==0.5.6.dev25643
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
- move_robot_to(target.approach_pose_mm_deg) # [x, y, z, w, p, r], mm and degrees, as on the pendant
313
- move_linear(target.grasp_pose_mm_deg) # straight in along the tool Z
312
+ move_joints(target.approach_trajectory) # collision-free waypoints to the approach, joint moves, no blending
313
+ move_linear(target.grasp_pose_mm_deg) # straight in along the tool Z ([x, y, z, w, p, r], mm/deg)
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
- move_robot_to(target.approach_pose_mm_deg)
325
+ move_joints(target.approach_trajectory)
326
326
  move_linear(target.grasp_pose_mm_deg)
327
327
  close_gripper()
328
328
  move_linear(target.approach_pose_mm_deg)
@@ -363,6 +363,23 @@ 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` is a collision-free joint path to the approach: VAMP
367
+ checks the arm plus the gripper and camera spheres against the cell cuboids.
368
+ Run it as joint moves with no blending (FINE): only the straight joint-space
369
+ segments between waypoints are checked, and blending cuts corners nobody
370
+ checked. `sdk.plan(start_joints, goal_joints)` gives the same for any other
371
+ move (to a capture pose, to place). The straight move in to `grasp_pose` and
372
+ the retreat are not planned.
373
+ - Everything the server used for this grasp, so an app running its own
374
+ plunge/scoop never re-reads grasps.json: `plunge_velocity`,
375
+ `scoop_velocity`, `force_torque_sensor_threshold`, `retract_move_distance`,
376
+ and the gripper parameters (`executor_type` is `"parallel_jaw"`, `"suction"`
377
+ or `"three_finger"`; `executor_params` is that message, e.g. `prep_width`,
378
+ `engaged_width`, `grip_check_min_width`, `grip_check_max_width`). Units are
379
+ those of grasps.json.
380
+ - `object_pose_in_world` (and `object_pose_mm_deg`) is the part as perception
381
+ saw it, tilt included; `object_in_tcp` is the part relative to the TCP at
382
+ the end of the scoop.
366
383
 
367
384
  Same `pick.yaml` as a self-driving cell: part, grasps, `tool.tcp_offset`,
368
385
  camera, hand-eye. No `home_bin*` poses are needed; the capture pose is
@@ -390,12 +407,13 @@ class MyRmiRobot:
390
407
  return self._rmi.read_cartesian_position()
391
408
 
392
409
  def get_joint_angles(self) -> list[float]:
393
- # Any units: the SDK only hands them back to inverse_kinematics as the seed.
394
- return self._rmi.read_joint_angles()
410
+ # Radians, robot model (URDF) convention: VAMP plans in these. Convert here.
411
+ return to_model_joints(self._rmi.read_joint_angles())
395
412
 
396
413
  def inverse_kinematics(self, tcp_pose: list[float], seed_joint_angles: list[float]) -> list[float] | None:
397
414
  # None only when tcp_pose is unreachable; raise for anything else (not ready, comms).
398
- return self._rmi.inverse_kinematics(tcp_pose, seed_joint_angles)
415
+ solution = self._rmi.inverse_kinematics(tcp_pose, from_model_joints(seed_joint_angles))
416
+ return None if solution is None else to_model_joints(solution)
399
417
 
400
418
 
401
419
  with build_grasp_provider("pick.yaml", part_id="smallest_splice", robot=MyRmiRobot(rmi)) as sdk:
@@ -409,12 +427,16 @@ with build_grasp_provider("pick.yaml", part_id="smallest_splice", robot=MyRmiRob
409
427
  calls them between moves. Call them while the arm moves and they need the
410
428
  app's robot lock.
411
429
  - **Calls per `next_target`.** One `get_joint_angles`, then two
412
- `inverse_kinematics` for the grasp it returns (approach, then grasp). Each
413
- skipped candidate adds one or two.
430
+ `inverse_kinematics` for the grasp it returns (approach, then grasp), then
431
+ one path plan on the server (no robot call). Each skipped candidate adds one
432
+ or two IK calls and at most one plan.
414
433
  - **Seeds.** The approach is seeded with the current joints read at the start
415
434
  of that `next_target`; the grasp with the approach solution, the
416
- configuration the arm is in when it starts the straight move. Both come from
417
- your robot, in your units.
435
+ configuration the arm is in when it starts the straight move. The path is
436
+ planned from those same current joints.
437
+ - **Joints.** Radians in the robot model's (URDF) convention everywhere, the
438
+ convention VAMP plans in. A controller that reports degrees, or couples
439
+ joints differently, converts inside these methods.
418
440
  - **Errors.** `None` drops that candidate as unreachable. An exception from
419
441
  your robot propagates out of `next_target` and the candidate stays at the
420
442
  front of the queue for the next call.
@@ -422,11 +444,11 @@ with build_grasp_provider("pick.yaml", part_id="smallest_splice", robot=MyRmiRob
422
444
  `tool.tcp_offset`, which `sdk.tcp_offset_mm` returns; the active UTool must
423
445
  match it, or use UTool 0 with `target.at_flange(...)`.
424
446
 
425
- With an external robot nothing talks to VRMCS. The server skips its IK,
426
- collision and path-planning stages and sends every grasp that clears the bin
427
- walls; `next_target` drops what your IK can't reach and attaches both
428
- solutions (`approach_joint_angles`, `grasp_joint_angles`). Arm-link collisions
429
- are not checked: approach and retreat safety are the app's.
447
+ With an external robot nothing talks to VRMCS. The server has no IK: it sends
448
+ every grasp that clears the bin walls, and `next_target` drops what your IK
449
+ can't reach or VAMP can't find a collision-free path to, attaching both IK
450
+ solutions and the path. `robot.model` must name a VAMP robot in the installed
451
+ `vamp-planner` wheel.
430
452
 
431
453
  ## Calibration
432
454
 
@@ -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
- move_robot_to(target.approach_pose_mm_deg) # [x, y, z, w, p, r], mm and degrees, as on the pendant
280
- move_linear(target.grasp_pose_mm_deg) # straight in along the tool Z
279
+ move_joints(target.approach_trajectory) # collision-free waypoints to the approach, joint moves, no blending
280
+ move_linear(target.grasp_pose_mm_deg) # straight in along the tool Z ([x, y, z, w, p, r], mm/deg)
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
- move_robot_to(target.approach_pose_mm_deg)
292
+ move_joints(target.approach_trajectory)
293
293
  move_linear(target.grasp_pose_mm_deg)
294
294
  close_gripper()
295
295
  move_linear(target.approach_pose_mm_deg)
@@ -330,6 +330,23 @@ 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` is a collision-free joint path to the approach: VAMP
334
+ checks the arm plus the gripper and camera spheres against the cell cuboids.
335
+ Run it as joint moves with no blending (FINE): only the straight joint-space
336
+ segments between waypoints are checked, and blending cuts corners nobody
337
+ checked. `sdk.plan(start_joints, goal_joints)` gives the same for any other
338
+ move (to a capture pose, to place). The straight move in to `grasp_pose` and
339
+ the retreat are not planned.
340
+ - Everything the server used for this grasp, so an app running its own
341
+ plunge/scoop never re-reads grasps.json: `plunge_velocity`,
342
+ `scoop_velocity`, `force_torque_sensor_threshold`, `retract_move_distance`,
343
+ and the gripper parameters (`executor_type` is `"parallel_jaw"`, `"suction"`
344
+ or `"three_finger"`; `executor_params` is that message, e.g. `prep_width`,
345
+ `engaged_width`, `grip_check_min_width`, `grip_check_max_width`). Units are
346
+ those of grasps.json.
347
+ - `object_pose_in_world` (and `object_pose_mm_deg`) is the part as perception
348
+ saw it, tilt included; `object_in_tcp` is the part relative to the TCP at
349
+ the end of the scoop.
333
350
 
334
351
  Same `pick.yaml` as a self-driving cell: part, grasps, `tool.tcp_offset`,
335
352
  camera, hand-eye. No `home_bin*` poses are needed; the capture pose is
@@ -357,12 +374,13 @@ class MyRmiRobot:
357
374
  return self._rmi.read_cartesian_position()
358
375
 
359
376
  def get_joint_angles(self) -> list[float]:
360
- # Any units: the SDK only hands them back to inverse_kinematics as the seed.
361
- return self._rmi.read_joint_angles()
377
+ # Radians, robot model (URDF) convention: VAMP plans in these. Convert here.
378
+ return to_model_joints(self._rmi.read_joint_angles())
362
379
 
363
380
  def inverse_kinematics(self, tcp_pose: list[float], seed_joint_angles: list[float]) -> list[float] | None:
364
381
  # None only when tcp_pose is unreachable; raise for anything else (not ready, comms).
365
- return self._rmi.inverse_kinematics(tcp_pose, seed_joint_angles)
382
+ solution = self._rmi.inverse_kinematics(tcp_pose, from_model_joints(seed_joint_angles))
383
+ return None if solution is None else to_model_joints(solution)
366
384
 
367
385
 
368
386
  with build_grasp_provider("pick.yaml", part_id="smallest_splice", robot=MyRmiRobot(rmi)) as sdk:
@@ -376,12 +394,16 @@ with build_grasp_provider("pick.yaml", part_id="smallest_splice", robot=MyRmiRob
376
394
  calls them between moves. Call them while the arm moves and they need the
377
395
  app's robot lock.
378
396
  - **Calls per `next_target`.** One `get_joint_angles`, then two
379
- `inverse_kinematics` for the grasp it returns (approach, then grasp). Each
380
- skipped candidate adds one or two.
397
+ `inverse_kinematics` for the grasp it returns (approach, then grasp), then
398
+ one path plan on the server (no robot call). Each skipped candidate adds one
399
+ or two IK calls and at most one plan.
381
400
  - **Seeds.** The approach is seeded with the current joints read at the start
382
401
  of that `next_target`; the grasp with the approach solution, the
383
- configuration the arm is in when it starts the straight move. Both come from
384
- your robot, in your units.
402
+ configuration the arm is in when it starts the straight move. The path is
403
+ planned from those same current joints.
404
+ - **Joints.** Radians in the robot model's (URDF) convention everywhere, the
405
+ convention VAMP plans in. A controller that reports degrees, or couples
406
+ joints differently, converts inside these methods.
385
407
  - **Errors.** `None` drops that candidate as unreachable. An exception from
386
408
  your robot propagates out of `next_target` and the candidate stays at the
387
409
  front of the queue for the next call.
@@ -389,11 +411,11 @@ with build_grasp_provider("pick.yaml", part_id="smallest_splice", robot=MyRmiRob
389
411
  `tool.tcp_offset`, which `sdk.tcp_offset_mm` returns; the active UTool must
390
412
  match it, or use UTool 0 with `target.at_flange(...)`.
391
413
 
392
- With an external robot nothing talks to VRMCS. The server skips its IK,
393
- collision and path-planning stages and sends every grasp that clears the bin
394
- walls; `next_target` drops what your IK can't reach and attaches both
395
- solutions (`approach_joint_angles`, `grasp_joint_angles`). Arm-link collisions
396
- are not checked: approach and retreat safety are the app's.
414
+ With an external robot nothing talks to VRMCS. The server has no IK: it sends
415
+ every grasp that clears the bin walls, and `next_target` drops what your IK
416
+ can't reach or VAMP can't find a collision-free path to, attaching both IK
417
+ solutions and the path. `robot.model` must name a VAMP robot in the installed
418
+ `vamp-planner` wheel.
397
419
 
398
420
  ## Calibration
399
421
 
@@ -2,12 +2,12 @@ dependency-groups = { }
2
2
 
3
3
  [project]
4
4
  name = "griip-sdk-dev"
5
- version = "0.6.0.dev25546"
6
- description = "Dev build of griip-sdk from commit 0af7ee671 (PR #6192). Not a release."
5
+ version = "0.6.0.dev25643"
6
+ description = "Dev build of griip-sdk from commit da01d1026 (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.dev25546",
10
+ "griip-core-dev==0.5.6.dev25643",
11
11
  "grpcio>=1.78.0",
12
12
  "numpy>=1.24",
13
13
  "protobuf>=4.0",
@@ -406,16 +406,14 @@ def _build_cell_context(
406
406
  gripper_collision_spheres = collision_spheres_to_flat(
407
407
  resolved_collision_model.get_spheres(include_tip=True, finger_opening_width_m=closed_width_m)
408
408
  )
409
- # An app-owned robot has no server-side planner to configure.
410
- if robot_config.get("driver") != EXTERNAL_ROBOT_DRIVER:
411
- cast(Any, planning_stub).ConfigurePlanner(
412
- pb.ConfigurePlannerRequest(
413
- cuboids_path=cuboids_path,
414
- robot_model=robot_model,
415
- gripper_collision_spheres=collision_spheres_to_proto(gripper_collision_spheres),
416
- tcp_to_camera_transform=se3_to_pose_list(tcp_to_camera),
417
- )
409
+ cast(Any, planning_stub).ConfigurePlanner(
410
+ pb.ConfigurePlannerRequest(
411
+ cuboids_path=cuboids_path,
412
+ robot_model=robot_model,
413
+ gripper_collision_spheres=collision_spheres_to_proto(gripper_collision_spheres),
414
+ tcp_to_camera_transform=se3_to_pose_list(tcp_to_camera),
418
415
  )
416
+ )
419
417
  if verify_home_collision_free and raw_planning_api is not None:
420
418
  _run_home_collision_sanity_check(raw_planning_api, cell_config.get("positions", {}))
421
419
 
@@ -840,9 +838,9 @@ def build_grasp_provider(
840
838
  off-cell development.
841
839
 
842
840
  With ``robot.driver: external`` in the cell YAML the app owns the robot and
843
- must pass ``robot``, its own :class:`GraspRobot`. Nothing talks to VRMCS,
844
- the server skips IK and planning, and ``next_target`` only hands out grasps
845
- ``robot.inverse_kinematics`` can reach. Otherwise the VRMCS client is the
841
+ must pass ``robot``, its own :class:`GraspRobot`. Nothing talks to VRMCS:
842
+ ``next_target`` only hands out grasps ``robot.inverse_kinematics`` can reach
843
+ and VAMP finds a collision-free path to. Otherwise the VRMCS client is the
846
844
  robot.
847
845
  """
848
846
  loaded_cell_config = load_runtime_cell_config(Path(config_path).resolve())
@@ -877,6 +875,7 @@ def build_grasp_provider(
877
875
 
878
876
  provider = GraspProvider(
879
877
  picking_stub=context.picking_stub,
878
+ planning_stub=context.planning_stub,
880
879
  camera_manager=cast("CameraManager", context.camera_manager),
881
880
  robot=robot,
882
881
  check_reachability=robot_is_external,
@@ -169,7 +169,7 @@ def test_build_grasp_provider_external_robot_requires_the_apps_robot(monkeypatch
169
169
  pass
170
170
 
171
171
 
172
- def test_build_grasp_provider_external_robot_uses_it_and_skips_the_planner(monkeypatch: pytest.MonkeyPatch) -> None:
172
+ def test_build_grasp_provider_external_robot_uses_it_and_configures_the_planner(monkeypatch: pytest.MonkeyPatch) -> None:
173
173
  configure_planner_calls = _timken_config_with_external_robot(monkeypatch)
174
174
  robot = MagicMock()
175
175
  robot.get_tcp_pose.return_value = [400.0, 0.0, 300.0, 180.0, 0.0, 0.0]
@@ -179,7 +179,7 @@ def test_build_grasp_provider_external_robot_uses_it_and_skips_the_planner(monke
179
179
  provider.capture("left")
180
180
 
181
181
  robot.get_tcp_pose.assert_called_once()
182
- assert configure_planner_calls == []
182
+ assert len(configure_planner_calls) == 1 # VAMP still plans collision-free paths for an app-owned robot
183
183
 
184
184
 
185
185
  def test_build_cell_context_without_gripper_never_resolves_or_activates_one(monkeypatch: pytest.MonkeyPatch) -> None:
@@ -7,6 +7,8 @@ own and never talks to VRMCS. It calls the methods on the thread that called
7
7
  Poses are ``[x, y, z, w, p, r]`` in millimetres and degrees in the robot base
8
8
  frame, at the TCP set by ``tool.tcp_offset``: what the pendant shows with
9
9
  UFrame 0 and a UTool equal to that offset. ``w, p, r`` rotate about X, Y then Z.
10
+ Joints are radians in the robot model's (URDF) convention, the one VAMP plans
11
+ in; an app whose controller reports something else converts at this boundary.
10
12
  """
11
13
 
12
14
  from __future__ import annotations
@@ -25,14 +27,14 @@ class GraspRobot(Protocol):
25
27
  ...
26
28
 
27
29
  def get_joint_angles(self) -> list[float]:
28
- """Current joints. Opaque to the SDK: only handed back as the IK seed."""
30
+ """Current joints, radians, robot model convention."""
29
31
  ...
30
32
 
31
33
  def inverse_kinematics(self, tcp_pose: list[float], seed_joint_angles: list[float]) -> Optional[list[float]]:
32
34
  """Joints reaching ``tcp_pose`` nearest ``seed_joint_angles``.
33
35
 
34
36
  The seed is always joints this robot returned (``get_joint_angles`` or
35
- an earlier solution), in the same units. Return None only when the pose
37
+ an earlier solution). Return None only when the pose
36
38
  is unreachable; raise for anything else (not ready, comms), so it is not
37
39
  mistaken for "no grasp".
38
40
  """
@@ -40,11 +42,7 @@ class GraspRobot(Protocol):
40
42
 
41
43
 
42
44
  class CalibrationRobot(GraspRobot, Protocol):
43
- """A GraspRobot that hand-eye calibration can also move.
44
-
45
- VAMP plans the calibration moves, so here joints are not opaque: every
46
- joint list in and out is radians in the robot model's convention.
47
- """
45
+ """A GraspRobot that hand-eye calibration can also move along VAMP paths."""
48
46
 
49
47
  def execute_joint_path(self, waypoints: list[list[float]]) -> bool:
50
48
  """Move through ``waypoints`` (radians, robot model convention); True once the last is reached."""
@@ -6,8 +6,8 @@ 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 planning, and ``next_target`` checks each candidate with the
10
- robot's IK before handing it out.
9
+ skips IK, and ``next_target`` checks each candidate with the robot's IK and
10
+ plans a collision-free path to it before handing it out.
11
11
 
12
12
  One perception run at a time, on the same pipeline the pick managers use.
13
13
  The results of a run replace the queue, so pop before starting the next run.
@@ -24,6 +24,7 @@ from typing import Any, Optional, cast
24
24
  import grpc
25
25
  from spatialmath import SE3
26
26
 
27
+ from griip_core.generated import griip_pb2 as pb
27
28
  from griip_sdk.cell.end_effector_collision_model import EndEffectorCollisionModel
28
29
  from griip_sdk.hardware.camera import CameraManager, GrabResult
29
30
  from griip_sdk.hardware.robot_interface import GraspRobot, mm_deg_to_se3
@@ -65,6 +66,7 @@ class GraspProvider:
65
66
  self,
66
67
  *,
67
68
  picking_stub: object,
69
+ planning_stub: object,
68
70
  camera_manager: CameraManager,
69
71
  robot: GraspRobot,
70
72
  check_reachability: bool,
@@ -82,6 +84,7 @@ class GraspProvider:
82
84
  all_bin_floors: dict[int, dict[str, Any]],
83
85
  ) -> None:
84
86
  self._picking_stub = picking_stub
87
+ self._planning_stub = planning_stub
85
88
  self._camera_manager = camera_manager
86
89
  self._robot = robot
87
90
  # True when the server skipped IK: the robot's IK vets each target on pop.
@@ -181,9 +184,10 @@ class GraspProvider:
181
184
  With the app's robot, each candidate is checked on the calling thread:
182
185
  one ``get_joint_angles`` per call, then ``inverse_kinematics`` for the
183
186
  approach (seeded with those current joints) and for the grasp (seeded
184
- with the approach solution). Unreachable candidates (IK returned None)
185
- are dropped. If the robot raises, the candidate goes back to the front
186
- of the queue and the error propagates.
187
+ with the approach solution), then a collision-free path from the
188
+ current joints to the approach. Candidates with no IK solution or no
189
+ path are dropped. If the robot raises, the candidate goes back to the
190
+ front of the queue and the error propagates.
187
191
  """
188
192
  deadline = None if timeout is None else time.monotonic() + timeout
189
193
  current_joint_angles: Optional[list[float]] = None
@@ -214,7 +218,10 @@ class GraspProvider:
214
218
  if reachable is not None:
215
219
  return reachable
216
220
  logger.info(
217
- "Skipping unreachable grasp %s (pick %d, object %d)", candidate.grasp_name, candidate.pick_id, candidate.object_index
221
+ "Skipping grasp %s (pick %d, object %d): no IK solution or no collision-free path",
222
+ candidate.grasp_name,
223
+ candidate.pick_id,
224
+ candidate.object_index,
218
225
  )
219
226
 
220
227
  def close(self) -> None:
@@ -294,6 +301,24 @@ class GraspProvider:
294
301
  logger.info("Picture %r was replaced during processing; %d targets dropped", stored.tag, len(targets))
295
302
  self._state.notify_all()
296
303
 
304
+ def plan(self, start_joint_angles: list[float], goal_joint_angles: list[float]) -> Optional[list[list[float]]]:
305
+ """A collision-free joint path from start to goal, or None when there is none.
306
+
307
+ VAMP plans the arm plus gripper and camera spheres against the cell
308
+ cuboids. Run the waypoints as joint moves with no blending: only the
309
+ straight joint-space segments between them are checked.
310
+ """
311
+ response = cast(Any, self._planning_stub).PlanPath(
312
+ pb.PlanPathRequest(
313
+ start_joint_angles=list(start_joint_angles),
314
+ target_joint_angles=pb.JointAngles(values=list(goal_joint_angles)),
315
+ )
316
+ )
317
+ if not response.success:
318
+ logger.info("No collision-free path: %s", response.failure_reason)
319
+ return None
320
+ return [list(waypoint.values) for waypoint in response.trajectory]
321
+
297
322
  def _with_robot_ik(self, target: GraspTarget, seed_joint_angles: list[float]) -> Optional[GraspTarget]:
298
323
  approach_joint_angles = self._robot.inverse_kinematics(target.approach_pose_mm_deg, seed_joint_angles)
299
324
  if approach_joint_angles is None:
@@ -301,7 +326,15 @@ class GraspProvider:
301
326
  grasp_joint_angles = self._robot.inverse_kinematics(target.grasp_pose_mm_deg, approach_joint_angles)
302
327
  if grasp_joint_angles is None:
303
328
  return None
304
- return replace(target, approach_joint_angles=list(approach_joint_angles), grasp_joint_angles=list(grasp_joint_angles))
329
+ approach_trajectory = self.plan(seed_joint_angles, approach_joint_angles)
330
+ if approach_trajectory is None:
331
+ return None
332
+ return replace(
333
+ target,
334
+ approach_joint_angles=list(approach_joint_angles),
335
+ grasp_joint_angles=list(grasp_joint_angles),
336
+ approach_trajectory=approach_trajectory,
337
+ )
305
338
 
306
339
  def _request_extras(self, bin_number: Optional[int]) -> dict[str, Any]:
307
340
  extras: dict[str, Any] = {"roi": self._roi}
@@ -3,6 +3,7 @@
3
3
  from __future__ import annotations
4
4
 
5
5
  import threading
6
+ from types import SimpleNamespace
6
7
  from typing import Any, Iterator, Optional
7
8
  from unittest.mock import MagicMock
8
9
 
@@ -61,7 +62,18 @@ def _pick_result(
61
62
  result.grasp_point_pose = se3_to_pose_7_list(grasp_point)
62
63
  result.plunge_pose = se3_to_pose_7_list(approach @ SE3.Tz(0.06))
63
64
  result.scoop_pose = se3_to_pose_7_list(approach @ SE3.Tz(0.23))
64
- result.prep_trajectory = [object(), object()] if checked else []
65
+ result.prep_trajectory = [SimpleNamespace(values=[0.0] * 6), SimpleNamespace(values=[0.1] * 6)] if checked else []
66
+ result.object_pose_in_world = list((grasp_point @ SE3.Rx(0.05)).A.flatten())
67
+ result.object_in_tcp = list(SE3.Tz(0.02).A.flatten())
68
+ result.retract_move_distance = 0.6
69
+ result.WhichOneof.return_value = "parallel_jaw"
70
+ result.parallel_jaw.prep_width = 900
71
+ result.parallel_jaw.engaged_width = 400
72
+ result.parallel_jaw.grip_check_min_width = 300
73
+ result.parallel_jaw.grip_check_max_width = 500
74
+ result.parallel_jaw.scoop_motion.plunge_velocity = 0.7
75
+ result.parallel_jaw.scoop_motion.scoop_velocity = 0.1
76
+ result.parallel_jaw.scoop_motion.force_torque_sensor_threshold = 80.0
65
77
  return result
66
78
 
67
79
 
@@ -121,13 +133,36 @@ class _FakePickingStub:
121
133
  yield from self.responses_by_image_id.get(request.image_id, self.default)
122
134
 
123
135
 
136
+ class _FakePlanningStub:
137
+ """PlanPath returns start -> midpoint -> goal, unless ``blocked`` holds the goal."""
138
+
139
+ def __init__(self) -> None:
140
+ self.requests: list[Any] = []
141
+ self.blocked: list[list[float]] = []
142
+
143
+ def PlanPath(self, request: Any) -> Any: # noqa: N802 - mirrors the gRPC stub
144
+ self.requests.append(request)
145
+ start, goal = list(request.start_joint_angles), list(request.target_joint_angles.values)
146
+ if goal in self.blocked:
147
+ return SimpleNamespace(success=False, failure_reason="Planner found no collision-free path.", trajectory=[])
148
+ midpoint = [(first + second) / 2.0 for first, second in zip(start, goal)]
149
+ return SimpleNamespace(
150
+ success=True, failure_reason="", trajectory=[SimpleNamespace(values=joints) for joints in (start, midpoint, goal)]
151
+ )
152
+
153
+
124
154
  def _provider(
125
- stub: _FakePickingStub, robot: _FakeRobot | None = None, camera: MockCameraManager | None = None, check_reachability: bool = False
155
+ stub: _FakePickingStub,
156
+ robot: _FakeRobot | None = None,
157
+ camera: MockCameraManager | None = None,
158
+ check_reachability: bool = False,
159
+ planning_stub: _FakePlanningStub | None = None,
126
160
  ) -> GraspProvider:
127
161
  collision_model = MagicMock()
128
162
  collision_model.get_spheres.return_value = []
129
163
  return GraspProvider(
130
164
  picking_stub=stub,
165
+ planning_stub=planning_stub or _FakePlanningStub(),
131
166
  camera_manager=camera or MockCameraManager(), # type: ignore[arg-type]
132
167
  robot=robot or _FakeRobot(),
133
168
  check_reachability=check_reachability,
@@ -415,3 +450,74 @@ def test_robot_error_propagates_and_keeps_the_candidate() -> None:
415
450
 
416
451
  def test_tcp_offset_mm_is_the_tool_offset_for_a_utool_check() -> None:
417
452
  assert _provider(_FakePickingStub()).tcp_offset_mm == pytest.approx([value * 1000.0 for value in TCP_OFFSET])
453
+
454
+
455
+ def test_target_carries_the_servers_scoop_gripper_and_object_parameters() -> None:
456
+ pick_result = _pick_result(1, 1)
457
+ provider = _provider(_FakePickingStub(default=[_FakeResponse(pick_result=pick_result), _FakeResponse(terminal=_terminal())]))
458
+ provider.capture("left", bin_number=1)
459
+ provider.process("left")
460
+
461
+ target = provider.next_target(timeout=5.0)
462
+
463
+ assert target is not None
464
+ assert (target.plunge_velocity, target.scoop_velocity, target.force_torque_sensor_threshold) == (0.7, 0.1, 80.0)
465
+ assert target.retract_move_distance == 0.6
466
+ assert target.executor_type == "parallel_jaw"
467
+ params = target.executor_params
468
+ assert (params.prep_width, params.engaged_width, params.grip_check_min_width, params.grip_check_max_width) == (900, 400, 300, 500)
469
+ np.testing.assert_allclose(target.object_pose_in_world.A.flatten(), pick_result.object_pose_in_world, atol=1e-12)
470
+ np.testing.assert_allclose(target.object_in_tcp.A, SE3.Tz(0.02).A, atol=1e-12)
471
+ assert target.object_pose_mm_deg == pytest.approx(se3_to_mm_deg(target.object_pose_in_world))
472
+
473
+
474
+ def test_app_robot_target_carries_a_collision_free_path_from_the_current_joints() -> None:
475
+ robot, planner = _FakeRobot(), _FakePlanningStub()
476
+ provider = _provider(
477
+ _FakePickingStub(default=_unchecked(_pick_result(1, 1, checked=False))), robot=robot, check_reachability=True, planning_stub=planner
478
+ )
479
+ provider.capture("left", bin_number=1)
480
+ provider.process("left")
481
+ robot.joint_angles = [0.5, -1.0, 1.0, -1.5, -1.5, 0.0]
482
+
483
+ target = provider.next_target(timeout=5.0)
484
+
485
+ assert target is not None and target.approach_trajectory is not None
486
+ assert target.approach_trajectory[0] == robot.joint_angles
487
+ assert target.approach_trajectory[-1] == target.approach_joint_angles
488
+
489
+
490
+ def test_app_robot_skips_a_grasp_with_no_collision_free_path() -> None:
491
+ robot, planner = _FakeRobot(), _FakePlanningStub()
492
+ blocked, reachable = _pick_result(1, 9, checked=False), _pick_result(2, 1, checked=False)
493
+ provider = _provider(
494
+ _FakePickingStub(default=_unchecked(blocked, reachable)), robot=robot, check_reachability=True, planning_stub=planner
495
+ )
496
+ blocked_approach = se3_to_mm_deg(SE3.Trans(0.5, 0.1, 0.3) @ SE3.Rx(0.3) @ SE3.Tz(-APPROACH_OFFSET_M)) # pick 1's approach
497
+ planner.blocked.append([round(blocked_approach[0], 3), round(blocked_approach[1], 3), round(blocked_approach[2], 3), 0.0, 0.0, 0.0])
498
+ provider.capture("left", bin_number=1)
499
+ provider.process("left")
500
+
501
+ target = provider.next_target(timeout=5.0)
502
+
503
+ assert target is not None and target.pick_id == 2
504
+ assert provider.next_target(timeout=1.0) is None
505
+
506
+
507
+ def test_vrmcs_target_carries_the_servers_prep_trajectory() -> None:
508
+ provider = _provider(_FakePickingStub(default=[_FakeResponse(pick_result=_pick_result(1, 1)), _FakeResponse(terminal=_terminal())]))
509
+ provider.capture("left", bin_number=1)
510
+ provider.process("left")
511
+
512
+ target = provider.next_target(timeout=5.0)
513
+
514
+ assert target is not None and target.approach_trajectory == [[0.0] * 6, [0.1] * 6]
515
+
516
+
517
+ def test_plan_returns_waypoints_or_none() -> None:
518
+ planner = _FakePlanningStub()
519
+ provider = _provider(_FakePickingStub(), planning_stub=planner)
520
+ planner.blocked.append([1.0] * 6)
521
+
522
+ assert provider.plan([0.0] * 6, [0.2] * 6) == [[0.0] * 6, [0.1] * 6, [0.2] * 6]
523
+ assert provider.plan([0.0] * 6, [1.0] * 6) is None