Commit Graph

149 Commits

Author SHA1 Message Date
Matthew Kennedy 77adc59747 biquad 2025-02-27 19:56:13 -08:00
Matthew Kennedy 59d8c0bec1 add biquad highpass 2025-02-27 19:36:37 -08:00
Matthew Kennedy 426703be15 format 2025-02-27 19:32:49 -08:00
Matthew Kennedy c1349b01dd misc pid/etb cleanup 2024-12-23 13:44:14 -08:00
Matthew Kennedy 54f2dd85f6 dead Pid::updateFactors 2024-12-23 13:19:56 -08:00
Matthew Kennedy f121a39845 PID: dead code 2024-12-23 13:16:54 -08:00
Matthew Kennedy ac6a3e0737 unnecessary virtual 2024-12-23 13:13:27 -08:00
Matthew Kennedy e4d6e61a78 remove pid_s::periodMs, the user shouldn't set this 2024-12-23 13:12:31 -08:00
Matthew Kennedy e5d05cb74f inline so it doesn't complain 2024-12-23 13:05:55 -08:00
Matthew Kennedy 6ccb6d3a19 dead PID showPidStatus, sleep 2024-12-23 13:01:01 -08:00
Matthew Kennedy 89a578bee7 throw an error for impossible ETB PID 2024-12-23 12:58:12 -08:00
Matthew Kennedy 791f26ca8a Simplify idle: no "pid industrial" 2024-12-23 00:30:04 -08:00
Matthew Kennedy 6844e5ec58 dead PidWithParameters 2024-12-22 23:32:29 -08:00
Matthew Kennedy 084a1d0dfd std::abs 2024-09-24 23:47:37 -07:00
Matthew Kennedy 3a394dc83a ETB expAverage cleanup #489 2024-09-17 18:49:13 -07:00
Matthew Kennedy 5c3d417441 simpler ETB jam detection #489
rather than try to integrate error over time, simply fault if there's been too much error for too long. Up to +-X error is allowed for any period of time, more is allowed for Y seconds.
2024-09-17 17:58:19 -07:00
Matthew Kennedy 1913853adb more dead efifeatures 2024-08-07 12:03:10 -07:00
Matthew Kennedy f086b94c81 cisnan -> std::isnan 2024-07-22 16:00:59 -07:00
Matthew Kennedy aa5ea293e6 cisnan -> std::isnan 2024-07-22 12:15:40 -07:00
Matthew Kennedy 23f91d2fca wow, all of this was dead code 2024-07-03 00:37:27 -07:00
Matthew Kennedy cf87e64119 compile-time enforcement of printf strings 2024-06-10 00:51:14 -07:00
Matthew Kennedy 2ee997d2c1 PID shadowing 2023-11-01 17:01:52 -07:00
Matthew Kennedy 44bd9af964 misc anti shadow 2023-11-01 14:59:36 -07:00
mi-hol 0975c783bd
fix apparent CopyPaste error assigning OBD fault (#194) 2023-07-17 02:35:35 -07:00
Matthew Kennedy d5f9479f28
ObdCode is enum class (#77)
* change ObdCode to enum class builds firmware

* test builds

* don't need this line at all

* can we go down to uint16_t?
2023-04-12 23:44:33 -07:00
Matthew Kennedy 83dc73f0d4 extra define 2023-03-03 01:44:48 -08:00
Matthew Kennedy eac3582e05 get rid of more floats 2023-02-23 11:59:48 -08:00
Matthew Kennedy 00f3067185 idle pid cic 2023-02-20 23:01:59 -08:00
Andrey 8a3727de3e ETB duty cycle jitter #4833 2022-11-29 14:59:08 -05:00
Andrey a14fb947c2 exp average is pretty cool 2022-11-28 19:22:45 -05:00
rusefillc 8cf9490921 ETB duty cycle jitter #4833 2022-11-27 18:13:10 -05:00
rusefillc 8375e9e159 docs 2022-11-27 00:08:34 -05:00
Andrey 25b6d39802 os_access.h dead? 2022-09-07 15:56:45 -04:00
Andrey 1eb1f1a101 tear down Engine god object #4511
just trying different things
2022-09-05 04:00:24 -04:00
Andrey 2b01d856d3 reducing confusion between library header and rusefi main repo header 2022-09-01 11:35:35 -04:00
rusefillc dfd4953f0d unconditional VVT PID logging 2022-08-17 00:47:31 -04:00
Matthew Kennedy cd98ad35c2 use libfirmware for a few things (#4351)
* use libfirmware

* unit tests

* crc

* missed one

* bootloader
2022-07-16 02:22:51 -04:00
rusefillc 4c4f494904 PID logging: p term #4337 2022-07-08 10:31:34 -04:00
rusefillc 443770e902 PID logging: p term #4337 2022-07-08 09:49:58 -04:00
Matthew Kennedy 67439afb96 rescale RPM values (#4300)
* rpm configs

* fix

* s

* s

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2022-06-29 18:48:30 -04:00
rusefillc adc460fb49 Iss debug (#4290)
* one call only

* oops am idiot

Co-authored-by: David Holdeman <dave@holdemanenterprises.com>
2022-06-27 22:29:34 -04:00
rusefillc 0b96f46f23 borrowing from David 2022-06-26 20:19:54 -04:00
Matthew Kennedy c3532b4635 fix vss/iss filter parameter validation (#4114)
* fix filter parameter validation

* use values that don't get clipped
2022-04-27 22:29:51 -04:00
rusefillc 53f323ca0c Set sensible default for dwell by voltage multiplier table fix #4067 2022-04-13 15:21:44 -04:00
Matthew Kennedy 4c2518c4c0 output channel tweaks (#4023)
* shuffle around output channels

* postState should take a ref

* s

* s

* patch input file

* limits

* accel bad bounds check

* units

* units

* Revert "accel bad bounds check"

This reverts commit b2bb493be331d5d2cf40b9ed01363a53182c883e.

* missed an autoscale
2022-03-24 08:58:55 -04:00
Matthew Kennedy 0c6a369777 flash storage uses 32 bit CRC (#3984)
* better flash logic and warning message

* comment

* s

* ssssss

* simplify logic

* use 32 bit crc

* s

* don't test things that don't exist
2022-03-08 23:17:35 -05:00
rusefillc 5c16186919 safer file name (#3861)
* safer file name

* safer file name

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-01-31 21:51:32 -05:00
Matthew Kennedy a1647fd66e baro fully in sensor model (#3829)
* consumers and api

* dead test

* baro uses sensor model

* remove old (copy of?) map lookup logic

* I guess we don't need FastInterpolation any more?

* don't double init analog input
2022-01-23 09:42:11 -05:00
rusefillc e8f980eca0 docs 2022-01-22 22:18:50 -05:00
rusefillc 597a3430d9 https://en.wikipedia.org/wiki/Pi 2022-01-14 21:23:27 -05:00