Matthew Kennedy
35c84cf13b
battery stabilization time with a timer
2023-11-15 20:54:57 -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
Matthew Kennedy
c2cb3b9015
test heater state machine
2023-11-13 14:15:22 -08:00
Matthew Kennedy
7f5b7097e3
tests for heater output
2023-11-13 13:56:03 -08:00
Matthew Kennedy
ff5b3ac3bb
split heater thread and heater logic
2023-11-13 13:30:23 -08:00
Matthew Kennedy
a7b081b882
extract heater class declaration
2023-11-13 12:55:48 -08:00
Matthew Kennedy
d1c878bf13
kill off helpers to get heater/sampler stuff
2023-06-23 14:38:17 -07:00
rusefillc
36d57e7d73
TS: report heater effective voltage ( #225 )
...
(cherry picked from commit c37180517d5522876a7efb7fcc17a3ca40ffee9f)
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-04-17 14:10:38 -07:00
Matthew Kennedy
e99c902e0f
hand merge: heater enum
2022-12-01 13:20:54 -08:00
Andrey G
cddcd0d88c
Multichannel ( #134 )
...
* Multichannel AFR
* heater: fixes for multi channel mode
* f1_dual: fix configuration names
* pump_dac: fixes for multi-channel mode
* pwm: fixes for multichannel mode
* pump_control: reference instead of pointer
* sampling: reference instead of pointer
* heater_control: reference instead of pointer
* sampling: comment about heater/battery voltage
* f0_module: fixes for multi-channel update
* f1_rev2: fix for multichannel AFR
* hello rev 3
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-08-29 17:19:30 -07:00
Andrey G
d3e460a9a6
Uart debug ( #64 )
...
* heater: export state and description
* pump_dac: save and export Ipump
* float interpolation helpers
* Show heater state, heater duty, temperature and fault over uart
* uart: more stack for thread
2022-05-11 01:41:07 -07:00
Matthew Kennedy
66b891bf79
heater controller pulls from CAN world instead of push
2022-04-06 01:22:09 -07:00
Matthew Kennedy
a376b54b55
report duty as float
2022-01-26 10:56:58 -08:00
Matthew Kennedy
6557809da2
send heater duty
2022-01-04 11:16:46 -08:00
Matthew Kennedy
18cc209f72
listen to heater enable bit
2021-07-15 21:50:22 -07:00
Matthew Kennedy
d645855adb
get battery voltage from CAN
2021-07-12 15:31:02 -07:00
Matthew Kennedy
bf8bfb627a
unused
2021-02-25 22:48:24 -08:00
Matthew Kennedy
495819659d
heater too
2020-12-15 15:00:11 -08:00
Matthew Kennedy
453a4c4337
add IsRunningClosedLoop
2020-10-31 14:54:50 -07:00
Matthew Kennedy
0a96a10734
extract heater control
2020-10-30 01:53:54 -07:00