Commit Graph

79 Commits

Author SHA1 Message Date
rusefillc 304572349d
injectorStaging defaults (#340)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2024-01-08 09:08:32 -08:00
Matthew Kennedy 6865c5a521 signed/unsigned comparison 2024-01-06 18:31:39 -08:00
Matthew Kennedy d274e98abc better defaults 2023-11-16 22:45:31 -08:00
Matthew Kennedy c81579b9de dead piece of config 2023-11-16 22:23:58 -08:00
Matthew Kennedy 38c873252e
smarter injector duty cycle limiting (#215)
* config for duty cycle limiting

* implement timeout duty cycle limiting

* comment

* make overlapping injections actually work!

* missed one

* test

* call addFuelEvents from fast callback

* update comment about why we call it again in main trigger callback

* one more extra call

* undo addFuelEvents change

* cleanup

* minor encapsulation

* fix

* changelog

* dead obd code
2023-10-14 14:27:19 -07:00
Matthew Kennedy f08c374b73 don't cut spark for hard rev limit by default 2023-10-11 15:57:24 -07:00
Matthew Kennedy 3c001f759f
Miata presets (#236)
* rename existing

* rename existing

* 1.6 progress

* nb2 progress

* format

* stub nb1

* nb1 progress

* msm

* msm

* brake switch, MSM IAT

* gppwm, clutch pin

* cleanup

* allow setting lua heap size

* Revert "allow setting lua heap size"

This reverts commit 82533b5c7b.

* guard 1.6

* everyone wins a more sensible tps/tps AE table

* guard for tests

* nb2 vvt angle tweak

* tweak tests for changed defaults
2023-09-25 11:12:34 -07:00
Matthew Kennedy cc271b5419 default prime pulse 2023-08-25 11:18:19 -07:00
Matthew Kennedy 9ab71c1b58
separate ign bench parameters (#226) 2023-08-19 07:17:11 -07:00
Matthew Kennedy 6f4a4fc373
implement ignition timing clamping (#212)
* implement ignition timing clamping

* ui, improved comment

* wrap atdc timing correctly

* tests
2023-07-21 15:55:04 -07:00
Matthew Kennedy 242d9e1e7d lambda protect defaults #75 2023-06-29 13:16:26 -07:00
Matthew Kennedy 06b39dbb07
trigger and engine types -> enum class (#113)
* trigger type is enum class

* java tooling

* enum class engine_type_e

* enum class engine_type_e
2023-06-01 13:47:49 -07:00
Nathan Schulte 166a08d1b5
set default MAP estimate axis values (#96)
move to default_fuel

fixes #93
2023-05-04 11:30:56 -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 5e7a6dab90 rpm limit hysteresis 2023-04-10 11:37:20 -07:00
Matthew Kennedy f090a97b0b remove specs_s struct, flatten config 2023-03-27 00:58:18 -07:00
Matthew Kennedy 4cd08fbc4b
table-only map fallback (#46)
* table-only map fallback

* InSequence
2023-02-23 15:05:56 -08:00
rusefillc 75bdf089cf Feb20: 3rd ticket for 4g9x mess #5111
something is really weird
2023-02-20 19:05:45 -05:00
rusefillc 9ae89ee497 Als timer smaller (#5041)
* Update default_base_engine.cpp

(cherry picked from commit 8ac64e2a16f18b7497c3fa1993a4d3e31a161332)

* als timer meta

---------

Co-authored-by: TurboMarian <podgajnymariusz@gmail.com>
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2023-02-06 19:05:38 -04:00
Matthew Kennedy 56aa0fe367 improve iat ignition table (#4948)
* iat ignition table

* changelog
2023-01-06 21:59:34 -05:00
Andrey 01add66f6a test coverage for antilag #4920
better default
2022-12-31 14:48:25 -05:00
rusefillc 9cf5cdc719 TurboMarian is the ALS boss 2022-12-16 23:51:50 -05:00
rusefillc af23aef7c0 antilag and anti-lag #2403 2022-12-14 22:25:06 -05:00
Andrey d812114062 RPM correction/multiplier for Accel Enrich fix #4760 2022-12-14 21:51:41 -05:00
rusefillc 0a4e9c3049 smarter template 2022-12-13 16:47:35 -05:00
rusefillc f6382fdf2a RPM correction/multiplier for Accel Enrich #4760 2022-12-13 16:36:38 -05:00
Matthew Kennedy 5576065eb9 default fuel cleanup and injection phase change (#4836)
* default fuel cleanup and injection phase change

* happy tests

* changelog

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2022-11-29 23:41:49 -05:00
rusefillc e3bad2649e simpler SENT for now 2022-11-19 09:38:39 -05:00
rusefi 4418a08e4d Ford SENT ETB bench test in NJ #4745 2022-11-13 11:23:54 -05:00
Matthew Kennedy 7b47e77e58 infer useOnlyRisingEdge by trigger type (#4621)
* most of the plumbing

* easy tests

* trigger types that are rise only

* configs

* change mode of various triggers

* vvt

* 898 test is now impossible 🥳

* s

* instant rpm test

* actually remove useOnlyRisingEdgeForTrigger

* remove vvtCamSensorUseRise

* s

* print

* one happy test

* another test

* happy testSomethingWeird

* happy testCamInput

* maybe fix it a different way

* better

* quad cam

* nb2 happy

* bad merge

* vvt test

* trigger.test1995FordInline6TriggerDecoder

* hellen gm e67

* changelog
2022-11-08 21:48:39 -05:00
rusefi 8534e7790f nicer defaults API 2022-11-04 13:27:40 -04:00
rusefi cb61edaadc nicer defaults API 2022-11-04 12:37:28 -04:00
Andrey G cc9b1517ac compile warnings: signed vs unsigned and unused (#4713) 2022-10-30 09:47:53 -04:00
rusefillc d6f6dd3a56 refactoring: helper method 2022-10-30 00:17:42 -04:00
rusefillc bab3c58d85 refactoring: helper method 2022-10-29 23:55:14 -04:00
rusefillc c164a05f2c refactoring: helper method 2022-10-29 23:04:24 -04:00
rusefi 4db3a65a7e refactoring: extracting useful method 2022-10-25 21:55:54 -04:00
rusefi 826ec4619b need Proteus QC 2022-10-01 22:34:08 -04:00
rusefi 707bbe9782 need Proteus QC 2022-10-01 22:07:44 -04:00
rusefillc a1143779f2 documenting biquad or else concerns 2022-09-19 12:06:00 -04:00
Matthew Kennedy d9ca1fb578 set a default, detect error (#4504) 2022-08-31 20:32:37 -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 3cc4e3143c TS injector bench test pulse is too short fix #4192 2022-05-22 09:43:09 -04:00
rusefillc c03ee706bf default VR curve is needed not just by hellen, we have Proteus adapters with it now! 2022-05-17 17:54:11 -04:00
rusefillc 0ed0702536 Make ETB low limit configurable fix #4119 2022-05-02 05:24:50 -04:00
Andrey 03662e48c4 Move curves out of engineConfiguration in order to reduce RAM usage #4127 2022-05-01 23:43:43 -04:00
Matthew Kennedy 2d033df11b more missing autoscale (#4112)
* autoscale m_config->timeConstant

* min/max afr

* more

* dwell voltage

* closed loop fuel

* knock

* map estimate

* applyNonlinearBelowPulse

* fix

* add a test while we're at it for un-covered code

* test fallback MAP since we touched that

* always compute fallback MAP even if sensor is OK
2022-04-28 08:16:02 -04:00
rusefillc d5fb1113d3 [EPIC] [Feature Request] Transmission Control #1454 2022-04-25 17:42:19 -04:00
rusefillc 7d2d6c4a01 [EPIC] [Feature Request] Transmission Control #1454 2022-04-25 17:20:56 -04:00
rusefillc e0e61f7f44 FasterEngineSpinUp should be enabled by default fix #4094 2022-04-23 09:51:47 -04:00