Commit Graph

261 Commits

Author SHA1 Message Date
Lorow c6584af3b5 Merge pull request #31 from EyeTrackVR/feature/reformat-code-with-clang
Reformat project using clang-format
2026-01-07 22:11:43 +01:00
Lorow 555e290d71 Reformat project using clang-format 2026-01-06 22:51:24 +01:00
Lorow 567d3ebd75 Merge pull request #28 from m-RNA/feature/add-battery-monitor
Add AdcSampler & BatteryMonitor
2026-01-06 19:12:58 +01:00
m-RNA 80599b48ee docs: update README to include battery monitoring features and commands 2026-01-01 21:46:29 +08:00
m-RNA 97b910a38c Move the battery power calculation part to the BatteryMonitor class 2026-01-01 17:14:53 +08:00
m-RNA 017474746f config: disable battery monitoring by default and clean up ADC settings
- Set CONFIG_MONITORING_BATTERY_ENABLE to n by default
- Update help text for ADC pin configuration in Kconfig
- Remove unused config options
2026-01-01 16:35:49 +08:00
m-RNA a2cce45d78 Cleaned up code and added ESP32 support for AdcSampler-based BatteryMonitor and current monitoring 2026-01-01 15:56:53 +08:00
m-RNA 4bc682b4f2 Fix: Let ESP32 compile successfully 2026-01-01 15:56:53 +08:00
m-RNA c1b15dce58 Add battery monitoring sdkconfig options, including voltage monitoring enable, ADC pin, voltage divider and sampling interval settings 2026-01-01 15:56:53 +08:00
m-RNA 7118593f52 Add AdcSampler and BatteryMonitor source file support for esp32s3 target 2026-01-01 15:56:53 +08:00
m-RNA 02cc939d32 Add command support for obtaining battery status 2026-01-01 15:56:53 +08:00
m-RNA 2a3f99b10c Add battery monitoring to the monitoring manager, update relevant methods and log output 2026-01-01 15:56:53 +08:00
m-RNA 973afba994 Reconstruct the CurrentMonitor class, remove unused members and methods, and simplify ADC initialization logic 2026-01-01 15:56:53 +08:00
m-RNA b739bd2775 Add BatteryMonitor class to support battery monitoring 2026-01-01 15:56:53 +08:00
m-RNA 813ebf9712 Add AdcSampler class to support ADC monitoring function 2026-01-01 15:56:53 +08:00
Lorow 347d1d6b3e Merge pull request #25 from m-RNA/Optimize-WiFi-connection-time
Optimize WiFi connection time by using WIFI_FAST_SCAN
2025-12-31 20:21:18 +01:00
Lorow faef491a68 Merge pull request #27 from m-RNA/update-stream_state-events
Unify stream state events across HTTP and UVC for LED feedback
2025-12-31 20:18:14 +01:00
Lorow f1acb5dedf Merge pull request #23 from m-RNA/Fix-FPS-reporting
Fix FPS reporting
2025-12-31 20:09:08 +01:00
m-RNA b6c5e7932b Initial StreamState is Stream_OFF 2025-12-23 22:31:50 +08:00
m-RNA 31f8ac38fc Fix WiFi Stream FPS reporting 2025-12-23 03:30:05 +08:00
m-RNA 3057b0237d Unify stream state events (UVC) 2025-12-23 03:11:14 +08:00
m-RNA 7fce6a0b74 Add event queue to send stream event for StreamServer 2025-12-23 03:09:06 +08:00
m-RNA cf3476abd7 Fix stream_state update logic and add the event queue acquisition function 2025-12-23 03:03:31 +08:00
m-RNA 1131bd2448 Check whether WIFI is open before closing 2025-12-22 00:09:42 +08:00
m-RNA a35f474c0d Optimize WiFi connection time by using WIFI_FAST_SCAN (~2000ms improvement) 2025-12-21 23:55:20 +08:00
Lorow d24889a141 Update supported targets in README.md 2025-12-14 22:17:51 +01:00
Lorow 054dda6f8c bump version to 0.2.1rc0 2025-12-14 22:02:32 +01:00
Lorow f06705bec9 Add merge-multiple: true to download-artifact, fixing the release not grabbing built files 2025-12-14 22:02:23 +01:00
Lorow 8f90cdb6e0 bump version to 0.2.0rc0 2025-12-14 22:02:23 +01:00
Lorow 632eb2c029 Merge pull request #1 from EyeTrackVR/feature/add-support-for-other-boards
Feature/add support for other boards
2025-12-14 21:11:26 +01:00
Lorow c60db9ee42 Cleanup todos 2025-12-14 21:03:37 +01:00
Lorow ebdae51a20 Switch base config back to babble 2025-12-14 21:03:37 +01:00
Lorow 139486be01 Add documentation about tests 2025-12-14 21:03:37 +01:00
Lorow a25275a47f Simplify default_hostname handling 2025-12-14 21:03:37 +01:00
Lorow 916f670753 Update python to 3.13 2025-12-14 21:03:37 +01:00
Lorow d31c1ee502 expand has/lacks_capability markers to support AND 2025-12-14 21:03:37 +01:00
Lorow 4dba0d5d70 Add uart cleanup for esp32s boards 2025-12-14 21:03:37 +01:00
Lorow 8a28cfa628 fix uart pinout on esp32s boards 2025-12-14 21:03:37 +01:00
Lorow 9ac95a2a76 Fix json parsing in openiris_device in cases where logs got stiched together, fix tests not waiting long enough after reboot, add board cleanup step after test session, fix leftover prints in networks representation breaking json output 2025-12-14 21:03:37 +01:00
Lorow abd10fc61a Finish writing tests for commands, fix resolution being accidentally set to lower one, improve fixtures - need rewrite 2025-12-14 21:03:37 +01:00
Lorow e2d0981e0e Add more tests, add lacks_capability marker, add todo test list 2025-12-14 21:03:36 +01:00
Lorow eed1fa2cb0 Implement tests for changing device mode and MDNS name 2025-12-14 21:03:36 +01:00
Lorow 00c4fe66c4 Initial support for a hardware test harness with pytest and UV 2025-12-14 21:03:36 +01:00
Lorow 7d2eedf5f9 Clean up extra components handling in cmake 2025-12-14 21:03:36 +01:00
Lorow c3ea42c4d0 Add initial version of the Build and release action 2025-12-14 21:03:36 +01:00
Lorow 96016909c5 Fix improper json formatting in executeFromType 2025-12-14 21:03:36 +01:00
Lorow 440941accb Fix Mongoose stackoverflow 2025-12-14 21:03:36 +01:00
Lorow 60d568296a Refactor the HTTP Rest API commands, fix streaming missing 2025-12-14 21:03:36 +01:00
Lorow 68cac0b3ac Further fixes and adjustments for getting UART working on esp32 boards 2025-12-14 21:03:36 +01:00
Lorow 3b66642a83 Initial refactors to support esp32 boards 2025-12-14 21:03:36 +01:00