add decoder for trackable

This commit is contained in:
2025-03-15 10:19:56 -05:00
parent 80588c1ce4
commit 00cf0e9301
4 changed files with 172 additions and 0 deletions
+19
View File
@@ -9,6 +9,25 @@ export type RTTrPHeader = {
subModuleCount: number;
};
export type TrackableModule =
| CentroidPosition
| CentroidAccelVelocity
| TrackedPointPosition
| TrackedPointAccelVelocity
| OrientationEuler
| OrientationQuaternion
| ZoneCollisionDetection;
export type Trackable = {
type: number;
size: number;
nameLength: number;
name: string;
timestamp?: number;
numberOfModules: number;
modules: TrackableModule[];
};
export type CentroidPosition = {
type: number;
size: number;