Commit Graph

158 Commits

Author SHA1 Message Date
Lorow 555e290d71 Reformat project using clang-format 2026-01-06 22:51:24 +01:00
m-RNA 97b910a38c Move the battery power calculation part to the BatteryMonitor class 2026-01-01 17:14:53 +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 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
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 ebdae51a20 Switch base config back to babble 2025-12-14 21:03:37 +01:00
Lorow a25275a47f Simplify default_hostname handling 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 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 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 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
Lorow 3494edc822 Cleanup after rebase 2025-12-14 21:03:36 +01:00
Lorow 6da759b2e6 Bump UVC settings, clean up sdkconfig in preparations for more boards 2025-12-14 21:03:36 +01:00
Summer 6c6d184e55 fix scan timeouts 2025-11-23 14:00:15 -08:00
bwmp 17bcd12859 Comment out stream server start call
Comment out the streamServer.startStreamServer() call. I forgot it didnt actually work and didnt mean to commit it
2025-10-26 14:15:36 -07:00
bwmp 2e8f328278 fix 2025-10-25 18:06:18 -07:00
Lorow dbcee66fa8 Fix getLEDCurrentCommand after rebase, cleanup todos, add current monitoring to setup script 2025-10-19 19:29:04 +02:00
Lorow d67c0251fa cleanup after rebasing 2025-10-18 21:23:40 +02:00
Lorow 5c66c9ca77 Rework str based responses to json 2025-10-18 19:51:29 +02:00
Lorow e5ce325e3f Remove cJSON 2025-10-18 19:51:29 +02:00
Lorow f241603a82 Remove heartbeats in favor of ping command 2025-10-18 19:51:27 +02:00
Lorow ecf881a552 Remove reset camera 2025-10-18 19:35:24 +02:00
Lorow 44b5fe157a Rewrite commands to nlohmann-json 2025-10-18 19:35:22 +02:00
Lorow e35413a0a6 Add nlohmann-json 3.12.0 2025-10-18 19:21:17 +02:00
Lorow 4ae552abca Revert stopping serial manager in wifi mode 2025-10-18 19:09:29 +02:00
Lorow 1a06c1a053 Merge branch 'main' into main 2025-10-18 19:02:41 +02:00
PhosphorosVR 05cc906988 Adjust camera configuration 2025-09-30 13:49:56 +02:00
PhosphorosVR 66b4264d73 Update USB configuration descriptor to advertise max bus power consumption as 200 mA 2025-09-27 21:06:23 +02:00
PhosphorosVR e47735c720 Changes made based on pr feedback. 2025-09-23 01:46:53 +02:00
PhosphorosVR 15641753f0 Improve frame handling in UVCStream to prevent corruption and ensure proper pacing
maybe fix to camera glitches
2025-09-17 12:30:19 +02:00
PhosphorosVR 69406e62b3 Fixe: name not saving 2025-09-16 21:55:17 +02:00
Lorow 82c24e57a7 Fix MDNS name not getting saved after a single command 2025-09-16 20:49:23 +02:00