Commit Graph

2783 Commits

Author SHA1 Message Date
Andrey Gusakov 000c6ee284 adc: try to clean naming mess: getAdcValue() rename to adcGetRawValue() 2024-12-09 07:43:43 -05:00
Andrey Gusakov eeb6f8e9cd SENT: support pause pulses 2024-12-06 16:18:49 -05:00
Andrey Gusakov 09ea436a9d unit_test: SENT: test data from VAG MAP+IAT sensor 2024-12-06 16:18:49 -05:00
Andrey Gusakov b5ee8a9601 unit_test: SENT: test data from Opel Insignia ETB 2024-12-06 16:18:49 -05:00
Andrey Gusakov a4c9e58ee3 unit_test: SENT: improve 2024-12-06 16:18:49 -05:00
kifir 7f73b9b1f6 Rename fields to enhance `nitrous_control_state` view #6783 2024-12-06 22:42:27 +02:00
kifir 4d8b3229fa Implement `Minimum Vehicle Speed` setting #6783 2024-12-06 19:18:23 +02:00
kifir 80a7b4c436 Implement `Ignition Retard` setting #6783 2024-12-06 17:33:06 +02:00
rusefillc fbed899881 sent: a change to improve unit test message 2024-12-05 20:06:53 -05:00
kifir23917 ad027a99d6
Implement Fuel Adder % settings #6783 (#7125)
* only:refactoring: extract part of functionality into `NitrousTestBase` class #6783

* Implement `Fuel Adder %` settings #6783
2024-12-05 16:58:40 -05:00
kifir23917 8be7dc0c26
Implement `Nitrous Relay` and `Nitrous Relay Mode` settings #6783 (#7122) 2024-12-05 09:14:08 -05:00
kifir23917 8130d035ed
Convert `NitrousController` into engine module, handling slow callback #6783 (#7121)
* make update sensor post action configurable #6783

* Convert `NitrousController` into engine module, handling slow callback #6783
2024-12-04 17:55:08 -05:00
rusefillc 403be100ce only:reducing one hop while accessing gap ratio 2024-12-03 20:30:40 -05:00
kifir c1eb9dbae1 Implement `isNitrousConditionSatisfied` #6783 2024-12-02 23:34:59 +02:00
kifir23917 8ec1c247fe
Nitrous defaults and deactivation RPM window fix (#7115)
* Implement default value for `Minimum TPS` setting #6783

* Implement default value for `Minimum CLT` setting #6783

* Implement default value for `Maximum AFR` setting #6783

* Implement default values for `Activation RPM`, `Deactivation RPM` and `Deactivation RPM Window` settings #6783

* only:refactoring: get rid of redundant overloaded `TestBase::updateRpm` method

* only: refactoring make rising checker in hysteresis configurable

* Enhance deactivation RPM window implementation #6783
2024-12-02 12:06:49 -05:00
kifir b99c2897ce Implement `Activation RPM`, `Deactivation RPM` and `Deactivation RPM Window` settings #6783 2024-12-02 00:27:43 +02:00
kifir 8f8da5b074 only:refactoring: renaming #6783 2024-11-30 00:34:03 +02:00
kifir f2e1061a1d enhance test #6783 2024-11-30 00:34:03 +02:00
kifir 74e8619ad7 Implement `Maximum AFR` setting #6783 2024-11-30 00:34:03 +02:00
kifir 8c03b616e6 implement `Maximum MAP` setting #6783 2024-11-29 01:26:40 +02:00
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