Commit Graph

1564 Commits

Author SHA1 Message Date
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
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
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
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
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