Commit Graph

2863 Commits

Author SHA1 Message Date
kifir 67d0923a29 implement `Minimum CLT` setting #6783 2024-11-29 01:26:40 +02:00
kifir 19003c22d2 implement `Minimum TPS` setting #6783 2024-11-29 01:26:40 +02:00
kifir 074d0a69d5 only:refactoring: extract part of functionality into `updateSensor` method #6783 2024-11-29 01:26:40 +02:00
rusefillc 7f8817d642 only:lost naming convention? 2024-11-27 17:03:39 -05:00
kifir23917 d58aeb045d
Implement `Nitrous Control` settings with arming functionality #6783 (#7103) 2024-11-27 16:43:45 -05:00
rusefillc 2a2de932b3 only:helping sent unit tests 2024-11-26 10:16:39 -05:00
rusefillc 48913c69ff reducing mk duplication? 2024-11-22 16:13:25 -05:00
kifir a36a8614da implement `FuelDifferentialPressureTest` (closes #6972) 2024-11-22 17:51:25 +02:00
kifir e99bf20960 only:reordering: move part of functionality from `LaunchTestConfig` and `LaunchTestBase` classes to `TestBase` and `EngineConfig` 2024-11-21 16:55:17 +02:00
kifir 8873f2d784 only:reordering: move functionality from `ShiftTorqueReductionTestBase` and `ShiftTorqueReductionTestConfig` classes to `TestBase` and `EngineConfig` 2024-11-21 16:55:17 +02:00
kifir 5a7f41bcd6 only:reordering: separate `Launch Control` configuration settings from `Shift Torque Reduction (Flat Shift)` settings 2024-11-21 16:55:17 +02:00
kifir 4ca3f7a933 only:refactoring: renaming 2024-11-21 16:55:17 +02:00
kifir23917 5731cdd6dc
implement `StagedInjectionTest` #6972 (#7087) 2024-11-20 14:07:50 -05:00
rusefillc e1fb48f9a9 LUA script size severely limited #7085
only:uaefi
2024-11-19 19:50:29 -05:00
rusefillc 4e539dfa3e ETB: we require redundancy at runtime, not at initialization time. that would allow for Lua pedal to appear later on.
only:alphax-4k-gdi
2024-11-13 11:27:58 -05:00
kifir23917 1194dc2404
only:add tests for `setBitRangeMsb` and `getBitRangeMsb` Lua functions (#7067)
* only:add tests for `setBitRangeMsb` and `getBitRangeMsb` Lua functions

* fix `setBitRangeMsb` function
2024-11-12 09:48:39 -05:00
kifir23917 62e46e8c79
Fix `setBitRangeMsb` function (#7065)
* only:rename method and get rid of redundant code - we do not need to perform absolutely the same checks twice

* only:fix comments

* only:add tests `NewMessage_0006`, `NewMessage_0007` and `NewMessage_0008` from the sample DBC file
2024-11-12 08:11:57 -05:00
rusefillc 1723353e20 lua pedal is a thing: consequences 2024-11-11 21:44:08 -05:00
rusefillc 311cbbd2fc lua pedal is a thing 2024-11-11 20:57:12 -05:00
rusefillc 73fcb5e490 lua pedal is a thing 2024-11-11 20:44:18 -05:00
rusefillc b85f5858d2 only:minimal fix / minimal test adjustment
#7065
2024-11-11 20:11:45 -05:00
rusefi b849549be6 only:dead 2024-11-11 18:07:29 -05:00
kifir23917 9312458526
only:Simplify `testNewMessage006` test case (#7061) 2024-11-11 10:13:00 -05:00
kifir23917 0b8759ea29
implement Motorola DBC test (#7060) 2024-11-11 09:39:26 -05:00
Diego a34bea7bcb
more tests on OBD2 code, prep tests for map upper limit change (#7059) 2024-11-10 23:12:51 -05:00
rusefillc 095668b9ce additional ETB state into LiveData
only:uaefi
2024-11-08 20:54:31 -05:00
Diego b214a7b814
OBD2 CAN broken due to math base mismatch (#7053)
* updated can_msg_tx/obd2 code for unit tests, fixed supported pid error, WIP unit tests on obd2

* fix txCanBuffer not cleared after a tx can test

* simulator needs can header, add settings to respect code format on vscode, added more tests
2024-11-08 16:01:21 -05:00
kifir23917 c3d2cfc33c
Implement setBitRangeMoto method (#7056)
* only:enhance tests a little bit

* implement `setBitRangeMsb` method

* implement `setBitRangeMoto` method
2024-11-08 14:59:17 -05:00
rusefillc 0a0ff11d5a motorolaMagicFromDbc(17, 10)
only:new API
2024-11-06 23:12:07 -05:00
rusefillc 5c82315569 motorolaMagicFromDbc(17, 10)
only:we have a problem?
2024-11-06 23:01:49 -05:00
Andrey G 7ca9bcc86a
ts: handleWriteChunkCommand() and handlePageReadCommand() now with page (#7043)
* ts: handleWriteChunkCommand() and handlePageReadCommand() now with page

Initial support for page addressing. This is needed to move
scatteredOffsetArray to separate page that is not saved in TS and ECU.

* fix test
2024-11-05 16:46:59 -05:00
kifir 9d86da59e1 implement test for `Torque Reduction Ignition Retard(deg)` parameter #5608 2024-11-05 23:19:51 +02:00
kifir 5bce202067 only:refactoring: extract part of functionality into `TestPersistentConfiguration` class 2024-11-05 23:19:51 +02:00
kifir 5c6ee81352 only:refactoring: extract part of functionality into `TestEngineConfiguration` class 2024-11-05 23:19:51 +02:00
kifir23917 6361b9ef31
Flat shift tests #5608 (#7042)
* only:refactoring: extract part of functionality into `TestEngineConfiguration` class

* only:refactoring: rename file

* only:refactoring: Now we reuse `TestBase` class functionality

* only:refactoring: extract part of functionality into `TestEngineState` class

* only:refactoring: extract part of functionality into `TestEngineConfiguration` class

* implement test for `Torque Reduction Ignition Cut` setting #5608
2024-11-04 17:09:39 -05:00
GitHub gen-configs Action 17ea5ab16b Trigger wheel definitions 2024-11-04 15:37:57 +00:00
Diego 1fcf3343c9
new tests on decodeAemXSeries, fixed debug task on vscode (#7032) 2024-11-03 16:54:35 -05:00
kifir 9907cc2108 implement `Limit Torque Reduction Time` flag functionality #5608 2024-11-02 20:59:05 +02:00
3eR01ive 691fb3f3db
Knock fuel trim and deacceleration (#7024)
* - knock fuel trim
- knock disable suppression then deceleration

* - knock disable suppression then deceleration syntax fix

* - knock disable suppression for test reapply

* - knock disable suppression for test reapply fix

* - knock fuel trim tests

---------

Co-authored-by: 3er0.1ive <3er0.1ive@veeroute.com>
2024-11-01 09:28:07 -04:00
GitHub gen-configs Action 1829e1cec6 Trigger wheel definitions 2024-11-01 12:54:50 +00:00
3eR01ive cd404d4f47
- knock fuel trim + diasble suppression then deceleration (#7017)
* - knock fuel trim
- knock disable suppression then deceleration

* - knock disable suppression then deceleration syntax fix

* - knock disable suppression for test reapply

* - knock disable suppression for test reapply fix

---------

Co-authored-by: 3er0.1ive <3er0.1ive@veeroute.com>
2024-10-31 09:26:10 -04:00
Andrey 361714d611 only:badnumbers 2024-10-22 10:31:47 -04:00
3er0.1ive a84953d415 - knock spectrogram TS plug-in implementation 2024-10-22 07:34:10 -04:00
3er0.1ive 74908a9b54 - remove old output param m_frequency from knockController
- need some memory for f407
2024-10-22 05:33:17 -04:00
Andrey 3663aa355f only:fft test? 2024-10-21 00:26:25 -04:00
Andrey bb96d22125 only:test_fft 2024-10-20 23:38:29 -04:00
GitHub gen-configs Action 9ade4ade6e Trigger wheel definitions 2024-10-19 16:10:16 +00:00
rusefillc 8b7a494aba V-Twin MAP phase sense does not need to always wait for sync fix #6985 2024-10-17 16:53:33 -04:00
GitHub gen-configs Action d8779572f9 Trigger wheel definitions 2024-10-13 14:47:45 +00:00
Matthew Kennedy 3b2ba21946 jam detection tooltips #6925
only:uaefi
2024-10-09 20:07:15 -04:00
Matthew Kennedy 33dfc4a684 only check throttle jam while ignition is on #6925
only:uaefi
2024-10-09 19:56:00 -04:00
Andrey c1c068d509 etb jam tests #6925 2024-10-09 19:31:32 -04:00
Alexey Esaulenko 7ae0fcedb7 Minor: silence compiler warning 2024-10-04 12:01:09 -04:00
kifir 8115b7be64 implement flat shift condition monitoring #5608 2024-10-04 16:14:01 +03:00
kifir 9de6091f88 implement APP condition monitoring #5608 2024-10-04 16:14:01 +03:00
kifir bf14a7cff9 only:refactoring: Now `TestBase::updateRpm` method accepts `float` instead of `int` 2024-10-04 16:14:01 +03:00
kifir 29d6245292 only:get rid of redundant qualifiers 2024-10-04 16:14:01 +03:00
kifir e657eb3cf0 implement RPM condition monitoring #5608 2024-10-04 16:14:01 +03:00
kifir 639d738390 only:refactoring: put stuff into anonymous namespace to avoid linkage issues #5608 2024-10-04 16:14:01 +03:00
kifir 80e0d7dc0d only:refactoring: move `updateRpm` method from `LaunchTestBase` class to `TestBase` class #5608 2024-10-04 16:14:01 +03:00
kifir 953d085904 implement time condition monitoring #5608 2024-10-04 16:14:01 +03:00
kifir 1e8e31b178 implement shift torque reduction trigger pin state monitoring #5608 2024-10-04 16:14:01 +03:00
Andrey 1af033b73e random poke 2024-09-27 20:01:01 -04:00
rusefillc de718d2184 only:code style 2024-09-26 20:10:08 -04:00
Andrey c3bc395cf5 int rpm -> float rpm 2024-09-26 00:34:00 -04:00
Matthew Kennedy 93bb3df05d only:int rpm -> float rpm 2024-09-25 23:56:18 -04:00
Matthew Kennedy b8af7df4be only:int rpm -> float rpm 2024-09-25 23:48:34 -04:00
Matthew Kennedy ba94d94925 only:int rpm -> float rpm 2024-09-25 23:36:33 -04:00
Andrey 8a8db54f8a more dead 2024-09-18 01:04:56 -04:00
Andrey f2e8ee7ea1 only:testability 2024-09-18 00:33:15 -04:00
Matthew Kennedy b160bdd9a4 ETB jam detection #6925
meta
2024-09-18 00:33:15 -04:00
Andrey cecc471ad8 ETB duty cycle jitter: only monitoring within this ticket #4833
removal
2024-09-18 00:33:15 -04:00
rusefillc f09e6f2faf MAP sync improvements #6920
only:naming
2024-09-15 14:36:48 -04:00
GitHub gen-configs Action 76d0fa5ec1 Trigger wheel definitions 2024-09-15 13:52:44 +00:00
Andrey 32f3b63c25 only:test adjustments 2024-09-15 09:46:02 -04:00
Matthew Kennedy 62a4bd4b47 alphaNUseIat calculations are wrong fix #6907 2024-09-13 09:51:27 -04:00
GitHub gen-configs Action 1dfa79d0af Trigger wheel definitions 2024-09-12 00:43:31 +00:00
Andrey ebc5f513ce [was: 3/0 trigger syncs faster with Single Tooth than 6G72 Cam] 6G72 Cam is not well #6798 2024-09-11 20:33:45 -04:00
Andrey f687d4ab7b [was: 3/0 trigger syncs faster with Single Tooth than 6G72 Cam] 6G72 Cam is not well #6798
only:this dataset is officially unhappy
2024-09-11 17:22:36 -04:00
rusefillc c4b28f4787 https://github.com/rusefi/rusefi/issues/6903
only:hellen121vag
2024-09-11 07:23:01 -04:00
GitHub gen-configs Action d467a5a855 Trigger wheel definitions 2024-09-08 04:58:14 +00:00
Andrey b75bb8d3cd TT_NISSAN_HR_CAM_IN #6898
only:intake
2024-09-08 00:51:28 -04:00
Matthew Kennedy b9292dbb33 rename Executor -> Scheduler 2024-09-05 00:11:31 -04:00
Andrey cc80c6e354 pretty dead
only:kin
2024-09-04 23:49:35 -04:00
Andrey 6c8e05929b explicit-folder-for-livedata-generated-headers #6886
only:hiding stuff from bootloader
2024-09-04 14:50:50 -04:00
rusefillc 11ce520200 Ignition Timing drifting - did we break fixed timing? #6878
making fixed timing more fixed
only:uaefi
2024-09-01 17:24:20 -04:00
Matthew Kennedy c844bb2bb1 more things that haven't been renamed 2024-08-31 15:39:15 -04:00
Matthew Kennedy 2ffe26d1b4 other little things are different 2024-08-31 15:39:15 -04:00
Matthew Kennedy 59c1a10bd0 this is named differently here 2024-08-31 15:39:15 -04:00
Matthew Kennedy 348acf1b47 odd wasted spark 2024-08-31 15:39:15 -04:00
Andrey 564cec3ed2 Support individually-wired wasted spark on odd cylinder engines (especially 3cyl) #4195
only:unit test skeleton
2024-08-31 00:16:59 -04:00
rusefi 6953d893eb Support individually-wired wasted spark on odd cylinder engines (especially 3cyl) #4195
only:nothing
2024-08-30 10:51:49 -04:00
rusefillc 10b33367c9 3/0 trigger syncs faster with Single Tooth than 6G72 Cam #6798
only:more data!
2024-08-29 20:09:47 -04:00
GitHub gen-configs Action 608dea4233 Trigger wheel definitions 2024-08-28 01:28:20 +00:00
Andrey 3a0ac40496 3/0 trigger syncs faster with Single Tooth than 6G72 Cam
#6798
only:more test coverage
2024-08-26 21:19:54 -04:00
kifir c3d95a5849 only: refactoring: extract part of `A/C Settings` default values to `engine_configuration_defaults` namespace 2024-08-23 12:01:57 -04:00
kifir 29485ad97b Implement default value for `A/C Pressure Enable Hysteresis` setting (closes #6804) 2024-08-23 12:01:57 -04:00
kifir 449aa14acc Now we use `A/C Pressure Enable Hysteresis` instead of deadband #6804 2024-08-21 15:52:46 -04:00
kifir 62eaa151cc only: refactoring: get rid of unused fields #6424 2024-08-20 22:46:33 +03:00
kifir c51b945b54 to prevent bugs like https://github.com/rusefi/rusefi/issues/6424#issuecomment-2294958949 now tests reuse real boost controller from test engine #6424 2024-08-20 22:46:33 +03:00
Andrey 51c8f9cc28 Nissan HR crank trigger wheel #6773
only:ohh
2024-08-15 13:58:23 -04:00
Andrey 01fc8c915c Nissan HR crank trigger wheel #6773
only:extra test
2024-08-15 12:31:02 -04:00
Andrey 3b9a415d6b Nissan HR crank trigger wheel #6773
only:extra test
2024-08-14 15:43:54 -04:00
rusefillc fe8b203563 NISSAN hr12de , hr12ddr 2010 2015 #6706
only:logic data
2024-08-13 17:17:26 -04:00
Andrey 2a7915cf10 NISSAN hr12de , hr12ddr 2010 2015 #6706
only:test at least passes
2024-08-13 17:09:34 -04:00
rusefillc 9be76edbdd NISSAN hr12de , hr12ddr 2010 2015 #6706
only:logic data
2024-08-13 16:57:06 -04:00
GitHub gen-configs Action ec6876cbc8 Trigger wheel definitions 2024-08-11 21:33:18 +00:00
GitHub gen-configs Action b6aa1f23f5 Trigger wheel definitions 2024-08-11 16:27:42 +00:00
Andrey 4b5f5eba72 only:TT_ARCTIC_CAT 2024-08-11 12:12:32 -04:00
rusefillc 0bcae0392f TT_ARCTIC_CAT 2024-08-10 23:11:37 -04:00
GitHub gen-configs Action fa4d92b7b3 Trigger wheel definitions 2024-08-11 02:59:02 +00:00
Matthew Kennedy fdcd5bf8f6 oil pressure protection (while running) #6780
only:oilPressureProtection submenu
2024-08-08 11:13:14 -04:00
GitHub gen-configs Action 1ac817f370 Trigger wheel definitions 2024-08-06 23:48:14 +00:00
GitHub gen-configs Action 11b223a170 Trigger wheel definitions 2024-08-06 23:09:21 +00:00
GitHub gen-configs Action 165bdbc7fe Trigger wheel definitions 2024-08-06 22:19:57 +00:00
GitHub gen-configs Action 9ea47063b4 Trigger wheel definitions 2024-08-06 20:56:45 +00:00
Andrey c7568ebc17 only: bore2frequency unit test 2024-08-06 13:04:39 -04:00
Matthew Kennedy 515ad299f4 only: firmware shouldn't write config at runtime 2024-08-05 21:02:46 -04:00
rusefi ffea0a23a0 Knock inputs to be bore diameter and checkbox #6767
only: only bore logic
2024-08-04 13:47:17 -04:00
Andrey bca0459339 only:SUPPRESS_FUEL_MATH_FUEL_TRIM_TEST 2024-08-04 01:27:36 -04:00
rusefillc acf97cc55c https://sourceware.org/bugzilla/show_bug.cgi?id=9687 Weak symbols not working on mingw32 2024-08-03 12:24:06 -04:00
Matthew Kennedy cfa7ad9741 AE is engine module 2024-08-03 10:41:50 -04:00
rusefillc 9fcefd26ae only:order of imports is important 2024-08-02 20:00:59 -04:00
kifir 4c349de3d1 Now we use `Coolant Temperature Boost Adder` and `Intake Air Temperature Boost Adder` in close loop target calculation #6424 2024-08-02 13:47:59 -04:00
Andrey cf3479d45d only: thank you macos :( 2024-08-02 13:26:19 -04:00
Andrey c503bf3e29 only: unit tests are getting BOARDINC 2024-08-02 03:19:24 -04:00
Andrey da7c55ee6e only: board_unit_tests 2024-08-02 03:07:21 -04:00
rusefillc 70f32ce81a only:board_unit_tests.mk 2024-08-01 16:45:04 -04:00
kifir 02359f54ef Now we use `Coolant Temperature Boost Multiplier` and `Intake Air Temperature Boost Multiplier` in open loop duty calculation #6424 2024-07-30 20:36:26 -04:00
kifir d223ec9a4d now we wrap advance angle after lua timing parameters are applied 2024-07-25 13:44:22 -04:00
rusefi cc093aad5b cisnan progress 2024-07-23 12:51:07 -04:00
Andrey 4de096129c isnan 2024-07-22 23:56:21 -04:00
Andrey 4434b691fd Better validation of thermistor configuration fix #6724 2024-07-17 17:07:20 -04:00
Andrey 2e5c3e6504 wow is this some sort of precision limitation for Steinhart-Hart? 2024-07-16 16:35:14 -04:00
kifir 966637aee0 implement AlternatorVoltageTargetSetPointTest.CustomAlternatorVoltageTargetTable #6523 2024-07-16 09:34:35 -04:00
kifir c3bc57b673 implement AlternatorVoltageTargetSetPointTest.DefaultAlternatorVoltageTargetTable #6523 2024-07-16 09:34:35 -04:00
kifir 0abc36521d only: refactoring #6523 2024-07-16 09:34:35 -04:00
kifir 8c3588a78b rename Alternator.TestSetPoint into AlternatorVoltageTargetSetPointTest.HomogeneousAlternatorVoltageTargetTable #6523 2024-07-16 09:34:35 -04:00
kifir 2797e722e2 extract Alternator.TestSetPoint into separated file #6523 2024-07-16 09:34:35 -04:00
kifir 4ccf40d477 now we use alternatorVoltageTargetTable instead of targetVBatt #6523 2024-07-16 09:34:35 -04:00
Andrey 59bf19ede3 only:removing scheduleByTimestamp, making API simpler 2024-07-15 10:51:35 -04:00
Andrey db0b61cd6c only:inlining scheduleByTimestamp 2024-07-15 09:59:06 -04:00
Matthew Kennedy f874f97b1f don't use scheduleByTimestamp 2024-07-15 09:42:05 -04:00
Matthew Kennedy 5b1e70f422 only:removing scheduleForLater, making API simpler 2024-07-15 09:41:44 -04:00
GitHub gen-configs Action 1d929c1e68 Trigger wheel definitions 2024-07-04 19:45:00 +00:00
Andrey 9e49e26fbf Ford Coyote Exhaust VVT position error #6402
only:alphax-8chan
2024-07-04 15:37:43 -04:00
GitHub gen-configs Action 9d2f48318d Trigger wheel definitions 2024-07-04 18:19:43 +00:00
Matthew Kennedy e1d29141dc only: wow, all of this was dead code 2024-07-03 10:16:24 -04:00
Matthew Kennedy f4965b0983 fix sensor mock tests
(cherry picked from commit d907e6123f8a3b435206cd1c4f74bae8af135f2c)
2024-06-28 20:38:21 -04:00
Andrey 5b49a81cb7 dead 2024-06-24 13:49:54 -04:00