Port developer debug tests to iOS

This commit is contained in:
James Babcock committed 2026-10-31 13:57:18 -07:00
1 parent bc57557f04
commit a5eda29368
16 files changed
+737 -151

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
/** Platform-neutral IMU types, shared by imu.ts and imu.ios.ts. */
export type ImuReading = { x: number; y: number; z: number; source: number };
/** Map an IMU sample's EventSource to a short label. */
export function imuSourceLabel(source: number): string {
switch (source) {
case 1:
return "R arm";
case 2:
return "ring";
case 3:
return "L arm";
default:
return "device";
}
}