roboapi 0.4.2__tar.gz → 0.4.4__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 (228) hide show
  1. {roboapi-0.4.2 → roboapi-0.4.4}/DESIGN.md +10 -2
  2. {roboapi-0.4.2 → roboapi-0.4.4}/PKG-INFO +14 -12
  3. {roboapi-0.4.2 → roboapi-0.4.4}/README.md +13 -5
  4. {roboapi-0.4.2 → roboapi-0.4.4}/docs/calibration.md +12 -15
  5. {roboapi-0.4.2 → roboapi-0.4.4}/docs/development.md +16 -5
  6. roboapi-0.4.4/docs/embodiments.md +113 -0
  7. {roboapi-0.4.2 → roboapi-0.4.4}/docs/installation.md +30 -15
  8. roboapi-0.4.4/docs/releases/v0.4.3.md +14 -0
  9. roboapi-0.4.4/docs/releases/v0.4.4.md +26 -0
  10. {roboapi-0.4.2 → roboapi-0.4.4}/docs/zh-CN/DESIGN.md +8 -2
  11. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/src/api.ts +0 -1
  12. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/src/components/CalibrationDialog.test.tsx +7 -7
  13. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/src/components/CalibrationDialog.tsx +10 -10
  14. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/src/i18n.tsx +8 -9
  15. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/src/test/fixtures.ts +0 -1
  16. {roboapi-0.4.2 → roboapi-0.4.4}/pyproject.toml +2 -23
  17. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/calibration/session.py +9 -30
  18. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/cli.py +36 -7
  19. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/config/__init__.py +4 -0
  20. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/config/loader.py +36 -33
  21. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/config/models.py +55 -52
  22. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/embodiment.py +11 -36
  23. roboapi-0.4.4/roboapi/hardware/__init__.py +10 -0
  24. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/hardware/base.py +56 -5
  25. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/hardware/camera.py +24 -0
  26. roboapi-0.4.4/roboapi/hardware/franka/__init__.py +39 -0
  27. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/hardware/franka/arm.py +13 -7
  28. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/hardware/franka/desk.py +22 -21
  29. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/hardware/franka/guiding.py +4 -5
  30. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/hardware/franka/ik.py +20 -7
  31. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/hardware/franka/settings.py +5 -15
  32. roboapi-0.4.4/roboapi/hardware/registry.py +109 -0
  33. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/hardware/robotiq.py +60 -0
  34. roboapi-0.4.4/roboapi/hardware/scaffold.py +47 -0
  35. roboapi-0.4.4/roboapi/hardware/templates/README.md.tmpl +17 -0
  36. roboapi-0.4.4/roboapi/hardware/templates/arm.py.tmpl +87 -0
  37. roboapi-0.4.4/roboapi/hardware/templates/camera.py.tmpl +48 -0
  38. roboapi-0.4.4/roboapi/hardware/templates/gripper.py.tmpl +51 -0
  39. roboapi-0.4.4/roboapi/hardware/templates/pyproject.toml.tmpl +16 -0
  40. roboapi-0.4.4/roboapi/hardware/ur/__init__.py +36 -0
  41. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/hardware/ur/compliant.py +9 -2
  42. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/hardware/ur/feedback.py +7 -0
  43. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/hardware/ur/position.py +5 -1
  44. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/hardware/ur/settings.py +4 -3
  45. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/initialize.py +82 -42
  46. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/runtime.py +3 -5
  47. roboapi-0.4.4/roboapi/tool.py +64 -0
  48. roboapi-0.4.2/roboapi/web/static/assets/CalibrationScene-BO_spRoL.js → roboapi-0.4.4/roboapi/web/static/assets/CalibrationScene-DegHxh1F.js +1 -1
  49. roboapi-0.4.2/roboapi/web/static/assets/index-CGLhpUm0.js → roboapi-0.4.4/roboapi/web/static/assets/index-CZ3Otu1v.js +14 -15
  50. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/web/static/index.html +1 -1
  51. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi.egg-info/PKG-INFO +14 -12
  52. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi.egg-info/SOURCES.txt +14 -2
  53. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi.egg-info/requires.txt +0 -8
  54. {roboapi-0.4.2 → roboapi-0.4.4}/tests/test_calibration.py +12 -14
  55. {roboapi-0.4.2 → roboapi-0.4.4}/tests/test_cli.py +17 -4
  56. roboapi-0.4.4/tests/test_components.py +251 -0
  57. {roboapi-0.4.2 → roboapi-0.4.4}/tests/test_config.py +14 -0
  58. {roboapi-0.4.2 → roboapi-0.4.4}/tests/test_initialize.py +71 -12
  59. {roboapi-0.4.2 → roboapi-0.4.4}/tests/test_motion.py +2 -1
  60. {roboapi-0.4.2 → roboapi-0.4.4}/tests/test_runtime.py +1 -1
  61. {roboapi-0.4.2 → roboapi-0.4.4}/tests/test_workspace.py +48 -1
  62. {roboapi-0.4.2 → roboapi-0.4.4}/uv.lock +42 -116
  63. roboapi-0.4.2/roboapi/hardware/__init__.py +0 -5
  64. roboapi-0.4.2/roboapi/hardware/franka/__init__.py +0 -5
  65. roboapi-0.4.2/roboapi/hardware/ur/__init__.py +0 -16
  66. {roboapi-0.4.2 → roboapi-0.4.4}/.python-version +0 -0
  67. {roboapi-0.4.2 → roboapi-0.4.4}/LICENSE +0 -0
  68. {roboapi-0.4.2 → roboapi-0.4.4}/MANIFEST.in +0 -0
  69. {roboapi-0.4.2 → roboapi-0.4.4}/NOTICE +0 -0
  70. {roboapi-0.4.2 → roboapi-0.4.4}/docs/model-api.md +0 -0
  71. {roboapi-0.4.2 → roboapi-0.4.4}/docs/naming.md +0 -0
  72. {roboapi-0.4.2 → roboapi-0.4.4}/docs/releases/v0.2.10.md +0 -0
  73. {roboapi-0.4.2 → roboapi-0.4.4}/docs/releases/v0.2.11.md +0 -0
  74. {roboapi-0.4.2 → roboapi-0.4.4}/docs/releases/v0.2.8.md +0 -0
  75. {roboapi-0.4.2 → roboapi-0.4.4}/docs/releases/v0.2.9.md +0 -0
  76. {roboapi-0.4.2 → roboapi-0.4.4}/docs/releases/v0.3.0.md +0 -0
  77. {roboapi-0.4.2 → roboapi-0.4.4}/docs/releases/v0.4.0.md +0 -0
  78. {roboapi-0.4.2 → roboapi-0.4.4}/docs/releases/v0.4.1.md +0 -0
  79. {roboapi-0.4.2 → roboapi-0.4.4}/docs/releases/v0.4.2.md +0 -0
  80. {roboapi-0.4.2 → roboapi-0.4.4}/docs/repository-rename.md +0 -0
  81. {roboapi-0.4.2 → roboapi-0.4.4}/docs/zh-CN/README.md +0 -0
  82. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/BRAND.md +0 -0
  83. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/asset-provenance.json +0 -0
  84. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/index.html +0 -0
  85. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/package-lock.json +0 -0
  86. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/package.json +0 -0
  87. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/public/assets/Bundler-LICENSE.txt +0 -0
  88. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/public/assets/Inter-OFL.txt +0 -0
  89. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/public/assets/Lucide-LICENSE.txt +0 -0
  90. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/public/assets/Meshoptimizer-LICENSE.txt +0 -0
  91. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/public/assets/PokeBrand-NOTICE.txt +0 -0
  92. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/public/assets/React-LICENSE.txt +0 -0
  93. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/public/assets/Three-LICENSE.txt +0 -0
  94. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/src/App.test.tsx +0 -0
  95. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/src/App.tsx +0 -0
  96. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/src/api.test.ts +0 -0
  97. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/src/assets/brand/Inter-Variable.ttf +0 -0
  98. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/src/assets/brand/MiSans-Regular.woff2 +0 -0
  99. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/src/assets/brand/MiSans-Semibold.woff2 +0 -0
  100. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/src/assets/brand/logo-1.png +0 -0
  101. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/src/assets/calibration/README.md +0 -0
  102. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/src/assets/calibration/home-reference.png +0 -0
  103. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/src/assets/calibration/robotiq-ace-pro-2.glb +0 -0
  104. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/src/cameraStream.test.ts +0 -0
  105. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/src/cameraStream.ts +0 -0
  106. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/src/components/Brand.tsx +0 -0
  107. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/src/components/CalibrationIllustration.test.tsx +0 -0
  108. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/src/components/CalibrationIllustration.tsx +0 -0
  109. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/src/components/CalibrationScene.tsx +0 -0
  110. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/src/components/CameraView.test.tsx +0 -0
  111. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/src/components/CameraView.tsx +0 -0
  112. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/src/components/DevicesDialog.tsx +0 -0
  113. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/src/components/Dialog.tsx +0 -0
  114. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/src/components/DirectionCheckDialog.test.tsx +0 -0
  115. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/src/components/DirectionCheckDialog.tsx +0 -0
  116. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/src/components/Icon.tsx +0 -0
  117. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/src/components/InstructionPanel.tsx +0 -0
  118. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/src/components/LogsPanel.tsx +0 -0
  119. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/src/components/Notification.tsx +0 -0
  120. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/src/components/Popover.tsx +0 -0
  121. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/src/components/PresetChips.test.tsx +0 -0
  122. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/src/components/PresetChips.tsx +0 -0
  123. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/src/components/PresetsPanel.tsx +0 -0
  124. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/src/components/RunInfoDialog.tsx +0 -0
  125. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/src/components/SettingsPanel.test.tsx +0 -0
  126. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/src/components/SettingsPanel.tsx +0 -0
  127. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/src/components/StopButton.tsx +0 -0
  128. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/src/components/StorageSettings.test.tsx +0 -0
  129. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/src/components/StorageSettings.tsx +0 -0
  130. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/src/components/TaskHistory.test.tsx +0 -0
  131. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/src/components/TaskHistory.tsx +0 -0
  132. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/src/components/WorkspaceSettings.test.tsx +0 -0
  133. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/src/components/WorkspaceSettings.tsx +0 -0
  134. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/src/components/calibration/camera-lens.ts +0 -0
  135. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/src/components/calibration/direction-motion.test.ts +0 -0
  136. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/src/components/calibration/direction-motion.ts +0 -0
  137. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/src/components/calibration/locking-pins.ts +0 -0
  138. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/src/components/calibration.css +0 -0
  139. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/src/format.ts +0 -0
  140. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/src/main.tsx +0 -0
  141. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/src/naming.test.tsx +0 -0
  142. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/src/naming.ts +0 -0
  143. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/src/notifications.test.ts +0 -0
  144. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/src/notifications.ts +0 -0
  145. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/src/pages/RunPage.tsx +0 -0
  146. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/src/pages/SettingsPage.test.tsx +0 -0
  147. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/src/pages/SettingsPage.tsx +0 -0
  148. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/src/styles.css +0 -0
  149. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/src/test/mockCamera.ts +0 -0
  150. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/src/test/setup.ts +0 -0
  151. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/src/useCameraPreview.test.tsx +0 -0
  152. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/src/useCameraPreview.ts +0 -0
  153. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/src/usePolling.test.tsx +0 -0
  154. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/src/usePolling.ts +0 -0
  155. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/tsconfig.json +0 -0
  156. {roboapi-0.4.2 → roboapi-0.4.4}/frontend/vite.config.ts +0 -0
  157. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/__init__.py +0 -0
  158. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/calibration/__init__.py +0 -0
  159. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/calibration/profile.py +0 -0
  160. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/errors.py +0 -0
  161. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/geometry.py +0 -0
  162. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/hardware/franka/feedback.py +0 -0
  163. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/hardware/franka/limits.py +0 -0
  164. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/hardware/ur/build.py +0 -0
  165. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/hardware/ur/dashboard.py +0 -0
  166. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/hardware/ur/ipc.py +0 -0
  167. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/hardware/ur/native/CMakeLists.txt +0 -0
  168. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/hardware/ur/native/dependencies.lock.json +0 -0
  169. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/hardware/ur/native/include/ur_cpp/cartesian_speedl.hpp +0 -0
  170. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/hardware/ur/native/include/ur_cpp/control_loop.hpp +0 -0
  171. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/hardware/ur/native/include/ur_cpp/geom.hpp +0 -0
  172. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/hardware/ur/native/include/ur_cpp/motion_primitives.hpp +0 -0
  173. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/hardware/ur/native/include/ur_cpp/robot_io.hpp +0 -0
  174. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/hardware/ur/native/include/ur_cpp/streaming_pose.hpp +0 -0
  175. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/hardware/ur/native/src/control_loop.cpp +0 -0
  176. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/hardware/ur/native/src/robot_io_urcl.cpp +0 -0
  177. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/hardware/ur/native/tests/cartesian_speedl_unit.cpp +0 -0
  178. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/hardware/ur/native/tests/control_modes_unit.cpp +0 -0
  179. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/hardware/ur/native/tests/streaming_pose_unit.cpp +0 -0
  180. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/hardware/ur/native/tests/velocity_governor_unit.cpp +0 -0
  181. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/hardware/ur/native/worker.cpp +0 -0
  182. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/images.py +0 -0
  183. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/mcp.py +0 -0
  184. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/motion.py +0 -0
  185. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/naming.py +0 -0
  186. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/operations.py +0 -0
  187. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/policy/__init__.py +0 -0
  188. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/policy/client.py +0 -0
  189. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/policy/protocol.py +0 -0
  190. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/policy/settings.py +0 -0
  191. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/product-names.json +0 -0
  192. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/records.py +0 -0
  193. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/semantics.py +0 -0
  194. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/tasks.py +0 -0
  195. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/web/__init__.py +0 -0
  196. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/web/presets.py +0 -0
  197. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/web/server.py +0 -0
  198. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/web/static/assets/Bundler-LICENSE.txt +0 -0
  199. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/web/static/assets/Inter-OFL.txt +0 -0
  200. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/web/static/assets/Inter-Variable-c8O0ljhh.ttf +0 -0
  201. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/web/static/assets/Lucide-LICENSE.txt +0 -0
  202. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/web/static/assets/Meshoptimizer-LICENSE.txt +0 -0
  203. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/web/static/assets/MiSans-Regular-ES4DrbaF.woff2 +0 -0
  204. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/web/static/assets/MiSans-Semibold-B34HIk9C.woff2 +0 -0
  205. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/web/static/assets/PokeBrand-NOTICE.txt +0 -0
  206. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/web/static/assets/React-LICENSE.txt +0 -0
  207. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/web/static/assets/Three-LICENSE.txt +0 -0
  208. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/web/static/assets/home-reference-CTpf8-oV.png +0 -0
  209. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/web/static/assets/index-QXqV-fDC.css +0 -0
  210. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi/web/static/assets/robotiq-ace-pro-2-EJuoOXTy.glb +0 -0
  211. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi.egg-info/dependency_links.txt +0 -0
  212. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi.egg-info/entry_points.txt +0 -0
  213. {roboapi-0.4.2 → roboapi-0.4.4}/roboapi.egg-info/top_level.txt +0 -0
  214. {roboapi-0.4.2 → roboapi-0.4.4}/setup.cfg +0 -0
  215. {roboapi-0.4.2 → roboapi-0.4.4}/tests/test_chunk_boundary.py +0 -0
  216. {roboapi-0.4.2 → roboapi-0.4.4}/tests/test_direction_check.py +0 -0
  217. {roboapi-0.4.2 → roboapi-0.4.4}/tests/test_instruction_pending.py +0 -0
  218. {roboapi-0.4.2 → roboapi-0.4.4}/tests/test_mcp.py +0 -0
  219. {roboapi-0.4.2 → roboapi-0.4.4}/tests/test_monitor_error_clear.py +0 -0
  220. {roboapi-0.4.2 → roboapi-0.4.4}/tests/test_naming.py +0 -0
  221. {roboapi-0.4.2 → roboapi-0.4.4}/tests/test_policy.py +0 -0
  222. {roboapi-0.4.2 → roboapi-0.4.4}/tests/test_preview.py +0 -0
  223. {roboapi-0.4.2 → roboapi-0.4.4}/tests/test_sessions.py +0 -0
  224. {roboapi-0.4.2 → roboapi-0.4.4}/tests/test_storage.py +0 -0
  225. {roboapi-0.4.2 → roboapi-0.4.4}/tests/test_task_runtime.py +0 -0
  226. {roboapi-0.4.2 → roboapi-0.4.4}/tests/test_task_web.py +0 -0
  227. {roboapi-0.4.2 → roboapi-0.4.4}/tests/test_tasks.py +0 -0
  228. {roboapi-0.4.2 → roboapi-0.4.4}/tests/test_web.py +0 -0
