Matthew Kennedy
|
4e3e4d75d4
|
fix heater control timer test
|
2024-09-24 19:45:58 -07:00 |
Matthew Kennedy
|
47a827044a
|
cleanup
|
2024-09-24 19:33:26 -07:00 |
Matthew Kennedy
|
76fc424269
|
cleanup
|
2024-09-24 19:33:20 -07:00 |
Matthew Kennedy
|
4e08e59c52
|
support 4 channels
|
2024-09-24 18:36:28 -07:00 |
Matthew Kennedy
|
8688ed9e5e
|
support 4 channels
|
2024-09-24 18:36:14 -07:00 |
Matthew Kennedy
|
ec29c21a84
|
safer comparison of CAN frame size
|
2024-09-24 18:36:05 -07:00 |
Matthew Kennedy
|
a34e0bbdf2
|
Use a 0.5s timeout for over/underheat to reject transients
|
2024-09-24 18:35:44 -07:00 |
Matthew Kennedy
|
b16b3239bb
|
better check lambda validity (#321)
|
2024-09-24 18:17:02 -07:00 |
Matthew Kennedy
|
c7f1a17b00
|
revise comment
|
2024-06-25 23:45:59 -07:00 |
rusefillc
|
d8e65a2c24
|
suggestion to improve naming (#294)
* Rename GetInternalBatteryVoltage() to GetInternalHeaterVoltage()
* sampling, heater: fix Battery vs Heater naming mess
---------
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
|
2024-06-25 23:44:32 -07:00 |
Matthew Kennedy
|
867082f276
|
always use the new pump start logic
|
2024-06-25 23:40:39 -07:00 |
Andrey G
|
e70df58290
|
Underheat issue (#314)
* f0_module needs hack to start pump before closed loop
* Fix paranoid check
* Make START_PUMP_TEMP_THRESHOLD relative
|
2024-06-25 23:37:51 -07:00 |
rusefillc
|
63b77f723e
|
Typo in dac.h fix #308 (#315)
|
2024-04-24 16:06:24 -07:00 |
Matthew Kennedy
|
bffc99c567
|
allow manual fw runs
|
2024-03-10 20:19:01 -07:00 |
Andrey G
|
94f2377bca
|
Gain vs loss confusion (#304)
|
2023-12-10 03:53:56 -08:00 |
rusefillc
|
72d5a0dc06
|
making TX period available since downstream wants to multiply it by two (#302)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
|
2023-12-05 18:05:32 -08:00 |
Andrey G
|
56ee5c80bf
|
TS_ENABLED vs ENABLE_TS: fix mess (#301)
board.mk defines ENABLE_TS for Makefile
while Makefile defines TS_ENABLED for compiled code.
Use TS_ENABLED in main.cpp
|
2023-12-03 15:57:18 -08:00 |
Matthew Kennedy
|
29556e471d
|
F0 doesn't need UART
|
2023-11-23 00:03:17 -08:00 |
Matthew Kennedy
|
b75f8a9224
|
don't check in the binary
|
2023-11-22 21:11:07 -08:00 |
Matthew Kennedy
|
a5372c65d9
|
update F0 build outputs since it's in a good state
|
2023-11-22 20:53:34 -08:00 |
Matthew Kennedy
|
5da22cf89f
|
keep support for existing CAN reboot command
|
2023-11-22 20:52:09 -08:00 |
Matthew Kennedy
|
ea46db500f
|
set valid bit only when nernst voltage is well controlled
|
2023-11-22 19:35:40 -08:00 |
Matthew Kennedy
|
55c25a504c
|
test
|
2023-11-22 19:30:09 -08:00 |
Matthew Kennedy
|
f2aef8fa06
|
an undisclosed source says these parameters are better #296
|
2023-11-22 19:27:29 -08:00 |
Matthew Kennedy
|
b23904362f
|
Conditional compile ts (#298)
* conditionally compile TS as it's a memory hog
* naming so dumps are easier to read
|
2023-11-22 18:26:40 -08:00 |
rusefillc
|
f784d5d5b9
|
avoid 64 bit divide (!) exploding binary size (#293)
fixing unit tests
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
|
2023-11-20 01:48:23 -08:00 |
rusefillc
|
fa042fb6f5
|
heater: shortcut if sensor is hot enough (#277)
* heater: shortcut if sensor is hot enough
* heater: shortcut if sensor is hot enougth
---------
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
|
2023-11-19 13:10:42 -08:00 |
Matthew Kennedy
|
4bdd8f5c44
|
avoid 64 bit divide (!) exploding binary size
|
2023-11-17 19:42:59 -08:00 |
Matthew Kennedy
|
52f306b6f5
|
avoid NaN in case of zero battery voltage
|
2023-11-17 18:19:55 -08:00 |
Matthew Kennedy
|
99335f90c1
|
F0 heater was broken by cddcd0d88c
|
2023-11-17 18:08:45 -08:00 |
Matthew Kennedy
|
86d57343b1
|
stray returns?
|
2023-11-17 17:50:52 -08:00 |
Matthew Kennedy
|
35c84cf13b
|
battery stabilization time with a timer
|
2023-11-15 20:54:57 -08:00 |
Matthew Kennedy
|
5902009536
|
fix it more
|
2023-11-15 20:39:20 -08:00 |
Matthew Kennedy
|
420e9e5ef7
|
happy mac build
|
2023-11-15 20:33:55 -08:00 |
Matthew Kennedy
|
50f8e1f2bb
|
auto-heat after 5 seconds of no CAN command #194
|
2023-11-15 20:28:51 -08:00 |
Matthew Kennedy
|
b73adb2e61
|
Revert "fresh lib (#290)"
This reverts commit d1e993dd71 .
|
2023-11-15 20:26:54 -08:00 |
Matthew Kennedy
|
17acd065d3
|
cherry-pick timer from ECU and use it for sequencing logic (#289)
* enable timestamp api
* add timer class
* use unsigned integer for timestamps
* heater uses timers
* timer mocking and test adjustment
|
2023-11-15 17:42:37 -08:00 |
rusefillc
|
d1e993dd71
|
fresh lib (#290)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
|
2023-11-15 17:36:20 -08:00 |
rusefillc
|
7ab5830159
|
typo & more info (#287)
|
2023-11-15 17:23:38 -08:00 |
rusefillc
|
982cd32ee7
|
heater_control: do not preheat on low voltages (#286)
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
|
2023-11-15 17:21:16 -08:00 |
Matthew Kennedy
|
2469315a35
|
EOL in build yaml
|
2023-11-15 16:20:34 -08:00 |
rusefillc
|
9e2cea57ab
|
TS: send Ok response on Reset/Reboot commands to make TS happy (#285)
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
|
2023-11-15 00:36:22 -08:00 |
rusefillc
|
9cd5c23d7a
|
Mess (#282)
* f1_dual_rev1: fix Heater vs Battery naming mess
* f1_dual: fix Heater vs Battery naming mess
* fix f1_dual_rev1
---------
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
|
2023-11-14 22:22:32 -08:00 |
Matthew Kennedy
|
e7bc7132d9
|
Merge branch 'master' of https://github.com/mck1117/wideband
|
2023-11-13 15:02:15 -08:00 |
Matthew Kennedy
|
b57bee77fc
|
LSU ADV getPhi
|
2023-11-13 15:02:13 -08:00 |
rusefillc
|
3a77efb9cc
|
Reduce heater supply stabilization delay from 3s to 0.5s (#276)
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
|
2023-11-13 14:20:52 -08:00 |
Matthew Kennedy
|
c2cb3b9015
|
test heater state machine
|
2023-11-13 14:15:22 -08:00 |
Matthew Kennedy
|
b3b73135a6
|
unit test debug launch config
|
2023-11-13 13:56:11 -08:00 |
Matthew Kennedy
|
7f5b7097e3
|
tests for heater output
|
2023-11-13 13:56:03 -08:00 |
Matthew Kennedy
|
5c128f4034
|
uninitialized variable!
|
2023-11-13 13:51:59 -08:00 |