mirror of
https://github.com/ruvnet/RuView
synced 2026-07-17 16:33:18 +00:00
fdc7142dfa
- Added IosRssiService to handle synthetic RSSI data for iOS. - Created WebRssiService to simulate RSSI scanning on the web. - Defined shared types for WifiNetwork and RssiService in rssi.service.ts. - Introduced simulation service to generate synthetic sensing data. - Implemented WebSocket service for real-time data handling with reconnection logic. - Established Zustand stores for managing application state related to MAT and pose data. - Developed theme context and utility functions for consistent styling and formatting. - Added type definitions for various application entities including API responses and sensing data. - Created utility functions for color mapping and URL validation. - Configured TypeScript settings for the mobile application.
21 lines
591 B
TypeScript
21 lines
591 B
TypeScript
export const SIMULATION_TICK_INTERVAL_MS = 500;
|
|
export const SIMULATION_GRID_SIZE = 20;
|
|
|
|
export const RSSI_BASE_DBM = -45;
|
|
export const RSSI_AMPLITUDE_DBM = 3;
|
|
|
|
export const VARIANCE_BASE = 1.5;
|
|
export const VARIANCE_AMPLITUDE = 1.0;
|
|
|
|
export const MOTION_BAND_MIN = 0.05;
|
|
export const MOTION_BAND_AMPLITUDE = 0.15;
|
|
export const BREATHING_BAND_MIN = 0.03;
|
|
export const BREATHING_BAND_AMPLITUDE = 0.08;
|
|
|
|
export const SIGNAL_FIELD_PRESENCE_LEVEL = 0.8;
|
|
|
|
export const BREATHING_BPM_MIN = 12;
|
|
export const BREATHING_BPM_MAX = 24;
|
|
export const HEART_BPM_MIN = 58;
|
|
export const HEART_BPM_MAX = 96;
|