mirror of
https://github.com/markqvist/RNode_Firmware
synced 2026-08-12 17:39:55 -04:00
Streams BHI260AP accelerometer (50Hz), gyroscope (50Hz), and magnetometer (25Hz) as timestamped CSV to SD card. Ring buffer in PSRAM (512 samples) flushed to SD from the main loop. Remote debug command 'L' toggles logging. Python tool: ./scripts/screenshot.py log CSV format: ms,ax,ay,az,gx,gy,gz,mx,my,mz (raw int16 units) Measured throughput: ~43Hz actual sample rate. Also fixed: BHI260AP init no longer gated on hw_ready (radio provisioning) — IMU sensors should work regardless of radio state. Foundation for compass calibration (PCA on magnetometer data), gesture recognition training, and activity classification. |
||
|---|---|---|
| .. | ||
| screenshot.py | ||