Skip to content
PUDAPPublic

About

driver and puda edge for custom qubot machines

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

qubot

Gantry and end-effector packages for building a PUDA qubot edge. Nothing in this repository is a running edge. Agents start from docs/building-an-edge.md. The split is explained in MODULARIZATION.md. Changes are recorded in CHANGELOG.md.

  • No MACHINE_ID, NATS servers, host addresses, serial-device paths, container config, or .env. A site edge's .env.example stays placeholders.
  • families/ is the copy source for a new package. Do not import it.
  • packages/qubot-geometry is the shared position, deck, and labware package.
  • packages/qubot-edgekit loads a numbered contract and refuses to start an edge until a filled local .env exists.
  • Gantry directories are {serial}-{size}-{bus}. Serials 001 to 004 are provisional labels for the first build, not recorded asset tags. 005 to 009 continue from the gantry limits file. 005 is 8 units, arranged 2 along Y by 4 along X.
  • Each gantry placeholders.toml leaves safety, confirm, and startup homing unset. The edge contract fills them.
  • Each gantry has a default deck of one 2x2 block per unit. Calibrated holder positions belong to the site edge.
  • Finished edges are not stored on main. For an edge built before the qubot modularization and the monorepo restructuring, use the legacy-edges branch.

Build a site edge

Fill CONTRACT.md, then scaffold the edge service from edge-python-template. Keep the edge directory out of this repository and put it in the site monorepo's edges/.

python3 scripts/check_contract.py path/to/edge/contracts/1.toml
python3 scripts/vendor_edge.py path/to/edge/contracts/1.toml path/to/edge

vendor_edge.py copies the named gantry, the named end effectors, qubot-geometry, and qubot-edgekit into path/to/edge/vendor/, and writes vendor/REVISION. It does not build an image or start a container. From the edge directory, generate the lock with uv lock, then build only when that edge is allowed to move.

Attaching another toolhead writes the next contract and refreshes vendor/. It also does not build or remove an image:

python3 scripts/attach_toolhead.py path/to/edge a-axis-capper

.env.example is placeholders only. If the user supplies this host's .env, copy it with python3 scripts/accept_host_env.py path/to/edge path/to.env. Otherwise the edge refuses to start until .env exists and its required values are filled.

Gantries

Package Where it has been used
001-1unit-grbl-serial miniqubot
002-1unit-reprap-http capper, then syringequbot
003-2unit-grbl-serial pipqubot-mof
004-4unit-reprap-http pipqubot-xl
005-8unit-grblhal-serial Claw machine (Pick-and-place)
006-1unit-grblhal-serial Dancefloor (Vacuum chamber)
007-2unit-grblhal-serial Overkill2 (Liquid handling - pipette gantry)
008-1unit-grblhal-serial Photoreactor (UV qubot)
009-1unit-grblhal-serial EIS Qubot (Electrochemical station)

End effectors

Package Where it has been used
rline-50-1000 pipqubot-mof, then pipqubot-xl. Also the PESCador pipette body.
a-axis-capper pipqubot-xl
autosampler-syringe syringequbot
rotating-vacuum-gripper PESCador claw. Vacuum and yaw share the gantry port.
vacuum-chamber PESCador dancefloor. Valve and lid waypoints share the gantry port.
orion-4ch-led PESCador photoreactor. Four channels, one serial port.
parallel-force-actuator PESCador EIS station. Four serial actuators.

Offline checks

uv sync --all-packages --group dev
uv run --all-packages --group dev pytest

About

driver and puda edge for custom qubot machines

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages