Commit Graph

556 Commits

Author SHA1 Message Date
rusefi 6c08eec9ad Annotations in C++ code to produce formulas in rusEfi console #807 2019-06-19 00:05:23 -04:00
rusefi 13fefc6245 Annotations in C++ code to produce formulas in rusEfi console #807 2019-06-18 23:23:30 -04:00
rusefi a8f456b807
Annotations in C++ code to produce formulas in rusEfi console #807 (#847)
* Annotations in C++ code to produce formulas in rusEfi console #807
firmware part of the change

* removing unneeded stuff & fixing unit test compilation

* not complete better unit test compilation fix  :(

* better C++ usage
2019-06-17 12:18:55 -04:00
Matthew Kennedy e47bc4b952 Fix tunerstudio ratio vs. percent (#838)
* fix ratio vs pct

* fix idle cranking clt position

* fix defaults

* fix typo

* fix baro corr gauge

* baro default

* fix degree symbols

* fix testFuelMap

* fix testPlainCrankingWithoutAdvancedFeatures

* test testFasterEngineSpinningUp
2019-06-13 09:05:22 -04:00
Matthew Kennedy 95003e9a7b const, explicit, and override (#831)
* const, explicit, and override

* more const

* more const

* missed a spot
2019-06-08 09:51:36 -04:00
rusefi 5f642ac254 unit tests should not have global context, including mock values 2019-05-27 15:56:12 -04:00
rusefi 0dca6e6da1 refactoring: better variable names 2019-05-27 11:17:28 -04:00
rusefi bc4d76a144 The Big Refactoring of 2019: folder structure #723 2019-04-25 22:10:58 -04:00
rusefi 541c445a2d defined(__DOXYGEN__) ? #748 2019-04-12 22:07:03 -04:00
rusefi be9651cb95 The Big Refactoring of 2019: folder structure #723 2019-03-31 17:44:34 -04:00
rusefi bd2b992918 unifying_file_naming 2019-03-29 09:11:13 -04:00
rusefi c2f48b1a56 #657 fixing fresh defect 2019-02-01 22:55:35 -05:00
rusefi 905db38c17 #657 2019-02-01 21:24:07 -05:00
rusefi 9ed58a5ba0 better conditional compilation 2019-01-31 18:30:40 -05:00
rusefi da4fb3a19f better conditional compilation 2019-01-31 17:55:23 -05:00
rusefi c4cd774d29 #656 trying a new idea 2019-01-28 03:25:28 -05:00
rusefi 3dab4b5163 #656 global is not great 2019-01-28 02:29:13 -05:00
rusefi b3e4ab1f6a #657 2019-01-28 01:25:23 -05:00
rusefi 5bb24e0193 better (?) location for files 2019-01-28 01:09:13 -05:00
rusefi e51af16b2f no comment 2019-01-28 00:00:19 -05:00
rusefi af518d7978 #657 2019-01-27 23:41:46 -05:00
rusefi 7fcbe43e71 #669 renaming error code 2019-01-26 13:19:18 -05:00
rusefi 7a20bda66f refactoring around GET_RPM 2019-01-21 20:33:21 -05:00
rusefi 28bde6f084 better method name and docs related to improved craking logic 2019-01-20 11:33:40 -05:00
rusefi 2e1d552396 MAF2MAP convestion #538 2019-01-13 01:53:58 -05:00
rusefi dd8e2d9326 The Big Refactoring of 2019: DECLARE_ENGINE_PARAMETER_SUFFIX consistency and simplification #657 2019-01-10 19:25:07 -05:00
Matthew Kennedy 799923ac5d const (#648) 2019-01-05 08:06:18 -05:00
rusefi 6360719ed0 #635 2019-01-01 14:05:11 -05:00
Fabien Poussin 72fe39ff32 Workarounds for GCC 8 (#637) 2018-12-27 09:40:40 -05:00
rusefi f0344fd16c #625 big step - no more engine dependency from TriggerShape 2018-12-25 22:47:29 -05:00
rusefi 62b5e87393 #635 2018-12-25 12:27:34 -05:00
rusefi 24e8eb9af9 better location for shared input 2018-12-08 16:06:14 -05:00
rusEfi 409cfca5e3 better logging 2018-11-26 21:40:41 -05:00
rusEfi b4a09b2e71 better logging 2018-11-26 21:14:21 -05:00
rusEfi 74585d835c little progress 2018-11-25 23:13:03 -05:00
rusefi 8156e8f752 PID auto tune unit test 2018-11-22 23:42:30 -05:00
rusefi 1fffc8b740 docs 2018-11-22 23:15:05 -05:00
rusefi 64a592e507 PID auto tune unit test 2018-11-22 23:06:06 -05:00
rusefi a417be192f PID auto tune unit test 2018-11-22 22:14:32 -05:00
rusefi dd2f17a332 PID auto tune unit test 2018-11-22 18:56:51 -05:00
rusefi dcdbd433ab PID auto tune unit test 2018-11-22 18:43:41 -05:00
rusefi 20c70904a3 migrating to a much nicer pid auto tune lib 2018-11-20 23:19:16 -05:00
rusefi 3fb0ee1094 unused 2018-11-18 23:51:47 -05:00
rusefi 02c0508b20 moving to nicer implementation 2018-11-18 23:28:18 -05:00
andreika-git 752b995def STM32F7: Fix Unit-tests (#621) 2018-11-16 08:08:20 -05:00
andreika-git 23fea3c0c5 STM32 Nucleo144-F767ZI board: Initial support (#620)
* More EFI_ #ifdefs for config flexibility

* Even more config flexibility

* New firmware/config/stm32f7ems/* files

* New firmware/config/boards/NUCLEO_F767/* files

* New firmware/hw_layer/stm32f7/* files

* Fix for EFI_USB_SERIAL

* Adding #if defined(STM32F7XX)

* SPI flags changed in F7: SPI_CR1_DFF --> SPI_CR1_CRCL

* I2Cv2 config changed in F7

* More versatile CCM defines

* Makefiles

* Double #ifs cleanup

* docs
2018-11-16 07:40:06 -05:00
rusEfi e183faf231 better error handling 2018-11-10 20:53:28 -05:00
rusefi 8ba703da6b docs 2018-10-13 09:24:41 -04:00
rusEfi e5534d79b7 new debug field 2018-10-10 22:19:20 -04:00
andreika-git bd40691e67 AirFlow-interpolated tCharge Mode (#612)
* Add vars & enums

* updateTChargeK()

* limitRateOfChange()

* Impl. AirFlow-interpolated tCharge mode

* Update tsOutputChannels: tCharge & airFlow

* Set default config params

* Unit-tests

* Fix tChargeMode_e
2018-09-29 12:16:36 -04:00
rusefi 1f90cf153d refactoring 2018-09-16 22:26:57 -04:00
rusefi 9b1af6ad6d error codes 2018-09-10 22:10:55 -04:00
rusefi 7b37195d64 names for error codes 2018-09-10 22:00:13 -04:00
rusefi 95117bcfdc separating data structure from global state 2018-08-31 22:19:19 -04:00
rusefi 47aa86ff18 docs 2018-08-29 07:43:21 -04:00
rusefi 2795d19fbc better method name 2018-07-29 16:30:23 -04:00
rusEfi 75b10d9e54 wider macro usage 2018-07-28 19:16:58 -04:00
rusefi 5e6deaa782 making error condition less fatal
#598
2018-07-28 15:36:47 -04:00
rusefi 9b2c7239c8 #598 better state initialization 2018-07-28 14:28:52 -04:00
rusefi 22cbf774ad #598 2018-07-28 14:01:28 -04:00
rusefi e03314e4a5 #598 really strage error 2018-07-28 13:58:19 -04:00
rusefi 99e74635ef step towards more unique codes 2018-07-25 23:30:00 -04:00
rusefi 959a91ae4c unique error codes #598 2018-07-25 23:03:04 -04:00
rusefi bb15cb20fd #598 2018-07-24 20:40:44 -04:00
rusefi 2cdee04c61 refactoring: reorder to remove forward reference 2018-07-24 20:15:38 -04:00
rusEfi 9cce922b78 per error code 2018-07-23 21:38:05 -04:00
rusefi 74bd1d7e10 error code into angle validation 2018-07-23 21:03:20 -04:00
rusefi e3dfcc4df9 more detailed warning 2018-06-12 05:45:11 -04:00
rusefi d7211d8c64 better field name 2018-05-08 13:33:49 -04:00
andreika-git 99ea4ee796 Idle PID Coasting & Amplification Improvements (#589)
* PID Error Amplification Coef

* Add settings: useIacTableForCoasting,pidExtraForLowRpm,iacCoasting

* Modify interface for the new settings

* Run gen_config.bat and generate configs

* idlePositionSensitivityThreshold

* Remove cltCorrection from autoIdle() & more verbose debug

* Impl. idlePidRpmDeadZone and pidExtraForLowRpm; reset PID when deactivated

* Impl. useIacTableForCoasting+iacCoasting and idlePidRpmUpperLimit
2018-03-30 08:42:13 -04:00
rusEfi 31f2811cd5 chasing that funny issue on change engine 2018-03-20 23:12:32 -04:00
andreika-git ac0189270e Impl. faster engine spin-up mode (alpha-version) (#567)
* Impl. faster engine spin-up mode (alpha-version)

* A comment for RPM_LOW_THRESHOLD

* Faster engine stop detection

* Safety check for instant RPM on spinning-up

* rusefi.xml

* unit-tests & relevant fixes
2018-03-10 20:58:51 -05:00
rusefi c724db110e progress 2018-03-03 09:11:49 -05:00
rusefi 1eea49aaec extracting macro 2018-02-03 10:48:35 -05:00
rusefi 02974f6854 tiny fix 2018-01-28 13:14:18 -05:00
rusEfi b4f89fbe26 why?... 2018-01-25 19:29:28 -05:00
rusefi 64b7a51617 #65
explicit precision control
2018-01-23 12:05:14 -05:00
rusefi 1d31067d19 happy new year 2018-01-20 20:55:31 -05:00
rusEfi 44d93077ce better state validation 2018-01-13 21:47:34 -05:00
rusEfi 9684549124 better method name 2018-01-07 11:17:49 -05:00
rusefi 73024a808a docs 2017-12-24 21:26:42 -05:00
andreika-git 95e55a22f3 New PID with CIC integrator (#519) 2017-12-24 21:17:10 -05:00
rusefi d166bd9493 typo 2017-12-11 10:07:13 -05:00
rusEfi 414f45ede2 softer error handling 2017-12-03 18:17:59 -05:00
rusefi 306a450568 better constraint validation 2017-12-02 22:29:50 -05:00
rusefi 3232d0d59d better state validation 2017-12-02 18:58:40 -05:00
rusefi adf6b99b38 better state validation 2017-12-02 18:58:27 -05:00
rusefi 67fc168368 better error handling 2017-11-19 21:30:59 -05:00
rusefi f839afeb54 better field name 2017-11-06 22:29:39 -05:00
rusefi 276df6e481 refactoring: better method name 2017-11-06 21:48:25 -05:00
rusefi ce29b1ea17 fixing build 2017-11-06 21:37:21 -05:00
rusefi 3c3a7ad34f refactoring - better variable name 2017-11-06 21:30:39 -05:00
rusefi 345304ea8e #487 2017-11-06 19:00:30 -05:00
rusefi 281611e2fd better state validation 2017-10-29 16:42:36 -04:00
rusefi 79398af30a docs 2017-10-09 07:46:50 -04:00
rusEfi 5a6f42d1fa minor etb 2017-09-17 22:05:03 -04:00
rusefi 64162b2719 PID auto tune 2017-09-14 22:07:26 -04:00
rusefi 27136cafe7 PID auto tune 2017-09-14 21:49:26 -04:00
rusefi f8e37c9c92 PID auto-tune 2017-09-13 22:46:55 -04:00
rusefi 06037cd4ce pid auto-tune 2017-09-13 22:08:59 -04:00
rusefi aafb19ae97 fixing build 2017-08-26 20:10:50 -04:00
rusefi 5b0650bdb7 better state validation 2017-08-26 19:54:06 -04:00
rusefi 312bc3b067 P parameter multiplier for logs 2017-07-23 12:12:35 -04:00
rusefi 9beef0f0ae refactoring: OOP 2017-07-10 21:47:51 -04:00
rusefi a3b10a0a04 RPM refactoring done 2017-07-08 07:19:26 -04:00
rusefi ba42a98c2f RPM refactoring 2017-07-06 17:26:32 -04:00
rusefi 70c61ff89a RPM refactoring 2017-07-06 11:19:02 -04:00
rusefi 194735dac4 RPM refactoring 2017-07-06 11:15:29 -04:00
rusefi 73028851dd RPM refactoring 2017-07-06 08:49:55 -04:00
rusefi e4e3684f62 docs 2017-06-11 14:59:03 -04:00
rusefi 004c0dc6b7 refactoring 2017-06-11 14:40:29 -04:00
rusefi e4d883429f Lamborghini Diablo firing order 2017-06-08 20:35:42 -04:00
rusEfi 3b6ce7565c change of PID period to reset PID 2017-06-04 13:21:07 -04:00
rusEfi 9623b3938b good enough solution for now #435 2017-06-04 12:59:24 -04:00
rusefi a03ad2f9ca PID reset counter for all! 2017-06-03 10:37:26 -04:00
rusefi 4284c47e0c #435 2017-06-02 22:28:12 -04:00
rusefi fbd1eab289 PID reset counter 2017-06-02 21:34:00 -04:00
rusEfi 258506da65 PID progress 2017-05-29 23:32:41 -04:00
rusEfi b9a8bfed2b PID refactoring 2017-05-29 23:15:07 -04:00
rusEfi 9182781c40 refactoring & status fix 2017-05-29 22:51:14 -04:00
rusefi d280141ac2 better error code names 2017-05-29 19:23:15 -04:00
rusefi 52ee60036a better error handling 2017-05-29 11:31:07 -04:00
rusefi d267c75b83 PID storage refactoring - minor incompatible storage change 2017-05-28 22:32:32 -04:00
rusefi 28f6077c5f progress 2017-05-28 22:10:35 -04:00
rusefi 1bcfea1068 docs 2017-05-25 12:09:07 -04:00
rusefi 5ba67f98db refactoring 2017-05-25 08:56:36 -04:00
rusefi 55010eda5b refactoring 2017-05-25 08:49:04 -04:00
rusefi a1dcc5292b nothing to hide 2017-05-22 22:32:08 -04:00
rusefi 74a359077c better macro name 2017-05-15 23:33:22 -04:00
rusefi 2a9f3cdede better macro name 2017-05-15 23:28:49 -04:00
rusefi 8008a594ff refactoring - reducing complexity 2017-04-21 13:22:11 -04:00
rusEfi be18c73836 refactoring: better code names 2017-04-19 22:03:14 -04:00
rusefi 5f53920902 better startup handling 2017-04-18 08:16:53 -04:00
rusefi 3745fe080d better startup handling 2017-04-13 11:19:36 -04:00
rusefi fa66cc1a2a better startup handling 2017-04-13 10:43:27 -04:00
rusefi ea8395550e better constraint validation 2017-04-13 08:01:59 -04:00
rusEfi 329981f5e6 better error handling 2017-04-12 23:48:35 -04:00
rusefi 8c6253f198 better constraint validation & refacoting 2017-04-12 23:25:58 -04:00
rusefi 58b943d3b3 better error handling 2017-04-12 17:51:35 -04:00
rusefi db70dbc966 bugfix 2017-04-12 16:50:17 -04:00
rusefi 5e4ac52f56 better error handling 2017-04-12 15:44:24 -04:00
rusefi dbb623f6d3 better error code names 2017-04-12 09:26:22 -04:00
rusefi 5e839b0880 maybe #393 reset bugfix 2017-04-10 22:07:51 -04:00
rusefi 713a23dc8d #393 2017-04-10 15:16:00 -04:00
rusefi 907e058d95 refactoring: removing unused parameter 2017-03-25 21:03:18 -04:00
rusefi 4f177769de validating firing order length 2017-03-23 23:23:11 -04:00
rusefi 3648a1f651 validating firing order length 2017-03-23 22:01:10 -04:00
rusefi 24559473d6 improving internal consistency validation 2017-03-19 17:54:03 -04:00
rusefi 10e5cc8702 better error handling 2017-03-12 15:57:33 -04:00
rusefi e6b902ad47 fixed #370 2017-03-09 01:14:02 -05:00
rusefi 60920bfa14 refactoring #370 2017-03-09 00:51:27 -05:00
rusefi ca38c52033 progress 2017-03-05 21:09:31 -05:00
rusefi 2babd85a9e individual error codes for all errors 2017-03-05 08:50:19 -05:00
rusefi 7648f1b82b docs 2017-03-03 23:49:05 -05:00
rusefi b01b053595 progress #363 2017-03-01 22:18:25 -05:00
rusefi da53234ca4 refactoring 2017-03-01 22:01:08 -05:00
rusEfi e77666ef2e auto-sync 2017-02-18 15:01:47 -05:00
rusEfi 78a8b96228 auto-sync 2017-02-13 11:03:16 -05:00
rusEfi 4a21efcb69 auto-sync 2017-02-08 01:03:36 -05:00
rusEfi ef496916f9 auto-sync 2017-01-22 17:03:31 -05:00
rusEfi 9396bb350d auto-sync 2017-01-22 09:03:08 -05:00
rusEfi 4bfab7257e auto-sync 2017-01-13 00:03:30 -05:00
rusEfi 55e89f0f31 auto-sync 2017-01-03 06:05:22 -05:00
rusEfi 2f23b4a3b9 auto-sync 2016-12-25 22:02:40 -05:00
rusEfi 95c283866b auto-sync 2016-12-21 00:02:53 -05:00
rusEfi 8241bca444 auto-sync 2016-12-20 23:02:52 -05:00
rusEfi a4d6033c72 auto-sync 2016-12-18 23:01:40 -05:00
rusEfi 39fd428e0d auto-sync 2016-12-18 22:03:00 -05:00
rusEfi 423b838d2b auto-sync 2016-12-18 19:02:00 -05:00
rusEfi c869c21ba8 auto-sync 2016-12-18 12:03:48 -05:00
rusEfi c2c258dcb2 auto-sync 2016-12-06 22:03:16 -05:00
rusEfi 12e550a3c4 auto-sync 2016-12-06 09:02:05 -05:00
rusEfi d538722d82 auto-sync 2016-12-06 00:02:47 -05:00
rusEfi e8cf062755 auto-sync 2016-12-05 22:01:54 -05:00
rusEfi 3550caab27 auto-sync 2016-12-01 20:01:57 -05:00
rusEfi e291bbd846 auto-sync 2016-11-30 23:02:42 -05:00
rusEfi dd7b864492 auto-sync 2016-11-30 22:06:43 -05:00
rusEfi f399233038 auto-sync 2016-11-30 21:06:24 -05:00
rusEfi 2a7d260437 auto-sync 2016-11-30 20:02:41 -05:00
rusEfi 0fe292a6ac auto-sync 2016-11-30 19:01:43 -05:00
rusEfi 90989a6579 auto-sync 2016-11-30 18:02:19 -05:00
rusEfi d8753c34a2 auto-sync 2016-11-30 15:02:43 -05:00
rusEfi 942b58832e auto-sync 2016-11-26 20:01:34 -05:00
rusEfi b8bf58aa58 auto-sync 2016-11-25 14:03:06 -05:00
rusEfi 6de8a84543 auto-sync 2016-11-11 19:02:29 -05:00
rusEfi ba0f7d6057 auto-sync 2016-11-07 23:01:47 -05:00
rusEfi 775950e919 auto-sync 2016-11-03 23:02:58 -04:00
rusEfi d26b9650b6 auto-sync 2016-11-01 21:03:07 -04:00
rusEfi e7b8cd9646 auto-sync 2016-10-31 22:02:12 -04:00
rusEfi 08650ccdbc auto-sync 2016-10-31 21:02:36 -04:00
rusEfi dbb8de8b55 auto-sync 2016-10-11 21:03:00 -04:00
rusEfi e984e7a0c4 auto-sync 2016-10-10 14:02:17 -04:00
rusEfi e5690535aa auto-sync 2016-09-26 00:03:15 -04:00
rusEfi 53ebcf4c17 auto-sync 2016-09-21 23:03:22 -04:00
rusEfi 2f0bb11ebd auto-sync 2016-09-20 21:02:46 -04:00
rusEfi b47f20482d auto-sync 2016-09-17 16:02:56 -04:00
rusEfi c5707c43ed auto-sync 2016-09-17 15:02:55 -04:00
rusEfi 5a7c5f2222 auto-sync 2016-09-15 23:01:48 -04:00
rusEfi 1afc239f3b auto-sync 2016-09-15 18:02:36 -04:00
rusEfi 5212e2b28d auto-sync 2016-09-10 22:03:38 -04:00