243 Commits

Author SHA1 Message Date
6037ea877e
Merge branch 'main' of gitlab.dit.htwk-leipzig.de:phillip.kuehne/dezibot thesis 2025-02-26 15:41:22 +01:00
b249a916c3
Remove unused whetstone benchmark 2025-02-26 15:38:02 +01:00
665376886c Merge branch 'power_management' into 'main'
Introduce Power Management

See merge request phillip.kuehne/dezibot!1
2025-02-24 22:32:17 +00:00
0d7fcf477c
Update comments for clarification 2025-02-17 21:26:18 +01:00
064ed959c7
Add Power Test Case Program without Logging 2025-02-17 21:23:02 +01:00
92d63d98fa
Update power test case 2025-02-17 19:30:25 +01:00
2f2c6f2860
Add power test case 2025-02-17 19:23:50 +01:00
59e2ec3d10
Fix Motor cleanup 2025-02-17 19:23:31 +01:00
fdd59a83e3
Reset batttery charge in coloumbs on charge completion 2025-02-16 20:44:58 +01:00
21f313af5c
Fix "adc1 already in use!" log spam. 2025-02-16 19:18:20 +01:00
fd1be4ffeb
Improve Power State Update Task timing 2025-02-16 19:17:36 +01:00
a48dd7c9dd
Safeguard serial error prints 2025-02-16 13:08:25 +01:00
b410338109
Improve naming 2025-02-16 12:22:23 +01:00
33c23cb4f8
Update picking of next current allowance to take more than one outstanding allowance into consideration 2025-02-16 12:19:38 +01:00
7a7139360c
Fix mistakes 2025-02-16 02:04:02 +01:00
5efa7a5efd
Rename Power.* to PowerManager.* for clarity 2025-02-16 01:10:33 +01:00
ff11ad95b0
Merge commit 'bb338d31be6bd5d71db175c6243401b71725b41d' into power_management 2025-02-15 23:36:59 +01:00
ec457d31d9
Add test case for modeling functions 2025-02-15 22:42:04 +01:00
7ed58afea0
Fix charge calculation 2025-02-15 22:41:34 +01:00
ca37aa972b
Add test case for modeling functions 2025-02-15 22:07:55 +01:00
62d4c6bdb0
Fix oversights in modeling functions 2025-02-15 22:07:33 +01:00
ff80ebe4db
Add power Modeling functions to all components 2025-02-15 21:42:41 +01:00
5cb25a412a
Increase voltage moving average filter window from 10 values to 20 values 2025-02-14 21:19:36 +01:00
83674657b8
More processing of charge state 2025-02-14 21:09:04 +01:00
e6c7454e5b
Replace discharge curve with measured one. 2025-02-14 21:08:37 +01:00
ef8a757772
Add power test cases 2025-02-14 21:08:03 +01:00
2b57f300f2
Fix VUSB_SENS input mode. 2025-02-14 21:07:05 +01:00
f753fdcc9b
Add user-facing battery current calculation and fix logging 2025-02-14 13:46:50 +01:00
264e37c983
Add RAII-wrapped Mutexes for access to state-tracking variables 2025-02-14 12:00:31 +01:00
0d6977e148
Improve power denial handling 2025-02-13 22:57:55 +01:00
35c11f42e2
Minor fixes 2025-02-13 22:57:23 +01:00
c7e1af334f
Update test case 2025-02-13 22:56:10 +01:00
598ac75e32
Change approach of notifying of power problem to be more beginner friendly 2025-02-13 21:34:27 +01:00
4c13eb593e
Remove left over debug prints 2025-02-13 21:30:20 +01:00
51380ac692
Update Power Management Test 2025-02-13 21:29:53 +01:00
115b0e0679
Add power state initialisation 2025-02-13 21:12:40 +01:00
b0068333c8
Fixes 2025-02-13 00:54:03 +01:00
c130026f00
Handle denials of power appropriately 2025-02-12 22:59:13 +01:00
21f7d9ae8a
Behaviour clarification 2025-02-12 22:08:18 +01:00
39daae8cc3
Fix Include 2025-02-12 22:02:21 +01:00
1730ea958c
Fix Typo 2025-02-12 21:56:55 +01:00
7c349a3289
Integrate IMU into Power Management 2025-02-12 21:56:40 +01:00
a26acf4a92
Integrate Motors into Power Management 2025-02-12 21:50:29 +01:00
dfa778024b
Integrate OLED display in Power management 2025-02-12 21:38:05 +01:00
5407543658
Integrate color sensor, infrared LEDs and phototransistors into Power Management 2025-02-12 21:26:29 +01:00
e5ff1e7610
Group non-independent sensors 2025-02-12 21:24:57 +01:00
6611fba2dc
Allow release of reserved current regardless of the reservation having been granted 2025-02-12 20:39:59 +01:00
8a93e0ca93
Integrate RGB LEDs into power management 2025-02-12 18:27:48 +01:00
4bfae98f6b
Integrate Communication into Power Management 2025-02-12 18:07:41 +01:00
d64579eca4
Complete proxy functions in Power.h and refactor (mainly reorder) for clarity. 2025-02-12 17:42:22 +01:00