Files
kinect/docs
kinect-botandsisyphus-dev-ai fd1c9ad3e5 feat(build): add a Nix flake for a venv-free Linux build
flake.nix builds the whole project with Nix instead of a manual uv venv:

- the Python tracker as a pure Nix-built environment via uv2nix, from
  tracker/uv.lock (generated by uv lock against pyproject.tomls pins -
  numpy==2.5.5, opencv-python-headless==5.1.0.95, mediapipe==1.2.3, Python
  3.12), so the environment is an immutable Nix store path assembled from
  hash-pinned wheels, never a mutable venv or a pip install step. libglvnd
  replaces the manual libGLESv2.so.2 .deb-extraction workaround.
- the OS-agnostic core + CTest suite via cmake (nix run .#core-test).
- the Windows shim + native tracker cross-compiled via nixpkgs mingw-w64
  (pkgsCross.mingwW64/mingw32; nix run .#shim-build), with CXX32/CXX64/CXX_WIN
  wired to the build scripts override hooks.

nix run .#tracker runs the tracker directly; nix develop gives a shell with
everything for manual work. docs/setup-linux.md documents the Nix path as
the lead option, keeping the uv/venv path as the no-Nix fallback.

Co-authored-by: sisyphus-dev-ai <sisyphus-dev-ai@users.noreply.github.com>
2026-11-30 10:00:15 -05:00
..

docs/ - setup, build, spike reports

  • setup-linux.md - reproducible Linux pipeline (core build, tracker, OpenNI2 driver, e2e).
  • setup-windows.md - Windows device-attach + Kinect10.dll shim paths and DEA config.
  • calibration.md - one-time T-pose + mirror calibration how-to.
  • troubleshooting.md - mirror bit, player-lost, flat/out-of-range depth, driver discovery.
  • build.md - toolchain + build instructions (cmake, venv, cross-compile status).
  • spike-linux.md, spike-windows.md - spike reports (todos 3, 4).

Packaging (per-OS runnable bundles): see ../packaging/README.md.