feat(calibration,contract,tracker): T-pose calibration + seqlock fix + articulated-depth wiring (wave 8a; todos 11,20,21 done)
ci / Linux C++ core (cmake + ctest) (push) Canceled after 0s
ci / Python tracker (pytest) (push) Canceled after 0s

This commit is contained in:
kinect-bot committed 2026-11-25 05:47:19 -05:00
1 parent b1638944cb
commit 0af22f1783
16 files changed
+733 -49

No files matched your search

+17
View File
@@ -74,6 +74,23 @@ TEST(Contract, PublishCyclesThroughAllSlotsNewestWins) {
}
}
TEST(Contract, RelativeSlotGenerationsReadLikePythonProducer) {
FrameContract contract{};
for (uint32_t i = 1; i <= kFrameSlotCount * 3; ++i) {
const uint64_t published = contract.published_sequence + 1;
FrameSlot& slot = contract.slots[published % kFrameSlotCount];
++slot.sequence;
slot.data.frame_number = i;
++slot.sequence;
contract.published_sequence = published;
FrameData out{};
read_latest_frame(contract, out);
EXPECT_EQ(out.frame_number, i);
EXPECT_EQ(slot.sequence % 2, 0u);
}
}
TEST(Contract, ControlMessageHeaderCarriesContractVersion) {
HeartbeatMessage hb{};
hb.header.message_type = ControlMessageType::HEARTBEAT;