Files
kinect/tests
kinect-botandsisyphus-dev-ai 46187b60a4 fix(tracker): publish the mirrored frame as color, matching the user's actual Windows experience
After the pose-mirror fix (5157651) made skeleton/depth correct, the RGB
video still looked wrong: mirrored on Linux where the user's actual Windows
reference showed a natural selfie-mirror video in-game. Checking the current
win_main.cpp + win_camera.cpp source shows no mirroring anywhere in the
publish path today - but that's inconsistent with what the user actually
observed on their working Windows setup, most likely because the deployed
exe predates a later "un-mirror for cursor accuracy" commit in this
project's history, or an earlier point in that mirror saga is what they
actually tested.

The published color buffer is fully independent of skeleton/cursor
correctness (driven only by the separate pose-inference path, verified
correct), so mirroring it carries no correctness risk. Tracker._inference_worker
now stores the same mirrored copy used for pose inference as self._latest_frame
(previously the raw capture), so the published color stream matches the
selfie-mirror video the user's Windows setup actually showed them.

Renamed/updated the regression test (now
test_inference_worker_mirrors_frame_for_pose_and_publish) to assert both the
pose-inference input and the published frame equal the mirrored copy. Full
suite: 11/11 passing.

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

tests/ — cross-cutting test targets

  • test_core.cpp — GoogleTest smoke test linked against libnui_core, run via CTest.
  • test_smoke.py — pytest smoke test proving collection + a passing case.

Per-module unit tests (mapping golden vectors, synth pack/unpack, contract layout) are added alongside their todos.