feat(attach-linux,fallback-openni2): usbip shim (socket-verified) + OpenNI2 SynthKinect driver (depth verified via real consumer) (wave 6; todo 15 done, 9 partial)
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:09:31 -05:00
1 parent cb311381a2
commit 76f3b6447f
19 files changed
+2241 -8

No files matched your search

@@ -0,0 +1,34 @@
#ifndef NUI_ATTACH_LINUX_KINECT_EXPORT_H
#define NUI_ATTACH_LINUX_KINECT_EXPORT_H
#include <array>
#include "attach_linux/usbip_protocol.h"
#include "protocol/protocol.h"
namespace attach::linux_attach {
// The three USB/IP-exportable busids for one virtual Kinect v1 (camera,
// audio, motor — core/protocol/wire.h's three sibling USB functions), in
// UsbFunction enum order, with the EXACT descriptor fields
// core/protocol/descriptors.cpp (wire::device_descriptor/config_descriptor)
// already commits the device to over control transfers.
struct ExportSet {
std::array<usbip::ExportedDevice, 3> devices;
};
ExportSet default_export_set(uint32_t busnum);
nui::protocol::UsbFunction function_for_busid(const ExportSet& set, const std::string& busid);
const usbip::ExportedDevice* device_for_busid(const ExportSet& set, const std::string& busid);
// A placeholder frame source for the standalone `serve` CLI command: a
// single all-background (zero depth, black color) 640x480 frame, re-returned
// on every call. Real frame data comes from wiring this device to the
// tracker/synth pipeline (plan todos 5/7/10) at a higher integration layer
// that this attach shim does not own.
std::shared_ptr<const nui::protocol::SynthFrame> placeholder_frame_source();
} // namespace attach::linux_attach
#endif // NUI_ATTACH_LINUX_KINECT_EXPORT_H