3 Commits

Author SHA1 Message Date
781540d3a8 Add CSV plotting and episode recording functionality
- Implemented `plot_data_csv.py` to read CSV files and generate plots for velocity and linear acceleration signals.
- Created `record1.py` for recording ESP32 IMU data, DIN/DOUT states, and RealSense camera images into episodes.
- Enhanced `ProviderWorldIMUVelocityEstimator` to include stationary detection logic, resetting velocity when stationary.
- Updated `EpisodeWriter` to save episode data with timestamped filenames for better organization.
2026-07-10 10:23:15 +08:00
b4739362a5 Refactor IMU velocity estimator to improve gravity compensation and integrate world-frame velocity calculations 2026-07-07 17:08:04 +08:00
fd286e6a9e Add episode recording functionality and enhance serial communication handling
- Introduced record_episode.py for capturing ESP32 IMU data and RealSense images.
- Added SwitchChangeDetector and SwitchLevelController for managing recording triggers.
- Enhanced ESP32Bridge with new methods for reading samples and latest packets.
- Updated verify.py and visualise.py to improve serial communication stability.
- Modified .gitignore to include dataset, csv, and png directories.
2026-07-03 10:53:49 +08:00