@@ -29,8 +29,8 @@ wrist-mounted fisheye RGB camera. New embodiments conform to this setup and the
29
29
  semantics. The wrist camera uses the standard mounting arrangement that matches the training
30
30
  viewpoint.
31
31
 
32
- Cameras share one V4L2 implementation with a fixed capture mode: MJPG at 1280×720 and 30 FPS.
33
- The device must negotiate this mode or connection fails. Installation selects the device path.
32
+ Camera adapters provide original-view RGB at 1280×720 and 30 FPS. Transport encoding belongs
33
+ to the driver. The built-in V4L2 adapter negotiates MJPG; unsupported capture modes fail clearly.
34
34
 
35
35
  ## Ownership
36
36
 
@@ -50,6 +50,14 @@ and calibration returns, with explicit coordinate boundaries. Device adapters ow
50
50
  control, read-only feedback and initialization. Assembly selects components from standard hardware
51
51
  definitions and local connection data.
52
52
 
53
+ Arms, grippers and cameras register independently. Built-in and external adapters use the
54
+ same interfaces and can be combined during installation. Registration and construction do
55
+ not connect hardware. See [component integration](docs/embodiments.md) for the package contract.
56
+
57
+ Load configuration belongs to the arm driver: it requests, applies or verifies external
58
+ inertial data only when its controller needs it. The shared core does not require load data
59
+ for calibration or control. Load data is independent of TCP and spatial calibration.
60
+
53
61
  ## Web interface
