roboapi 0.4.3__tar.gz → 0.4.5__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 (232) hide show
  1. {roboapi-0.4.3 → roboapi-0.4.5}/DESIGN.md +10 -2
  2. {roboapi-0.4.3 → roboapi-0.4.5}/PKG-INFO +17 -5
  3. {roboapi-0.4.3 → roboapi-0.4.5}/README.md +16 -4
  4. {roboapi-0.4.3 → roboapi-0.4.5}/docs/calibration.md +12 -15
  5. {roboapi-0.4.3 → roboapi-0.4.5}/docs/development.md +4 -0
  6. roboapi-0.4.5/docs/embodiments.md +113 -0
  7. {roboapi-0.4.3 → roboapi-0.4.5}/docs/installation.md +28 -12
  8. {roboapi-0.4.3 → roboapi-0.4.5}/docs/model-api.md +5 -2
  9. roboapi-0.4.5/docs/releases/v0.4.4.md +26 -0
  10. roboapi-0.4.5/docs/releases/v0.4.5.md +19 -0
  11. {roboapi-0.4.3 → roboapi-0.4.5}/docs/zh-CN/DESIGN.md +8 -2
  12. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/src/App.test.tsx +9 -5
  13. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/src/api.ts +0 -1
  14. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/src/components/CalibrationDialog.test.tsx +7 -7
  15. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/src/components/CalibrationDialog.tsx +10 -10
  16. roboapi-0.4.5/frontend/src/components/SettingsPanel.test.tsx +127 -0
  17. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/src/components/SettingsPanel.tsx +65 -44
  18. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/src/i18n.tsx +11 -11
  19. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/src/pages/SettingsPage.test.tsx +2 -2
  20. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/src/styles.css +4 -2
  21. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/src/test/fixtures.ts +0 -1
  22. {roboapi-0.4.3 → roboapi-0.4.5}/pyproject.toml +2 -1
  23. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/calibration/session.py +9 -30
  24. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/cli.py +36 -7
  25. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/config/__init__.py +4 -0
  26. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/config/loader.py +36 -33
  27. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/config/models.py +57 -53
  28. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/embodiment.py +11 -36
  29. roboapi-0.4.5/roboapi/hardware/__init__.py +10 -0
  30. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/hardware/base.py +56 -5
  31. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/hardware/camera.py +24 -0
  32. roboapi-0.4.5/roboapi/hardware/franka/__init__.py +39 -0
  33. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/hardware/franka/arm.py +13 -7
  34. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/hardware/franka/desk.py +22 -21
  35. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/hardware/franka/guiding.py +4 -5
  36. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/hardware/franka/settings.py +5 -15
  37. roboapi-0.4.5/roboapi/hardware/registry.py +109 -0
  38. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/hardware/robotiq.py +60 -0
  39. roboapi-0.4.5/roboapi/hardware/scaffold.py +47 -0
  40. roboapi-0.4.5/roboapi/hardware/templates/README.md.tmpl +17 -0
  41. roboapi-0.4.5/roboapi/hardware/templates/arm.py.tmpl +87 -0
  42. roboapi-0.4.5/roboapi/hardware/templates/camera.py.tmpl +48 -0
  43. roboapi-0.4.5/roboapi/hardware/templates/gripper.py.tmpl +51 -0
  44. roboapi-0.4.5/roboapi/hardware/templates/pyproject.toml.tmpl +16 -0
  45. roboapi-0.4.5/roboapi/hardware/ur/__init__.py +36 -0
  46. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/hardware/ur/compliant.py +9 -2
  47. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/hardware/ur/feedback.py +7 -0
  48. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/hardware/ur/position.py +5 -1
  49. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/hardware/ur/settings.py +4 -3
  50. roboapi-0.4.5/roboapi/initialize.py +187 -0
  51. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/policy/client.py +29 -8
  52. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/policy/settings.py +15 -4
  53. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/runtime.py +10 -5
  54. roboapi-0.4.5/roboapi/tool.py +64 -0
  55. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/web/server.py +12 -1
  56. roboapi-0.4.3/roboapi/web/static/assets/CalibrationScene-BO_spRoL.js → roboapi-0.4.5/roboapi/web/static/assets/CalibrationScene-5G_QRvLJ.js +1 -1
  57. roboapi-0.4.3/roboapi/web/static/assets/index-CGLhpUm0.js → roboapi-0.4.5/roboapi/web/static/assets/index-BKtDMtWh.js +15 -16
  58. roboapi-0.4.5/roboapi/web/static/assets/index-wKYVYXw0.css +1 -0
  59. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/web/static/index.html +2 -2
  60. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi.egg-info/PKG-INFO +17 -5
  61. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi.egg-info/SOURCES.txt +15 -3
  62. {roboapi-0.4.3 → roboapi-0.4.5}/tests/test_calibration.py +12 -14
  63. {roboapi-0.4.3 → roboapi-0.4.5}/tests/test_cli.py +17 -4
  64. roboapi-0.4.5/tests/test_components.py +252 -0
  65. {roboapi-0.4.3 → roboapi-0.4.5}/tests/test_config.py +14 -0
  66. {roboapi-0.4.3 → roboapi-0.4.5}/tests/test_initialize.py +105 -14
  67. {roboapi-0.4.3 → roboapi-0.4.5}/tests/test_motion.py +2 -1
  68. {roboapi-0.4.3 → roboapi-0.4.5}/tests/test_policy.py +53 -0
  69. {roboapi-0.4.3 → roboapi-0.4.5}/tests/test_runtime.py +1 -1
  70. {roboapi-0.4.3 → roboapi-0.4.5}/tests/test_web.py +23 -0
  71. {roboapi-0.4.3 → roboapi-0.4.5}/uv.lock +1 -1
  72. roboapi-0.4.3/frontend/src/components/SettingsPanel.test.tsx +0 -64
  73. roboapi-0.4.3/roboapi/hardware/__init__.py +0 -5
  74. roboapi-0.4.3/roboapi/hardware/franka/__init__.py +0 -5
  75. roboapi-0.4.3/roboapi/hardware/ur/__init__.py +0 -16
  76. roboapi-0.4.3/roboapi/initialize.py +0 -137
  77. roboapi-0.4.3/roboapi/web/static/assets/index-QXqV-fDC.css +0 -1
  78. {roboapi-0.4.3 → roboapi-0.4.5}/.python-version +0 -0
  79. {roboapi-0.4.3 → roboapi-0.4.5}/LICENSE +0 -0
  80. {roboapi-0.4.3 → roboapi-0.4.5}/MANIFEST.in +0 -0
  81. {roboapi-0.4.3 → roboapi-0.4.5}/NOTICE +0 -0
  82. {roboapi-0.4.3 → roboapi-0.4.5}/docs/naming.md +0 -0
  83. {roboapi-0.4.3 → roboapi-0.4.5}/docs/releases/v0.2.10.md +0 -0
  84. {roboapi-0.4.3 → roboapi-0.4.5}/docs/releases/v0.2.11.md +0 -0
  85. {roboapi-0.4.3 → roboapi-0.4.5}/docs/releases/v0.2.8.md +0 -0
  86. {roboapi-0.4.3 → roboapi-0.4.5}/docs/releases/v0.2.9.md +0 -0
  87. {roboapi-0.4.3 → roboapi-0.4.5}/docs/releases/v0.3.0.md +0 -0
  88. {roboapi-0.4.3 → roboapi-0.4.5}/docs/releases/v0.4.0.md +0 -0
  89. {roboapi-0.4.3 → roboapi-0.4.5}/docs/releases/v0.4.1.md +0 -0
  90. {roboapi-0.4.3 → roboapi-0.4.5}/docs/releases/v0.4.2.md +0 -0
  91. {roboapi-0.4.3 → roboapi-0.4.5}/docs/releases/v0.4.3.md +0 -0
  92. {roboapi-0.4.3 → roboapi-0.4.5}/docs/repository-rename.md +0 -0
  93. {roboapi-0.4.3 → roboapi-0.4.5}/docs/zh-CN/README.md +0 -0
  94. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/BRAND.md +0 -0
  95. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/asset-provenance.json +0 -0
  96. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/index.html +0 -0
  97. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/package-lock.json +0 -0
  98. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/package.json +0 -0
  99. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/public/assets/Bundler-LICENSE.txt +0 -0
  100. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/public/assets/Inter-OFL.txt +0 -0
  101. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/public/assets/Lucide-LICENSE.txt +0 -0
  102. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/public/assets/Meshoptimizer-LICENSE.txt +0 -0
  103. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/public/assets/PokeBrand-NOTICE.txt +0 -0
  104. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/public/assets/React-LICENSE.txt +0 -0
  105. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/public/assets/Three-LICENSE.txt +0 -0
  106. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/src/App.tsx +0 -0
  107. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/src/api.test.ts +0 -0
  108. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/src/assets/brand/Inter-Variable.ttf +0 -0
  109. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/src/assets/brand/MiSans-Regular.woff2 +0 -0
  110. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/src/assets/brand/MiSans-Semibold.woff2 +0 -0
  111. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/src/assets/brand/logo-1.png +0 -0
  112. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/src/assets/calibration/README.md +0 -0
  113. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/src/assets/calibration/home-reference.png +0 -0
  114. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/src/assets/calibration/robotiq-ace-pro-2.glb +0 -0
  115. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/src/cameraStream.test.ts +0 -0
  116. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/src/cameraStream.ts +0 -0
  117. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/src/components/Brand.tsx +0 -0
  118. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/src/components/CalibrationIllustration.test.tsx +0 -0
  119. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/src/components/CalibrationIllustration.tsx +0 -0
  120. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/src/components/CalibrationScene.tsx +0 -0
  121. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/src/components/CameraView.test.tsx +0 -0
  122. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/src/components/CameraView.tsx +0 -0
  123. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/src/components/DevicesDialog.tsx +0 -0
  124. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/src/components/Dialog.tsx +0 -0
  125. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/src/components/DirectionCheckDialog.test.tsx +0 -0
  126. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/src/components/DirectionCheckDialog.tsx +0 -0
  127. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/src/components/Icon.tsx +0 -0
  128. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/src/components/InstructionPanel.tsx +0 -0
  129. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/src/components/LogsPanel.tsx +0 -0
  130. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/src/components/Notification.tsx +0 -0
  131. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/src/components/Popover.tsx +0 -0
  132. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/src/components/PresetChips.test.tsx +0 -0
  133. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/src/components/PresetChips.tsx +0 -0
  134. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/src/components/PresetsPanel.tsx +0 -0
  135. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/src/components/RunInfoDialog.tsx +0 -0
  136. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/src/components/StopButton.tsx +0 -0
  137. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/src/components/StorageSettings.test.tsx +0 -0
  138. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/src/components/StorageSettings.tsx +0 -0
  139. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/src/components/TaskHistory.test.tsx +0 -0
  140. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/src/components/TaskHistory.tsx +0 -0
  141. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/src/components/WorkspaceSettings.test.tsx +0 -0
  142. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/src/components/WorkspaceSettings.tsx +0 -0
  143. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/src/components/calibration/camera-lens.ts +0 -0
  144. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/src/components/calibration/direction-motion.test.ts +0 -0
  145. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/src/components/calibration/direction-motion.ts +0 -0
  146. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/src/components/calibration/locking-pins.ts +0 -0
  147. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/src/components/calibration.css +0 -0
  148. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/src/format.ts +0 -0
  149. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/src/main.tsx +0 -0
  150. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/src/naming.test.tsx +0 -0
  151. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/src/naming.ts +0 -0
  152. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/src/notifications.test.ts +0 -0
  153. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/src/notifications.ts +0 -0
  154. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/src/pages/RunPage.tsx +0 -0
  155. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/src/pages/SettingsPage.tsx +0 -0
  156. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/src/test/mockCamera.ts +0 -0
  157. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/src/test/setup.ts +0 -0
  158. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/src/useCameraPreview.test.tsx +0 -0
  159. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/src/useCameraPreview.ts +0 -0
  160. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/src/usePolling.test.tsx +0 -0
  161. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/src/usePolling.ts +0 -0
  162. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/tsconfig.json +0 -0
  163. {roboapi-0.4.3 → roboapi-0.4.5}/frontend/vite.config.ts +0 -0
  164. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/__init__.py +0 -0
  165. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/calibration/__init__.py +0 -0
  166. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/calibration/profile.py +0 -0
  167. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/errors.py +0 -0
  168. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/geometry.py +0 -0
  169. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/hardware/franka/feedback.py +0 -0
  170. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/hardware/franka/ik.py +0 -0
  171. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/hardware/franka/limits.py +0 -0
  172. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/hardware/ur/build.py +0 -0
  173. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/hardware/ur/dashboard.py +0 -0
  174. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/hardware/ur/ipc.py +0 -0
  175. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/hardware/ur/native/CMakeLists.txt +0 -0
  176. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/hardware/ur/native/dependencies.lock.json +0 -0
  177. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/hardware/ur/native/include/ur_cpp/cartesian_speedl.hpp +0 -0
  178. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/hardware/ur/native/include/ur_cpp/control_loop.hpp +0 -0
  179. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/hardware/ur/native/include/ur_cpp/geom.hpp +0 -0
  180. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/hardware/ur/native/include/ur_cpp/motion_primitives.hpp +0 -0
  181. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/hardware/ur/native/include/ur_cpp/robot_io.hpp +0 -0
  182. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/hardware/ur/native/include/ur_cpp/streaming_pose.hpp +0 -0
  183. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/hardware/ur/native/src/control_loop.cpp +0 -0
  184. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/hardware/ur/native/src/robot_io_urcl.cpp +0 -0
  185. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/hardware/ur/native/tests/cartesian_speedl_unit.cpp +0 -0
  186. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/hardware/ur/native/tests/control_modes_unit.cpp +0 -0
  187. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/hardware/ur/native/tests/streaming_pose_unit.cpp +0 -0
  188. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/hardware/ur/native/tests/velocity_governor_unit.cpp +0 -0
  189. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/hardware/ur/native/worker.cpp +0 -0
  190. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/images.py +0 -0
  191. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/mcp.py +0 -0
  192. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/motion.py +0 -0
  193. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/naming.py +0 -0
  194. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/operations.py +0 -0
  195. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/policy/__init__.py +0 -0
  196. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/policy/protocol.py +0 -0
  197. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/product-names.json +0 -0
  198. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/records.py +0 -0
  199. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/semantics.py +0 -0
  200. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/tasks.py +0 -0
  201. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/web/__init__.py +0 -0
  202. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/web/presets.py +0 -0
  203. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/web/static/assets/Bundler-LICENSE.txt +0 -0
  204. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/web/static/assets/Inter-OFL.txt +0 -0
  205. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/web/static/assets/Inter-Variable-c8O0ljhh.ttf +0 -0
  206. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/web/static/assets/Lucide-LICENSE.txt +0 -0
  207. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/web/static/assets/Meshoptimizer-LICENSE.txt +0 -0
  208. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/web/static/assets/MiSans-Regular-ES4DrbaF.woff2 +0 -0
  209. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/web/static/assets/MiSans-Semibold-B34HIk9C.woff2 +0 -0
  210. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/web/static/assets/PokeBrand-NOTICE.txt +0 -0
  211. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/web/static/assets/React-LICENSE.txt +0 -0
  212. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/web/static/assets/Three-LICENSE.txt +0 -0
  213. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/web/static/assets/home-reference-CTpf8-oV.png +0 -0
  214. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi/web/static/assets/robotiq-ace-pro-2-EJuoOXTy.glb +0 -0
  215. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi.egg-info/dependency_links.txt +0 -0
  216. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi.egg-info/entry_points.txt +0 -0
  217. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi.egg-info/requires.txt +0 -0
  218. {roboapi-0.4.3 → roboapi-0.4.5}/roboapi.egg-info/top_level.txt +0 -0
  219. {roboapi-0.4.3 → roboapi-0.4.5}/setup.cfg +0 -0
  220. {roboapi-0.4.3 → roboapi-0.4.5}/tests/test_chunk_boundary.py +0 -0
  221. {roboapi-0.4.3 → roboapi-0.4.5}/tests/test_direction_check.py +0 -0
  222. {roboapi-0.4.3 → roboapi-0.4.5}/tests/test_instruction_pending.py +0 -0
  223. {roboapi-0.4.3 → roboapi-0.4.5}/tests/test_mcp.py +0 -0
  224. {roboapi-0.4.3 → roboapi-0.4.5}/tests/test_monitor_error_clear.py +0 -0
  225. {roboapi-0.4.3 → roboapi-0.4.5}/tests/test_naming.py +0 -0
  226. {roboapi-0.4.3 → roboapi-0.4.5}/tests/test_preview.py +0 -0
  227. {roboapi-0.4.3 → roboapi-0.4.5}/tests/test_sessions.py +0 -0
  228. {roboapi-0.4.3 → roboapi-0.4.5}/tests/test_storage.py +0 -0
  229. {roboapi-0.4.3 → roboapi-0.4.5}/tests/test_task_runtime.py +0 -0
  230. {roboapi-0.4.3 → roboapi-0.4.5}/tests/test_task_web.py +0 -0
  231. {roboapi-0.4.3 → roboapi-0.4.5}/tests/test_tasks.py +0 -0
  232. {roboapi-0.4.3 → roboapi-0.4.5}/tests/test_workspace.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.3
