Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | 1x 1x 1x 1x 1x 1x 1x 1x 1x 100x 100x | import {
DepthCameraState,
Point3,
TrackingConfigState
} from '@reflex/shared-types';
export const trackingService = {
getStatus: vi.fn().mockName('fakeTrackingService.getStatus')
};
export const pointCloudService = {
getPointCloud: vi.fn().mockName('fakePointCloudService.getPointCloud')
};
export const processingService = {
getInteractions: vi
.fn()
.mockName('fakeProcessingCloudService.getInteractions')
};
export const settingsService = {
getSettings: vi.fn().mockName('fakeSettingsService.getSettings')
};
export const logService = {
sendErrorLog: vi.fn().mockName('fakeLogService.sendErrorLog')
};
export const state: TrackingConfigState = {
isCameraSelected: true,
selectedCameraName: 'TestCamera',
selectedConfigurationName: 'TestConfig',
depthCameraStateName: DepthCameraState[DepthCameraState.Streaming]
};
export const dummyPoints = new Array<Point3>();
for (let i = 0; i < 100; i++) {
const pt = {
x: i,
y: -i,
z: i + (1 / i),
isFiltered: i < 10 || i > 90,
isValid: i % 2 === 0
};
dummyPoints.push(pt);
}
|