Commit Graph

342 Commits

Author SHA1 Message Date
Matthew Kennedy c1349b01dd misc pid/etb cleanup 2024-12-23 13:44:14 -08:00
Matthew Kennedy 84abe3692f fix tests 2024-12-23 13:38:19 -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 7cae2fb109
revamp ETB live data (#521)
* remove old output channels

* etb live data

* fix indicators
2024-12-09 22:20:53 -08:00
Matthew Kennedy 8bf68355ff
rewrite etb autocal to support main loop (#514)
* rewrite etb autocal for main loop compat

* properly reset phase timer

* comment
2024-11-18 17:49:48 -08:00
rusefillc a4e6d0a579
dead console ETB direct control (#512)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2024-11-13 16:26:50 -08:00
Matthew Kennedy c93e751f80 tolerate zero jam detection time #499 2024-10-20 14:09:28 -07:00
Matthew Kennedy 3950a6a17a cleanup 2024-09-26 16:16:37 -07:00
Matthew Kennedy 9a9fc3ff14 min/maxF -> std::min/max 2024-09-25 14:00:33 -07:00
Matthew Kennedy 084a1d0dfd std::abs 2024-09-24 23:47:37 -07:00
Matthew Kennedy e95ac81f72 naming consistency #489 2024-09-17 19:11:41 -07:00
Matthew Kennedy e94920f932 don't segfault lol #489 2024-09-17 18:58:29 -07:00
Matthew Kennedy 2e29c04d30 etb jam defaults #489 2024-09-17 18:50:06 -07:00
Matthew Kennedy 3a394dc83a ETB expAverage cleanup #489 2024-09-17 18:49:13 -07:00
Matthew Kennedy 64108b67cf only check throttle jam while ignition is on #489 2024-09-17 18:33:32 -07:00
Matthew Kennedy 5411f47767 get time once 2024-09-17 18:05:32 -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 01a397094d
execute critical tasks on one big thread (#462)
* wire up main loop

* remove PeriodicTimerController

* patch up defines, comments

* happy simulator

* format

* simulator

* ETB runs via main loop

* happy tests

* protection against invalid LoopPeriod

* stack size

* ccm

* fix |= operator

* move perf trace

* ordering

* ordering
2024-09-17 15:27:38 -07:00
Matthew Kennedy 696ac06d74 firmware shouldn't write config at runtime 2024-08-05 11:38:49 -07:00
Matthew Kennedy 82bbc6064e std::isnan 2024-07-23 15:48:43 -07:00
Matthew Kennedy adfbb283be infinitely many console commands, apparently 2024-07-03 00:54:50 -07:00
Matthew Kennedy 8831512b6b more dead console command cleanup 2024-07-03 00:48:06 -07:00
Matthew Kennedy f4ddf26313 for loop formatting 2024-07-03 00:26:17 -07:00
Nathan Schulte e6418bc19c
etb: use convertVoltageTo10bitADC in auto-cal (#441) 2024-06-14 11:44:50 -07:00
Matthew Kennedy 0cd1b61962 Map3D considered harmful #421 2024-05-03 22:24:40 -07:00
Matthew Kennedy 378b37f29c use timer instead of home spun time math 2024-04-25 15:07:21 -07:00
Matthew Kennedy ebe78cbb4b cherry pick rename rusefi.input #391 2024-03-24 22:49:36 -07:00
rusefillc 7bc59adb83
ETB calibration compatibility notes from 2022 (#320)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2023-12-25 17:50:47 -08:00
Matthew Kennedy 36643bb7f4 dead pid auto tune 2023-11-01 13:54:48 -07:00
Matthew Kennedy c05767ab03 inhibit ETB disable due to tps/pps intermittent 2023-06-21 23:42:36 -07:00
Matthew Kennedy 8b5825adc4 indent formatting 2023-06-01 11:10:58 -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 c71ba44d61 clean up pretty useless console commands 2023-02-21 02:07:25 -08:00
Matthew Kennedy bc4d1127bc etb style idle valve 2023-02-20 22:56:26 -08:00
rusefi 7799ea8279 Nick wonders if DC wastegate is still FUBAR #5075 2023-02-19 00:36:03 -05:00
Andrey 0a5b88892f refactoring: better method name 2023-02-19 00:15:12 -05:00
Andrey 0f16637767 minor bugfix 2023-02-18 23:58:06 -05:00
rusefi bfcd5953e1 DC is not ETB 2023-02-18 22:39:45 -05:00
rusefi 25b19f00a3 wastegateDcStatus 2023-02-18 22:33:44 -05:00
Andrey 85e0e3cbce Nick wonders if DC wastegate is still FUBAR #5075 2023-02-17 22:17:09 -05:00
Matthew Kennedy f5c61e4064 don't show a yellow indicator if there isn't actually a problem (#5076) 2023-02-14 06:38:24 -05:00
rusefi f029f99775 Nick wonders if DC wastegate is still FUBAR #5075 2023-02-13 19:17:47 -05:00
Nathan Schulte 7f912a08ce Fixup ETB auto-calib/tune buttons (#5063)
* fix TS command typo (s/cmb/cmd/g)

* use TsCalMode constants in TS inputs

* TS: guard ETB calibrationMode buttons

* simplify ETB calibration logic
2023-02-13 10:31:37 -05:00
rusefi 42d0a27034 ETB auto-calibrate usability: both buttons should not be enabled at the same time #5061
random note
2023-02-13 00:56:54 -05:00
rusefi 8a3a1e915c dead 2023-02-12 21:20:05 -05:00
rusefi e019d9e805 https://github.com/rusefi/rusefi/issues/5056 2023-02-12 20:12:26 -05:00
Matthew Kennedy aaa3ea2d3e remove useETBforIdleControl (#5054)
* remove useETBforIdleControl

* etb integrated

* jni weirdness
2023-02-12 16:49:12 -05:00
rusefi 97faf209e7 reducing code duplication 2023-02-11 22:44:42 -05:00
rusefillc 8c4bd01f93 fuck blind fix :( 2023-02-11 17:31:24 -05:00