3
+ Version: 0.4.5
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
@@ -59,12 +59,17 @@ and extract it. The GitHub repository is currently private.
59
59
  Mounting must match the model's training viewpoint.
60
60
  - **Host:** Linux x86-64 and CPython 3.10–3.12; new installations use 3.12 with
61
61
  [uv](https://docs.astral.sh/uv/getting-started/installation/).
62
- - **Model service:** a Base URL, model ID and API key for the model API contract.
62
+ - **Model service:** an API key for `https://api.pokebot.com/v1`, or a custom service
63
+ implementing the same model API contract. Select a model from the service's list during setup.
63
64
 
64
65
  The release wheel includes the web interface. UR e-Series requires a separately built
65
66
  control runtime from sources included in the wheel. Franka uses a compatible SDK and
66
67
  requires a realtime host.
67
68
 
69
+ Arms, grippers and cameras can be installed independently as adapter packages and combined
70
+ during setup. `roboapi new-embodiment NAME` generates their interfaces; use `--components camera`
71
+ for one component. See [Add hardware components](docs/embodiments.md) for SDK integration.
72
+
68
73
  ## Get started
69
74
 
70
75
  1. Install system libraries and create a Python environment on the robot host:
@@ -96,9 +101,7 @@ requires a realtime host.
96
101
 
97
102
  For Franka, configure the [realtime kernel and permissions](https://frankarobotics.github.io/docs/doc/libfranka/docs/real_time_kernel.html),
98
103
  connect to the control cabinet's Shop Floor interface and enable FCI. FR3 5.6 and Panda
99
- require a one-time import of the standard load and flange TCP in Desk: run
100
- `roboapi export-franka-tool --output endeffector-config.json` and follow the Franka
101
- installation guide in the source archive. The physical tool must match that preset.
104
+ also need a load/TCP import after initialization; see [Franka setup](docs/installation.md#fr3-system-560-and-panda-4x).
102
105
 
103
106
  Use the `video` and `dialout` groups as appropriate for the camera and serial gripper.
104
107
  On UR, configure the flange-centre TCP and physical load in PolyScope.
@@ -108,8 +111,16 @@ requires a realtime host.
108
111
  roboapi init
109
112
  ```
110
113
 
114
+ Select the arm, gripper and camera separately. Franka also requests the matching
115
+ assembly load or custom measurements. UR keeps its load settings in PolyScope;
116
+ other adapters ask only if their driver needs them.
117
+ For FR3 5.6 / Panda, export with `roboapi export-franka-tool` and import
118
+ the file in Desk before calibration.
119
+
111
120
  Have the robot address, camera device and model credentials ready. The wizard selects the
112
121
  gripper connection and saves the local configuration; Franka also needs Desk credentials.
122
+ Accept the default model address or enter your own, provide the API key, then select a
123
+ model from the returned list. Model discovery requires a network connection.
113
124
  3. Start the browser interface:
114
125
 
115
126
  ```sh
@@ -131,6 +142,7 @@ requires a realtime host.
131
142
  Actions run at 30 Hz. Between chunks, RoboAPI waits 0.5 seconds by default before capturing
132
143
  the next observation. Open the current model at the input’s right to go to **Settings →
133
144
  Model & runtime** and change its connection or **Chunk wait (s)** while stopped. Choose
145
+ **Connect** to load models, select one, then **Save** to apply the settings. Choose
134
146
  English or Chinese in **Settings → General**.
135
147
 
136
148
  Shift+Enter sends; Enter inserts a newline. Up/Down recalls past instructions without sending.
@@ -19,12 +19,17 @@ and extract it. The GitHub repository is currently private.
19
19
  Mounting must match the model's training viewpoint.
20
20
  - **Host:** Linux x86-64 and CPython 3.10–3.12; new installations use 3.12 with
21
21
  [uv](https://docs.astral.sh/uv/getting-started/installation/).
22
- - **Model service:** a Base URL, model ID and API key for the model API contract.
22
+ - **Model service:** an API key for `https://api.pokebot.com/v1`, or a custom service
23
+ implementing the same model API contract. Select a model from the service's list during setup.
23
24
 
24
25
  The release wheel includes the web interface. UR e-Series requires a separately built
25
26
  control runtime from sources included in the wheel. Franka uses a compatible SDK and
26
27
  requires a realtime host.
27
28
 
29
+ Arms, grippers and cameras can be installed independently as adapter packages and combined
30
+ during setup. `roboapi new-embodiment NAME` generates their interfaces; use `--components camera`
31
+ for one component. See [Add hardware components](docs/embodiments.md) for SDK integration.
32
+
28
33
  ## Get started
29
34
 
30
35
  1. Install system libraries and create a Python environment on the robot host:
@@ -56,9 +61,7 @@ requires a realtime host.
56
61
 
57
62
  For Franka, configure the [realtime kernel and permissions](https://frankarobotics.github.io/docs/doc/libfranka/docs/real_time_kernel.html),
58
63
  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.
64
+ also need a load/TCP import after initialization; see [Franka setup](docs/installation.md#fr3-system-560-and-panda-4x).
62
65
 
63
66
  Use the `video` and `dialout` groups as appropriate for the camera and serial gripper.
64
67
  On UR, configure the flange-centre TCP and physical load in PolyScope.
@@ -68,8 +71,16 @@ requires a realtime host.
68
71
  roboapi init
69
72
  ```
70
73
 
74
+ Select the arm, gripper and camera separately. Franka also requests the matching
75
+ assembly load or custom measurements. UR keeps its load settings in PolyScope;
76
+ other adapters ask only if their driver needs them.
77
+ For FR3 5.6 / Panda, export with `roboapi export-franka-tool` and import
78
+ the file in Desk before calibration.
79
+
71
80
  Have the robot address, camera device and model credentials ready. The wizard selects the
72
81
  gripper connection and saves the local configuration; Franka also needs Desk credentials.
82
+ Accept the default model address or enter your own, provide the API key, then select a
83
+ model from the returned list. Model discovery requires a network connection.
73
84
  3. Start the browser interface:
74
85
 
75
86
  ```sh
@@ -91,6 +102,7 @@ requires a realtime host.
91
102
  Actions run at 30 Hz. Between chunks, RoboAPI waits 0.5 seconds by default before capturing
92
103
  the next observation. Open the current model at the input’s right to go to **Settings →
93
104
  Model & runtime** and change its connection or **Chunk wait (s)** while stopped. Choose
105
+ **Connect** to load models, select one, then **Save** to apply the settings. Choose
94
106
  English or Chinese in **Settings → General**.
95
107
 
96
108
  Shift+Enter sends; Enter inserts a newline. Up/Down recalls past instructions without sending.
@@ -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,6 +18,10 @@ 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
27
  All Franka models use `--extra franka`; the lockfile selects the current FR3 SDK.
@@ -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,14 +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[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 standard 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 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
48
  All Franka models use the `franka` extra. FR3 5.6 and Panda additionally specify a
49
49
  matching SDK build in the same command. Only one SDK build can be installed in an environment;
50
50
  check the controller's system version in Desk Settings before installing.
51
51
  Verify that the CLI is available with `roboapi --help`.
52
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
+
53
56
  ### Fresh configuration after the rename
54
57
 
55
58
  Stop the old service before using the same hardware. RoboAPI uses
@@ -62,8 +65,10 @@ binary does not satisfy the new default path.
62
65
 
63
66
  ## UR
64
67
 
65
- In PolyScope, select a TCP at the flange centre with zero positional offset, and set the
66
- 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
67
72
  controller on port 63352 or a host USB/RS-485 serial connection during `roboapi init`.
68
73
  The selected URCap connection must be available on the controller.
69
74
 
@@ -103,12 +108,12 @@ Connect the host to the control cabinet's Shop Floor interface, following the of
103
108
  Confirm that the FCI feature is installed in Desk's system settings. Have the Desk username
104
109
  and password ready for `roboapi init`. Preview reads measured poses through Desk and works
105
110
  with FCI inactive. Beginning calibration first disables active FCI and confirms Programming
106
- 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
107
112
  existing Desk owner before beginning; RoboAPI handles the mode change. After Home, select
108
113
  one native translation axis at a time; all rotations stay constrained. Return A and the
109
114
  final Home return temporarily use FCI, then restore Programming and the selected axis.
110
- The physical assembly must match the
111
- [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.
112
117
 
113
118
  The Python SDK wheel supplies the motion library. Select the SDK build for the controller
114
119
  using the [compatibility table](https://frankarobotics.github.io/docs/doc/libfranka/docs/compatibility_matrix.html)
@@ -121,8 +126,8 @@ compatibility and Desk feedback during installation.
121
126
 
122
127
  ### FR3 system 5.6.0 and Panda 4.x
123
128
 
124
- Export the standard assembly's load and flange-centre TCP. This needs no robot connection
125
- or installation configuration:
129
+ After `roboapi init`, export the local assembly's load and flange-centre TCP. No robot
130
+ connection is needed:
126
131
 
127
132
  ```sh
128
133
  roboapi export-franka-tool --output endeffector-config.json
@@ -139,11 +144,12 @@ in Desk with an administrator account:
139
144
  file acceptance still require hardware verification; see the
140
145
  [Panda manual, pages 122–123](https://download.franka.de/documents/100010_Product%20Manual%20Franka%20Emika%20Robot_10.21_EN.pdf#page=122).
141
146
 
147
+ `roboapi export-franka-tool --standard` exports the shipped assembly without local configuration.
142
148
  Existing output files are not overwritten; choose another output path to export again. See the
143
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).
144
150
 
145
151
  During calibration and control initialization, RoboAPI reads back the mass, centre of mass,
146
- 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
147
153
  file and retry. FR3 5.6 and Panda read and verify this configuration; the current Desk protocol
148
154
  applies the same load and TCP automatically. Desk protocol selection uses a read-only probe,
149
155
  independently of the arm's motion limits.
@@ -157,7 +163,11 @@ configuration readback and guiding; their complete workflows still need hardware
157
163
  Follow [Get started](../README.md#get-started) to initialize, preview and calibrate.
158
164
  After the final Home return, the browser saves the calibration and initializes control,
159
165
  including the gripper. It then offers optional direction checks; **Done** returns to the run view.
160
- The setup wizard saves settings without contacting hardware or the model service.
166
+ The setup wizard does not contact hardware. It defaults to `https://api.pokebot.com/v1`,
167
+ accepts a custom Base URL, and uses the API key to fetch the available models before saving.
168
+ In the browser's model settings, **Connect** loads the list without saving credentials or
169
+ creating a session; select a model and choose **Save** to apply it. A failed connection
170
+ leaves the saved configuration unchanged.
161
171
  A successful camera preview shows fresh video. Franka arm preview uses Desk credentials
162
172
  and leaves FCI, brakes and operating mode unchanged. Calibration prepares Programming-mode
163
173
  guiding; automatic returns and Enable control prepare FCI when needed.
@@ -269,7 +279,13 @@ client's argument list. The wizard keeps the associated files beside that config
269
279
  [installation table](#install-from-pypi), adding `--upgrade` to install the latest release.
270
280
  3. For UR e-Series, repeat the native build above so the executable
271
281
  matches the installed package. Wheel installation does not update manually built binaries.
272
- 4. Restart using the same configuration and check preview and device status before enabling
282
+ 4. If the installation predates component adapters, run `roboapi init --complete` once
283
+ (add `-c /path/to/config.yaml` for a custom location). It confirms a missing URCap
284
+ controller address and asks for missing Franka assembly load data, preserving other
285
+ settings and credentials. UR load settings remain in PolyScope.
286
+ Existing serial-gripper calibrations remain valid for unchanged hardware. URCap users
287
+ must recalibrate because the connection identity now uses the actual controller address.
288
+ 5. Restart using the same configuration and check preview and device status before enabling
273
289
  control. Existing installation files remain in their local directory.
274
290
 
275
291
  Recalibrate when the physical installation, Home or task axes change. Follow any additional
@@ -8,13 +8,16 @@ A service must implement all four endpoints; a general chat endpoint alone is in
8
8
 
9
9
  ## Connection
10
10
 
11
- Configure the service's Base URL, model ID and API key through `roboapi init` or **Settings**.
11
+ Use `roboapi init` or **Settings** to enter an API key and select a model from the service's
12
+ list. The default Base URL is `https://api.pokebot.com/v1`; custom endpoints are supported.
13
+ In Settings, **Connect** fetches models without saving or creating a session;
14
+ **Save** applies the selected model and connection settings.
12
15
  For a Base URL such as `https://model.example/v1`, paths below are relative to `/v1/`.
13
16
  Requests use JSON and `Authorization: Bearer <API_KEY>`.
14
17
 
15
18
  | Method | Path | Purpose |
16
19
  | --- | --- | --- |
17
- | GET | `models` | Confirm that the configured model is available |
20
+ | GET | `models` | List models during setup and confirm the selected model when connecting |
18
21
  | POST | `sessions` | Create one session for a run |
19
22
  | POST | `chat/completions` | Request the next action chunk in that session |
20
23
  | POST | `sessions/{id}/close` | Close the session with final execution feedback |
@@ -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.
@@ -0,0 +1,19 @@
1
+ # v0.4.5 — Select models from the service
2
+
3
+ - Default to `https://api.pokebot.com/v1`, with custom endpoints still supported.
4
+ - Fetch the authenticated model list during `roboapi init` and select a model
5
+ instead of entering an ID or relying on a fixed default.
6
+ - In model settings, choose **Connect**, select a model, then **Save**. Keep the
7
+ current selection when it is available, and reload the list after changing
8
+ the address or API key.
9
+ - Discover models without saving draft credentials or creating a session.
10
+ Failed connections leave saved settings unchanged and can be retried.
11
+
12
+ ## Upgrading
13
+
14
+ Install the update in the existing environment and restart RoboAPI. Existing
15
+ endpoint and model settings remain in use; open **Settings > Model & runtime**
16
+ to connect and choose another model. New installation setup requires access to
17
+ the model service to retrieve its list.
18
+
19
+ This update does not require recalibration or rebuilding the UR native runtime.
@@ -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,提供运行页,以及安装配置和设置弹窗。
@@ -48,6 +48,8 @@ function backend(initial = runtime()) {
48
48
  } else if (path === "/api/policy/config") {
49
49
  config = { ...config, ...body };
50
50
  return json(config);
51
+ } else if (path === "/api/policy/models") {
52
+ return json({ models: ["vision-1", "vision-2"] });
51
53
  }
52
54
  return json(status);
53
55
  }
@@ -600,15 +602,17 @@ describe("Current model settings", () => {
600
602
  await screen.findByRole("heading", { name: "Ready" });
601
603
  const dialog = await settings();
602
604
  await waitFor(() =>
603
- expect(within(dialog).getByLabelText("Model ID")).toHaveValue("vision-2"),
605
+ expect(within(dialog).getByLabelText("Model")).toHaveValue("vision-2"),
604
606
  );
605
607
  expect(within(dialog).getByLabelText("API key")).toHaveValue("");
606
608
  expect(within(dialog).getByText("Configured")).toBeVisible();
609
+ await userEvent.click(within(dialog).getByRole("button", { name: "Connect" }));
610
+ await within(dialog).findByRole("button", { name: "Save" });
607
611
  fireEvent.change(within(dialog).getByLabelText("Chunk wait (s)"), {
608
612
  target: { value: "1.25" },
609
613
  });
610
614
  await userEvent.click(
611
- within(dialog).getByRole("button", { name: "Save & connect" }),
615
+ within(dialog).getByRole("button", { name: "Save" }),
612
616
  );
613
617
  await waitFor(() => expect(screen.queryByRole("dialog")).toBeNull());
614
618
  expect(
@@ -625,11 +629,11 @@ describe("Current model settings", () => {
625
629
  await screen.findByRole("heading", { name: "Running" });
626
630
  const dialog = await settings();
627
631
  await waitFor(() =>
628
- expect(within(dialog).getByLabelText("Model ID")).toHaveValue("vision-2"),
632
+ expect(within(dialog).getByLabelText("Model")).toHaveValue("vision-2"),
629
633
  );
630
- expect(within(dialog).getByLabelText("Model ID")).toBeDisabled();
634
+ expect(within(dialog).getByLabelText("Model")).toBeDisabled();
631
635
  expect(
632
- within(dialog).getByRole("button", { name: "Save & connect" }),
636
+ within(dialog).getByRole("button", { name: "Connect" }),
633
637
  ).toBeDisabled();
634
638
  });
635
639
  it("only reveals the key entered now and discards it when the panel is closed", async () => {
@@ -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();