Commit Graph

9 Commits

Author SHA1 Message Date
22bd5a6f70 update: fixed shake animation
The shake animation figures have been fixed. However, the petting emotion working with touch remains an issue. The Lottie JSON for the emotion is unable not parsable for some reason and my next step is to fix that for tomorrow's meeting.
2026-01-27 00:30:12 +05:30
90031cd16e Add progressive deceleration to shake emotion and new shy asset
Implements a progressive deceleration phase for the shake emotion using a cubic ease-out, replacing the previous abrupt stop logic. Adds the shy.json animation asset for the 'shy' emotion. Updates lottie_player to properly delete existing blink timers before scheduling a new one. Also includes minor header and enum adjustments for shake_emotion.
2026-01-25 16:12:11 +05:30
5b8beca22f Add extreme optimizations to Lottie player
Introduces several performance optimizations: pre-baked keyframes with all frames computed at load time, fixed-point math for pre-bake, direct framebuffer rectangle fills bypassing LVGL, frame skipping to avoid stutter, and sprite caching for blink animation. Adds new data structures and logic for pre-baked animation frames, fast rectangle fill, and optimized rendering paths. These changes significantly reduce runtime CPU usage and improve animation smoothness on resource-constrained embedded systems.
2026-01-24 20:13:58 +05:30
4d68a788ad Add shake emotion with persistent state and calibration
Introduces a new shake emotion animation with a shake-stop transition, including embedded Lottie animation data and a state machine for emotion transitions. Adds a non-volatile storage (NVS) driver for persistent state management, including first-boot detection, boot count, and IMU calibration storage. Updates emotion manager and related headers to support new shake emotion states, and integrates new UI components for calibration and loading animations.
2026-01-24 20:02:04 +05:30
8aeaed8a15 Refactor project structure and update display logic
Reorganized source files into new directories for config, drivers, sensors, emotion engine, and UI. Removed legacy assets and code related to previous eye animation implementation. Added new display and touch drivers, emotion manager, shake detector, and UI components. Updated CMake project name to 'irobot_display'.
2026-01-24 15:21:50 +05:30
2c731c72e3 update: added support for IMU and Lottie JSON 2026-01-24 13:50:49 +05:30
ecf234efa5 Update .gitignore to exclude cache and managed components
Added /.cache and /managed_components to .gitignore to prevent these directories from being tracked by git.
2026-01-18 22:54:24 +05:30
b71a39aae9 Initial project import with ESP32 animated eyes
Add initial project files for ESP32 animated eyes, including main application sources, assets, CMake configuration, and supporting ESP-IDF components for LCD and touch functionality. Includes documentation, test apps, and configuration files.
2026-01-18 21:32:07 +05:30
03c8d43b7a Initial commit 2026-01-18 15:57:25 +00:00