54
62
 
55
63
  The browser is a small React and TypeScript client with a Run view and dialogs for setup and
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: roboapi
3
- Version: 0.4.2
3
+ Version: 0.4.4
4
4
  Summary: Run robot policies on UR and Franka through a browser or an MCP agent.
5
5
  Author: PokeBot
6
6
  License-Expression: Apache-2.0 AND MIT AND ISC AND OFL-1.1 AND LicenseRef-MiSans
@@ -34,12 +34,6 @@ Requires-Dist: ur_rtde; extra == "ur-cb3"
34
34
  Provides-Extra: franka
35
35
  Requires-Dist: franky-control<3,>=2.0; extra == "franka"
36
36
  Requires-Dist: websockets>=15; extra == "franka"
37
- Provides-Extra: franka56
38
- Requires-Dist: franky-control==2.0.0+libfranka.0.13.3; extra == "franka56"
39
- Requires-Dist: websockets>=15; extra == "franka56"
40
- Provides-Extra: panda
41
- Requires-Dist: franky-control==2.0.0+libfranka.0.9.2; extra == "panda"
42
- Requires-Dist: websockets>=15; extra == "panda"
43
37
  Provides-Extra: gripper
44
38
  Requires-Dist: minimalmodbus; extra == "gripper"
45
39
  Dynamic: license-file
@@ -71,6 +65,10 @@ The release wheel includes the web interface. UR e-Series requires a separately
71
65
  control runtime from sources included in the wheel. Franka uses a compatible SDK and
72
66
  requires a realtime host.
73
67
 
68
+ Arms, grippers and cameras can be installed independently as adapter packages and combined
69
+ during setup. `roboapi new-embodiment NAME` generates their interfaces; use `--components camera`
70
+ for one component. See [Add hardware components](docs/embodiments.md) for SDK integration.
71
+
74
72
  ## Get started
75
73
 
76
74
  1. Install system libraries and create a Python environment on the robot host:
@@ -90,8 +88,8 @@ requires a realtime host.
90
88
  | UR CB3 | `uv pip install 'roboapi[ur-cb3,gripper]'` |
91
89
  | UR e-Series | `uv pip install 'roboapi[gripper]'` |
92
90
  | Franka FR3, system 5.9+ | `uv pip install 'roboapi[franka,gripper]'` |
93
- | Franka FR3, system 5.6.0 | `uv pip install 'roboapi[franka56,gripper]' --index https://timschneider42.github.io/franky/whl/libfranka-0.13.3/` |
94
- | Franka Panda, system 4.2.1–4.x | `uv pip install 'roboapi[panda,gripper]' --index https://timschneider42.github.io/franky/whl/libfranka-0.9.2/` |
91
+ | Franka FR3, system 5.6.0 | `uv pip install 'roboapi[franka,gripper]' 'franky-control==2.0.0+libfranka.0.13.3' --index https://timschneider42.github.io/franky/whl/libfranka-0.13.3/` |
92
+ | Franka Panda, system 4.2.1–4.x | `uv pip install 'roboapi[franka,gripper]' 'franky-control==2.0.0+libfranka.0.9.2' --index https://timschneider42.github.io/franky/whl/libfranka-0.9.2/` |
95
93
 
96
94
  UR e-Series additionally needs its native runtime built on the host:
97
95
 
@@ -102,9 +100,7 @@ requires a realtime host.
102
100
 
103
101
  For Franka, configure the [realtime kernel and permissions](https://frankarobotics.github.io/docs/doc/libfranka/docs/real_time_kernel.html),
104
102
  connect to the control cabinet's Shop Floor interface and enable FCI. FR3 5.6 and Panda
105
- require a one-time import of the standard load and flange TCP in Desk: run
106
- `roboapi export-franka-tool --output endeffector-config.json` and follow the Franka
107
- installation guide in the source archive. The physical tool must match that preset.
103
+ also need a load/TCP import after initialization; see [Franka setup](docs/installation.md#fr3-system-560-and-panda-4x).
108
104
 
109
105
  Use the `video` and `dialout` groups as appropriate for the camera and serial gripper.
110
106
  On UR, configure the flange-centre TCP and physical load in PolyScope.
@@ -114,6 +110,12 @@ requires a realtime host.
114
110
  roboapi init
115
111
  ```
116
112
 
113
+ Select the arm, gripper and camera separately. Franka also requests the matching
114
+ assembly load or custom measurements. UR keeps its load settings in PolyScope;
115
+ other adapters ask only if their driver needs them.
116
+ For FR3 5.6 / Panda, export with `roboapi export-franka-tool` and import
117
+ the file in Desk before calibration.
118
+
117
119
  Have the robot address, camera device and model credentials ready. The wizard selects the
118
120
  gripper connection and saves the local configuration; Franka also needs Desk credentials.
119
121
  3. Start the browser interface:
@@ -25,6 +25,10 @@ The release wheel includes the web interface. UR e-Series requires a separately
25
25
  control runtime from sources included in the wheel. Franka uses a compatible SDK and
26
26
  requires a realtime host.
27
27
 
28
+ Arms, grippers and cameras can be installed independently as adapter packages and combined
29
+ during setup. `roboapi new-embodiment NAME` generates their interfaces; use `--components camera`
30
+ for one component. See [Add hardware components](docs/embodiments.md) for SDK integration.
31
+
28
32
  ## Get started
29
33
 
30
34
  1. Install system libraries and create a Python environment on the robot host:
@@ -44,8 +48,8 @@ requires a realtime host.
44
48
  | UR CB3 | `uv pip install 'roboapi[ur-cb3,gripper]'` |
45
49
  | UR e-Series | `uv pip install 'roboapi[gripper]'` |
46
50
  | Franka FR3, system 5.9+ | `uv pip install 'roboapi[franka,gripper]'` |
47
- | Franka FR3, system 5.6.0 | `uv pip install 'roboapi[franka56,gripper]' --index https://timschneider42.github.io/franky/whl/libfranka-0.13.3/` |
48
- | Franka Panda, system 4.2.1–4.x | `uv pip install 'roboapi[panda,gripper]' --index https://timschneider42.github.io/franky/whl/libfranka-0.9.2/` |
51
+ | Franka FR3, system 5.6.0 | `uv pip install 'roboapi[franka,gripper]' 'franky-control==2.0.0+libfranka.0.13.3' --index https://timschneider42.github.io/franky/whl/libfranka-0.13.3/` |
52
+ | Franka Panda, system 4.2.1–4.x | `uv pip install 'roboapi[franka,gripper]' 'franky-control==2.0.0+libfranka.0.9.2' --index https://timschneider42.github.io/franky/whl/libfranka-0.9.2/` |
49
53
 
50
54
  UR e-Series additionally needs its native runtime built on the host:
51
55
 
@@ -56,9 +60,7 @@ requires a realtime host.
56
60
 
57
61
  For Franka, configure the [realtime kernel and permissions](https://frankarobotics.github.io/docs/doc/libfranka/docs/real_time_kernel.html),
58
62
  connect to the control cabinet's Shop Floor interface and enable FCI. FR3 5.6 and Panda
59
- require a one-time import of the standard load and flange TCP in Desk: run
60
- `roboapi export-franka-tool --output endeffector-config.json` and follow the Franka
61
- installation guide in the source archive. The physical tool must match that preset.
63
+ also need a load/TCP import after initialization; see [Franka setup](docs/installation.md#fr3-system-560-and-panda-4x).
62
64
 
63
65
  Use the `video` and `dialout` groups as appropriate for the camera and serial gripper.
64
66
  On UR, configure the flange-centre TCP and physical load in PolyScope.
@@ -68,6 +70,12 @@ requires a realtime host.
68
70
  roboapi init
69
71
  ```
70
72
 
73
+ Select the arm, gripper and camera separately. Franka also requests the matching
74
+ assembly load or custom measurements. UR keeps its load settings in PolyScope;
75
+ other adapters ask only if their driver needs them.
76
+ For FR3 5.6 / Panda, export with `roboapi export-franka-tool` and import
77
+ the file in Desk before calibration.
78
+
71
79
  Have the robot address, camera device and model credentials ready. The wizard selects the
72
80
  gripper connection and saves the local configuration; Franka also needs Desk credentials.
73
81
  3. Start the browser interface:
@@ -139,35 +139,32 @@ If C was captured in Local mode, the points remain in the draft; switch to Remot
139
139
 
140
140
  ## Franka feedback
141
141
 
142
- The standard Franka end-effector assembly (gripper, adapter and wrist camera) uses the
143
- built-in [tool-load preset](../RoboAPI/hardware/franka/settings.py), shipped with the
144
- Python package. This describes the assembly, independently of the robot installation.
145
- `mass_kg` is its mass in kilograms; `com_flange_m` is its centre of mass relative to the
146
- flange, in metres. `inertia_kg_m2` is the inertia about the centre of mass, with axes
147
- parallel to the flange. Mass and centre of mass use the supplied measurements; inertia
148
- retains the nominal diagonal values of `0.00031 kg·m²`.
149
-
150
- Franka initialization always uses this preset, with no local override or selection.
151
- Changing the physical assembly requires a corresponding preset change. Home and
152
- reference-plane samples remain in the local Cartesian calibration file.
142
+ The installation stores the complete flange-mounted assembly's mass, centre of mass and
143
+ inertia in the local `tool` configuration. `roboapi init` offers the measured
144
+ [standard assembly](../roboapi/tool.py) or custom values. Select the standard only for
145
+ matching hardware. Mass is in kg; centre of mass is flange-relative xyz in m; inertia is
146
+ about the centre of mass with axes parallel to the flange, in kg·m². The standard's mass
147
+ and centre of mass are measured; its inertia retains nominal diagonal values of `0.00031`.
148
+ Changing the assembly requires updating load data and recalibrating the installation.
153
149
 
154
150
  Opening a new calibration acquires control, disables active FCI and confirms Programming mode
155
151
  before preparing the end-effector configuration and native guiding. On the current FR3
156
- Desk protocol, it applies this preset to the active end-effector profile and reads it back
152
+ Desk protocol, it applies this local load to the active end-effector profile and reads it back
157
153
  together with a flange-centre TCP: zero translation and axes aligned with the flange.
158
154
  Other device settings are preserved.
159
- If no tool profile is active, RoboAPI creates a generic end-effector profile for the preset.
155
+ If no tool profile is active, RoboAPI creates a generic end-effector profile for this load.
160
156
  Ordinary control connections, including recovery, read the load and TCP first. When a
161
157
  profile needs to be created or changed, RoboAPI automatically enters Programming before
162
158
  writing it, then prepares Execution and FCI. A matching profile needs no writes or
163
159
  Programming transition.
164
160
 
165
- On FR3 system **5.6.0** and **Panda 4.x**, configure the complete preset once through Desk
161
+ On FR3 system **5.6.0** and **Panda 4.x**, configure the local assembly load and flange TCP once through Desk
166
162
  instead of automatic writing.
167
163
  Run `roboapi export-franka-tool` to generate `endeffector-config.json` containing the load
168
164
  and identity flange-to-TCP transform. On FR3, upload it in **Settings > End Effector > Mechanical Data**;
169
165
  on Panda, use **Admin > End Effector > User Defined**.
170
- Export needs no robot connection or installation configuration. Calibration
166
+ Export reads the local configuration and needs no robot connection. Use `--standard`
167
+ only to export the shipped assembly without an installation. Calibration
171
168
  and control initialization read and verify both the load and TCP on this protocol. See the
172
169
  [installation steps](installation.md#fr3-system-560-and-panda-4x).
173
170
 
@@ -18,10 +18,15 @@ npm --prefix frontend test
18
18
  dependency group. `.python-version` selects Python 3.12; CPython 3.10–3.12 is supported.
19
19
  Device and model substitutes are confined to tests.
20
20
 
21
+ For new hardware, generate independent arm, gripper and camera adapters with
22
+ `roboapi new-embodiment NAME`, or select a subset with `--components`.
23
+ See [adapter registration and device contracts](embodiments.md).
24
+
21
25
  For hardware development, add the extras from the [installation table](installation.md#install-from-pypi)
22
26
  to `uv sync`, for example `uv sync --locked --extra ur-cb3 --extra gripper`.
23
- The source project configures the Panda wheel index. FR3 and Panda extras are mutually
24
- exclusive, including the `franka56` build. Activate `.venv` before following the native build instructions.
27
+ All Franka models use `--extra franka`; the lockfile selects the current FR3 SDK.
28
+ For FR3 5.6 and Panda, install the controller's SDK build after syncing, as shown below.
29
+ Activate `.venv` before following the native build instructions.
25
30
 
26
31
  ## Frontend
27
32
 
@@ -66,13 +71,19 @@ CI runs on Ubuntu 24.04:
66
71
  The UR build command compiles the native runtime and runs its offline checks. Franka
67
72
  tests cover feedback, load and TCP configuration, native guiding, control handoffs and
68
73
  model-specific motion limits. Run SDK-dependent Desk tests
69
- on Linux with the matching extra:
74
+ on Linux with the matching SDK build:
70
75
 
71
76
  ```sh
72
- uv run --locked --extra panda pytest tests/hardware/test_panda_desk.py
73
- uv run --locked --extra franka56 pytest tests/hardware/test_franka_legacy.py
77
+ uv sync --locked --extra franka --extra gripper
78
+ uv pip install 'franky-control==2.0.0+libfranka.0.13.3' --index https://timschneider42.github.io/franky/whl/libfranka-0.13.3/
79
+ uv run --no-sync pytest tests/hardware/test_panda_desk.py tests/hardware/test_franka_legacy.py
80
+ uv pip install 'franky-control==2.0.0+libfranka.0.9.2' --index https://timschneider42.github.io/franky/whl/libfranka-0.9.2/
81
+ uv run --no-sync pytest tests/hardware/test_panda_desk.py
74
82
  ```
75
83
 
84
+ Use `--no-sync` with these SDK overrides; syncing again restores the default SDK
85
+ from the lockfile.
86
+
76
87
  SDK imports, native builds and offline tests do not establish
77
88
  robot tracking, tool-load accuracy, realtime host readiness or a working hardware deployment.
78
89
 
@@ -0,0 +1,113 @@
1
+ # Add hardware components
2
+
3
+ An embodiment combines one arm, one parallel gripper and one wrist camera. Adapters
4
+ register these components independently; users select the combination in `roboapi init`.
5
+ UR, Franka, Robotiq and V4L2 use the same interfaces as external packages.
6
+
7
+ ## Generate and install
8
+
9
+ ```sh
10
+ roboapi new-embodiment acme
11
+ # Generate only a camera adapter:
12
+ roboapi new-embodiment acme-camera --components camera --directory ./adapters
13
+ ```
14
+
15
+ The default project contains `arm.py`, `gripper.py` and `camera.py` under
16
+ `src/roboapi_acme/`, plus package metadata. Implement the selected drivers and add their
17
+ SDK dependencies to `pyproject.toml`. Stubs raise `NotImplementedError` without simulating
18
+ hardware. Registration and constructors must not open devices; defer optional SDK imports
19
+ until connection.
20
+
21
+ Install into RoboAPI's Python environment, restart RoboAPI, and configure the installation:
22
+
23
+ ```sh
24
+ uv pip install -e ./roboapi-acme
25
+ roboapi init
26
+ roboapi http
27
+ ```
28
+
29
+ Open Devices → Calibrate to use the shared calibration flow. An adapter can be distributed
30
+ as its own wheel; declare the RoboAPI versions its interface supports.
31
+
32
+ ## Registration and configuration
33
+
34
+ The generator writes one entry point per selected component:
35
+
36
+ ```toml
37
+ [project.entry-points."roboapi.arms"]
38
+ acme = "roboapi_acme.arm:arm_plugin"
39
+
40
+ [project.entry-points."roboapi.grippers"]
41
+ acme = "roboapi_acme.gripper:gripper_plugin"
42
+
43
+ [project.entry-points."roboapi.cameras"]
44
+ acme = "roboapi_acme.camera:camera_plugin"
45
+ ```
46
+
47
+ Each factory returns `ComponentPlugin`, or `ArmPlugin` for an arm. See the
48
+ [registration types](../roboapi/hardware/registry.py) for their fields. Names must be
49
+ unique within a component group, including built-in names.
50
+ The wizard reports and skips external adapters that fail to load. A configuration selecting
51
+ an unavailable adapter still fails with its load error.
52
+
53
+ Configuration dataclasses extend `ArmConfig`, `GripperConfig` or `CameraConfig`. Set
54
+ `type` to the entry-point name and provide a stable `connection_id`. Keep defaults for
55
+ construction; validate installation values in `validate()`, calling the base validator.
56
+ `ComponentOption` supplies the wizard label and configuration class. Its optional
57
+ selectors distinguish variants, such as `{"model": "a"}`, and remain explicit in YAML.
58
+
59
+ `configure(option, setup)` returns the chosen configuration. `setup` supplies `ask`,
60
+ `choose`, device-path selection, private credential storage via `secret`, and the
61
+ installation assembled so far as `config`. Components are configured in arm, gripper,
62
+ camera order; one may suggest a connection address from a previously selected component.
63
+
64
+ ## Device contracts
65
+
66
+ Implement the [protocols](../roboapi/hardware/base.py) exported by `roboapi.hardware`.
67
+ RoboAPI owns calibration, training-frame mapping, Cartesian paths, 30 Hz action dispatch,
68
+ model sessions and the web interface. Drivers own device communication, native control
69
+ frequency, interpolation, holding, fault reporting and cleanup.
70
+
71
+ - **Arm:** measured flange-centre pose `[x, y, z, qw, qx, qy, qz]` in metres, with no
72
+ positional TCP offset. Control and feedback use the same native base and flange axes.
73
+ Twists use m/s and rad/s; joint positions use radians without a fixed joint count.
74
+ `servo_pose` updates a target without blocking. `position_only=True` requests tracking
75
+ without force-driven offsets. `connect(calibration=True)` preserves force-sensor zeros
76
+ during temporary calibration returns.
77
+ - **Feedback:** readable during native teaching without taking motion control. Samples
78
+ contain `pose`, increasing `timestamp`, stable JSON-compatible `device` identity/settings
79
+ and optional `has_errors`. Repeated samples must not receive new timestamps.
80
+ An optional `GuidingSession` provides native single-axis hand guiding; without it, users
81
+ use the robot's teaching controls.
82
+ - **Gripper:** one opening ratio in [0,1], with 0 closed and 1 open. `set_ratio` is
83
+ nonblocking; `full_travel_s` supplies the travel time for shared motion scheduling.
84
+ - **Camera:** original-view uint8 RGB `(720,1280,3)` at 30 FPS, with capture age in seconds.
85
+ Preserve orientation and fisheye distortion. Transport format belongs to the driver.
86
+ `read_after` waits for a fresh frame and returns `None` on cancellation.
87
+
88
+ Logical components may share one CAN connection or SDK session. The adapter package must
89
+ own that session, coordinate combined targets and feedback, and release it only when its
90
+ users are done. Independent registration does not require separate physical connections;
91
+ RoboAPI currently does not supply a shared-session manager.
92
+
93
+ ## Optional assembly load
94
+
95
+ Only arm adapters needing external inertial data register `configure_tool(setup)`.
96
+ It runs after component selection and returns a `ToolLoad` or `None`; no callback means
97
+ no load prompt. The arm receives that value for guiding and control and owns applying or
98
+ verifying it. Controllers using their SDK's dynamics model can omit it.
99
+
100
+ Franka uses `roboapi.tool.configure_tool`; UR keeps its load settings in PolyScope.
101
+ Local `tool` data describes the complete
102
+ flange-mounted assembly: mass in kg, centre of mass in flange metres, and a 3×3 inertia
103
+ matrix about the centre of mass with flange-parallel axes, in kg·m². Use the standard
104
+ preset only for a matching assembly. Do not count components already included in the
105
+ controller's dynamics model twice. Load data is separate from TCP and spatial calibration;
106
+ see [installation](installation.md) for built-in driver setup.
107
+
108
+ ## Verify the adapter
109
+
110
+ Check installed-package discovery, configuration round-trips and cleanup without hardware.
111
+ Then verify feedback, flange/TCP conventions, calibration and returns, action execution,
112
+ holding during inference, stop and recovery on the target robot. Offline tests alone do
113
+ not establish physical tracking quality.
@@ -42,13 +42,17 @@ Run the installation command for one setup, then complete its hardware preparati
42
42
  | UR CB3 (UR5) | `uv pip install 'roboapi[ur-cb3,gripper]'` | [UR](#ur); no native build |
43
43
  | UR e-Series (UR5e, UR7e) | `uv pip install 'roboapi[gripper]'` | [UR and native control runtime](#ur) |
44
44
  | Franka FR3, system 5.9+ | `uv pip install 'roboapi[franka,gripper]'` | [Franka realtime host and Desk](#franka) |
45
- | Franka FR3, system 5.6.0 | `uv pip install 'roboapi[franka56,gripper]' --index https://timschneider42.github.io/franky/whl/libfranka-0.13.3/` | [Franka](#franka); import the standard load and TCP once |
46
- | Franka Panda 4.2.1–4.x | `uv pip install 'roboapi[panda,gripper]' --index https://timschneider42.github.io/franky/whl/libfranka-0.9.2/` | [Franka](#franka); import the standard load and TCP once |
45
+ | Franka FR3, system 5.6.0 | `uv pip install 'roboapi[franka,gripper]' 'franky-control==2.0.0+libfranka.0.13.3' --index https://timschneider42.github.io/franky/whl/libfranka-0.13.3/` | [Franka](#franka); import the configured load and TCP once |
46
+ | Franka Panda 4.2.1–4.x | `uv pip install 'roboapi[franka,gripper]' 'franky-control==2.0.0+libfranka.0.9.2' --index https://timschneider42.github.io/franky/whl/libfranka-0.9.2/` | [Franka](#franka); import the configured load and TCP once |
47
47
 
48
- The Franka extras install different builds of the same SDK and cannot share an environment.
49
- Check the controller's system version in Desk Settings before selecting the extra.
48
+ All Franka models use the `franka` extra. FR3 5.6 and Panda additionally specify a
49
+ matching SDK build in the same command. Only one SDK build can be installed in an environment;
50
+ check the controller's system version in Desk Settings before installing.
50
51
  Verify that the CLI is available with `roboapi --help`.
51
52
 
53
+ For another arm, gripper or camera, install its adapter package in this same environment before running
54
+ `roboapi init`. See [Add hardware components](embodiments.md) to develop one.
55
+
52
56
  ### Fresh configuration after the rename
53
57
 
54
58
  Stop the old service before using the same hardware. RoboAPI uses
@@ -61,8 +65,10 @@ binary does not satisfy the new default path.
61
65
 
62
66
  ## UR
63
67
 
64
- In PolyScope, select a TCP at the flange centre with zero positional offset, and set the
65
- physical tool load. For a Robotiq gripper, choose either the URCap socket served by the
68
+ In PolyScope, select a TCP at the flange centre with zero positional offset, and configure
69
+ the physical tool load. PolyScope owns the UR load settings; RoboAPI does not store or
70
+ compare a second copy.
71
+ For a Robotiq gripper, choose either the URCap socket served by the
66
72
  controller on port 63352 or a host USB/RS-485 serial connection during `roboapi init`.
67
73
  The selected URCap connection must be available on the controller.
68
74
 
@@ -102,26 +108,26 @@ Connect the host to the control cabinet's Shop Floor interface, following the of
102
108
  Confirm that the FCI feature is installed in Desk's system settings. Have the Desk username
103
109
  and password ready for `roboapi init`. Preview reads measured poses through Desk and works
104
110
  with FCI inactive. Beginning calibration first disables active FCI and confirms Programming
105
- mode, then prepares the shipped load and TCP preset for native button guiding. Release any
111
+ mode, then prepares the configured load and flange TCP for native button guiding. Release any
106
112
  existing Desk owner before beginning; RoboAPI handles the mode change. After Home, select
107
113
  one native translation axis at a time; all rotations stay constrained. Return A and the
108
114
  final Home return temporarily use FCI, then restore Programming and the selected axis.
109
- The physical assembly must match the
110
- [standard preset](calibration.md#franka-feedback).
115
+ Configure the full assembly load during `roboapi init`; use the
116
+ [standard values](calibration.md#franka-feedback) only for matching hardware.
111
117
 
112
118
  The Python SDK wheel supplies the motion library. Select the SDK build for the controller
113
119
  using the [compatibility table](https://frankarobotics.github.io/docs/doc/libfranka/docs/compatibility_matrix.html)
114
120
  and [franky wheel guide](https://timschneider42.github.io/franky/getting-started/installation.html).
115
- The locked current FR3 SDK uses libfranka **0.21.2** (system **5.9+**); the `franka56`
116
- extra uses **0.13.3** for system **5.6.0**. Panda uses **0.9.2**, requiring system
121
+ The locked current FR3 SDK uses libfranka **0.21.2** (system **5.9+**); system **5.6.0**
122
+ uses the SDK build with **0.13.3**. Panda uses **0.9.2**, requiring system
117
123
  software **4.2.1 or later in the 4.x series**. Earlier 4.x systems need a robot update.
118
124
  Franka preview and calibration use authenticated Desk web interfaces. Check both SDK
119
125
  compatibility and Desk feedback during installation.
120
126
 
121
127
  ### FR3 system 5.6.0 and Panda 4.x
122
128
 
123
- Export the standard assembly's load and flange-centre TCP. This needs no robot connection
124
- or installation configuration:
129
+ After `roboapi init`, export the local assembly's load and flange-centre TCP. No robot
130
+ connection is needed:
125
131
 
126
132
  ```sh
127
133
  roboapi export-franka-tool --output endeffector-config.json
@@ -138,11 +144,12 @@ in Desk with an administrator account:
138
144
  file acceptance still require hardware verification; see the
139
145
  [Panda manual, pages 122–123](https://download.franka.de/documents/100010_Product%20Manual%20Franka%20Emika%20Robot_10.21_EN.pdf#page=122).
140
146
 
147
+ `roboapi export-franka-tool --standard` exports the shipped assembly without local configuration.
141
148
  Existing output files are not overwritten; choose another output path to export again. See the
142
149
  [system 5.6 manual, section 8.8](https://franka.de/hubfs/Operating%20Manual%20Franka%20Research%203_System_Image_5.6.0_R02216_1.0.1_EN.pdf?hsLang=en#page=52).
143
150
 
144
151
  During calibration and control initialization, RoboAPI reads back the mass, centre of mass,
145
- inertia and TCP transform and compares them with the standard preset. A mismatch asks you to import the
152
+ inertia and TCP transform and compares them with the local configuration. A mismatch asks you to import the
146
153
  file and retry. FR3 5.6 and Panda read and verify this configuration; the current Desk protocol
147
154
  applies the same load and TCP automatically. Desk protocol selection uses a read-only probe,
148
155
  independently of the arm's motion limits.
@@ -181,6 +188,8 @@ FR3 velocity bounds also depend on the measured joint position. Newer FR3 SDKs r
181
188
  parameters from the robot's URDF; FR3 5.6 and Panda use their matching official limits.
182
189
  Within these bounds, the IK retains step and Cartesian speed caps, a 0.30 rad directional
183
190
  slowdown zone with a nullspace centering bias, and a 0.10 rad/s cap on nullspace velocity.
191
+ If that cap conflicts with the current joint bounds, IK uses the smallest attainable
192
+ excess until the cap becomes feasible again; joint bounds and acceleration continuity take priority.
184
193
  At the default 50 Hz update rate, the Cartesian caps are 1.125 m/s translation and
185
194
  0.5 rad/s rotation; the joint step budget is 0.06 rad per nominal cycle.
186
195
  The control trace records repeated-state age for diagnostics. Native SDK faults stop the
@@ -266,7 +275,13 @@ client's argument list. The wizard keeps the associated files beside that config
266
275
  [installation table](#install-from-pypi), adding `--upgrade` to install the latest release.
267
276
  3. For UR e-Series, repeat the native build above so the executable
268
277
  matches the installed package. Wheel installation does not update manually built binaries.
269
- 4. Restart using the same configuration and check preview and device status before enabling
278
+ 4. If the installation predates component adapters, run `roboapi init --complete` once
279
+ (add `-c /path/to/config.yaml` for a custom location). It confirms a missing URCap
280
+ controller address and asks for missing Franka assembly load data, preserving other
281
+ settings and credentials. UR load settings remain in PolyScope.
282
+ Existing serial-gripper calibrations remain valid for unchanged hardware. URCap users
283
+ must recalibrate because the connection identity now uses the actual controller address.
284
+ 5. Restart using the same configuration and check preview and device status before enabling
270
285
  control. Existing installation files remain in their local directory.
271
286
 
272
287
  Recalibrate when the physical installation, Home or task axes change. Follow any additional
@@ -0,0 +1,14 @@
1
+ # v0.4.3 — Keep Franka running through nullspace limit transitions
2
+
3
+ - Fix Franka IK stopping when the nullspace speed cap conflicts with the current
4
+ joint velocity bounds. Use the smallest necessary transient excess, preserving
5
+ joint limits and acceleration continuity, then restore the cap when feasible.
6
+ - Handle tangent constraint boundaries directly to avoid numerical solver failures.
7
+ - Cover continuous deceleration and workspace boundary clipping with regression tests.
8
+ - Use one `franka` installation extra for all Franka models. FR3 5.6 and Panda
9
+ select their matching SDK build explicitly in the installation command.
10
+
11
+ The shared motion range and its settings are unchanged. Upgrading from 0.4.2 does
12
+ not require recalibration or rebuilding either robot's native runtime. Restart
13
+ RoboAPI after installing the update. Validation is offline; physical motion has
14
+ not been revalidated for this fix.
@@ -0,0 +1,26 @@
1
+ # v0.4.4 — Independently extensible hardware components
2
+
3
+ - Register arms, grippers and cameras independently. Installed adapter packages
4
+ appear in the setup wizard alongside the built-in components.
5
+ - Generate a complete adapter package, or selected components, with
6
+ `roboapi new-embodiment NAME`.
7
+ - Reuse the shared runtime, coordinate mapping and calibration flow across components.
8
+ - Add `roboapi init --complete` to fill missing installation choices while preserving
9
+ existing settings. Skip broken, unselected external adapters during setup and
10
+ report their loading errors.
11
+ - Keep UR payload settings in PolyScope. Franka's configured assembly load remains
12
+ part of its driver setup and readback workflow.
13
+
14
+ ## Upgrading
15
+
16
+ Run `roboapi init --complete` after installation. Existing URCap configurations may
17
+ need a controller address; when completion reports a changed connection identity,
18
+ recalibrate before enabling control. Existing Franka installations must select the
19
+ matching standard assembly or provide their assembly load during completion.
20
+
21
+ The UR native control program is unchanged from 0.4.3 and does not require rebuilding
22
+ when upgrading in the same environment. New environments still need the native build.
23
+
24
+ UR e-Series use was reported working with the 0.4.4 development package. The updated
25
+ Franka configuration path and external hardware adapters still require hardware
26
+ validation; their current coverage is offline.
@@ -23,8 +23,8 @@ HTTP 界面可以独立运行,也可以同时开放 MCP,共用同一个运
23
23
  支持的组合是单臂、一个单自由度平行夹爪,以及一路腕部鱼眼 RGB 相机。
24
24
  新本体遵守这套组合和统一模型语义。腕部相机采用符合训练视角约定的统一安装方式。
25
25
 
26
- 相机共用一套 V4L2 采集实现,固定使用 MJPG、1280×720、30 FPS。
27
- 设备必须实际协商到这组模式,否则连接失败。现场选择设备路径。
26
+ 相机驱动统一输出原始视角的 RGB、1280×720、30 FPS,传输编码由驱动负责。
27
+ 内置 V4L2 驱动协商 MJPG,不支持指定采集模式时明确报错。
28
28
 
29
29
  ## 职责划分
30
30
 
@@ -41,6 +41,12 @@ Embodiment 组合机械臂、夹爪和相机,并通过统一坐标映射提供
41
41
  30 Hz 调度,供正常运动和标定回位复用,坐标边界保持明确。
42
42
  设备适配封装各自的控制、只读反馈和初始化。装配入口根据标准硬件定义及本地连接信息选择组件。
43
43
 
44
+ 机械臂、夹爪和相机独立注册。内置驱动与外部适配包使用同一接口,在安装时自由组合。
45
+ 注册和构造不连接硬件。适配包约定见[组件接入文档](../embodiments.md)。
46
+
47
+ 负载配置由机械臂驱动负责,仅在控制器需要时询问、应用或核对外部惯性参数。
48
+ 共享核心不将负载作为标定和运行的前提。负载参数与 TCP、空间标定分别维护。
49
+
44
50
  ## 网页界面
45
51
 
46
52
  网页采用 React 和 TypeScript,提供运行页,以及安装配置和设置弹窗。
@@ -29,7 +29,6 @@ export interface CalibrationStatus {
29
29
  connected: boolean;
30
30
  control_connected: boolean;
31
31
  control_enabled: boolean;
32
- tool_load_ready: boolean | null;
33
32
  error: string | null;
34
33
  notice?: string | null;
35
34
  profile_file?: string;
@@ -121,9 +121,9 @@ async function showCalibration(
121
121
  return fetch;
122
122
  }
123
123
 
124
- it("guides Franka with the arm buttons instead of repeated Desk handoffs", async () => {
124
+ it("shows hand guiding when the adapter provides it", async () => {
125
125
  await showCalibration({ ...calibration, phase: "acquire", teaching_method: "guiding" });
126
- expect(await screen.findByText(/Hold the buttons to guide/)).toBeVisible();
126
+ expect(await screen.findByText(/Use hand guiding/)).toBeVisible();
127
127
  expect(screen.queryByRole("button", { name: "Start" })).toBeNull();
128
128
  expect(screen.getByRole("button", { name: "Capture" })).toBeEnabled();
129
129
  expect(screen.queryByRole("button", { name: "Previous step" })).toBeNull();
@@ -174,7 +174,7 @@ it("selects exactly one native guiding axis without capturing a point", async ()
174
174
  const fetch = await showCalibration({
175
175
  ...calibration, phase: "plane_a", teaching_method: "guiding", guiding_axis: "z",
176
176
  });
177
- const axes = screen.getByRole("group", { name: "Franka guiding" });
177
+ const axes = screen.getByRole("group", { name: "Axis lock" });
178
178
  expect(within(axes).getByRole("button", { name: "Z" })).toHaveAttribute("aria-pressed", "true");
179
179
  await userEvent.click(within(axes).getByRole("button", { name: "X" }));
180
180
  await waitFor(() => expect(within(axes).getByRole("button", { name: "X" })).toHaveAttribute("aria-pressed", "true"));
@@ -378,7 +378,7 @@ it("blocks calibration during a policy run without adding unrelated stop control
378
378
  expect(fetch.mock.calls.some(([path]) => path === "/api/calibration/acquire")).toBe(false);
379
379
  });
380
380
 
381
- it("uses PolyScope guidance without Franka axis controls for UR", async () => {
381
+ it("uses native teaching guidance without axis controls when guiding is unavailable", async () => {
382
382
  await showCalibration({
383
383
  ...calibration,
384
384
  phase: "plane_b",
@@ -386,8 +386,8 @@ it("uses PolyScope guidance without Franka axis controls for UR", async () => {
386
386
  complete: false,
387
387
  });
388
388
  const dialog = screen.getByRole("dialog", { name: "Coordinate calibration" });
389
- expect(within(dialog).getByText(/PolyScope/)).toBeVisible();
390
- expect(within(dialog).queryByRole("group", { name: "Franka guiding" })).toBeNull();
389
+ expect(within(dialog).getByText(/Slide left in camera view/)).toBeVisible();
390
+ expect(within(dialog).queryByRole("group", { name: "Axis lock" })).toBeNull();
391
391
  expect(within(dialog).getByRole("button", { name: "Capture" })).toBeEnabled();
392
392
  });
393
393
 
@@ -441,7 +441,7 @@ it("replaces Return to point 1 with Stop during the move and blocks conflicting
441
441
  await userEvent.click(within(dialog).getByRole("button", { name: "Return to point 1" }));
442
442
  expect(within(dialog).getByRole("button", { name: "Capture" })).toBeDisabled();
443
443
  expect(within(dialog).getByRole("button", { name: "Previous step" })).toBeDisabled();
444
- const axes = within(dialog).getByRole("group", { name: "Franka guiding" });
444
+ const axes = within(dialog).getByRole("group", { name: "Axis lock" });
445
445
  for (const axis of within(axes).getAllByRole("button")) expect(axis).toBeDisabled();
446
446
  expect(within(dialog).queryByRole("button", { name: "Start over" })).toBeNull();
447
447
  expect(within(dialog).queryByRole("button", { name: "Return to point 1" })).toBeNull();
@@ -25,15 +25,15 @@ const views: Record<Exclude<CalibrationPhase, "complete">, { step: number; title
25
25
  };
26
26
  const prompts = {
27
27
  guiding: [
28
- "Gripper vertical, fingers down, 30–50 cm above a level surface.\nHold the buttons to guide; release, stop and capture.",
29
- "Guide straight down without rotating.\nTouch the surface; release and capture.",
30
- "Slide left across the surface in camera view.\nRelease the buttons and capture.",
31
- "Move off the line on the surface; release and capture.\nCapture returns Home and initializes the gripper.",
28
+ "Gripper vertical, fingers down, 30–50 cm above a level surface.\nUse hand guiding; stop and capture.",
29
+ "Guide straight down without rotating.\nTouch the surface; stop and capture.",
30
+ "Slide left across the surface in camera view.\nStop and capture.",
31
+ "Move off the line on the surface; stop and capture.\nCapture returns Home and initializes the gripper.",
32
32
  ],
33
33
  pendant: [
34
- "Gripper vertical, fingers down, 30–50 cm above a level surface.\nAdjust in PolyScope; stop and capture.",
35
- "In PolyScope, move down without rotating.\nTouch the surface; stop and capture.",
36
- "In PolyScope, slide left in camera view.\nStay on the surface; stop and capture.",
34
+ "Gripper vertical, fingers down, 30–50 cm above a level surface.\nUse the robot teaching controls; stop and capture.",
35
+ "Move down without rotating.\nTouch the surface; stop and capture.",
36
+ "Slide left in camera view.\nStay on the surface; stop and capture.",
37
37
  "Move off the line on the surface; stop and capture.\nCapture returns Home and initializes the gripper.",
38
38
  ],
39
39
  };
@@ -162,11 +162,11 @@ export function CalibrationDialog({ state, cameraStatus = null, idle, refresh, o
162
162
  {showGuiding && <div className="calibration-guiding">
163
163
  <span className="calibration-guiding-label">
164
164
  <Icon name="hand" />
165
- {t("Franka guiding")}
165
+ {t("Axis lock")}
166
166
  </span>
167
- <div className="calibration-axis-segments" role="group" aria-label={t("Franka guiding")}>
167
+ <div className="calibration-axis-segments" role="group" aria-label={t("Axis lock")}>
168
168
  {(["x", "y", "z"] as const).map(axis => <button key={axis} aria-pressed={state?.guiding_axis === axis} disabled={blocked}
169
- title={t("Allow translation along {axis} in Franka Desk guiding. Release the arm buttons before switching.", { axis: axis.toUpperCase() })}
169
+ title={t("Allow translation along {axis}. Stop guiding before switching.", { axis: axis.toUpperCase() })}
170
170
  onClick={() => void act("set_guiding_axis", { axis })}>{axis.toUpperCase()}</button>)}
171
171
  </div>
172
172
  </div>}