Commit Graph

57 Commits

Author SHA1 Message Date
Matthew Kennedy 4ed8906748 fix tests for no shadowing 2023-11-01 17:31:08 -07:00
Andrey 2b01d856d3 reducing confusion between library header and rusefi main repo header 2022-09-01 11:35:35 -04:00
Matthew Kennedy 1596228f10 libfirmware has interpolation tests (#4362)
* move interpolation tests

* what actually happens if sanitize is off?

* oh look there are real bugs to be caught by sanitizer
2022-07-21 15:41:42 -04:00
Matthew Kennedy 1951bbda8b move math (#4353) 2022-07-17 00:16:22 -04:00
Andrey 436dec6df5 refactoring 2021-12-24 16:51:31 -05:00
Matthew Kennedy 0f133f88a1 Map3D accepts any scaled_channel type (#3712)
* Map3D accepts any scaled_channel type

* consistency

* reinstate test

* fix ratio
2021-12-21 18:52:46 -05:00
Andrey 1fc31cd565 Map3D needs some changes to allow autoscale RPM bin #3707 2021-12-21 16:04:16 -05:00
Matthew Kennedy f2312facd6 tables support non-integer-scaled scaled_channel (#3708)
* support dividers

* float

* format
2021-12-21 00:59:07 -05:00
Matthew Kennedy 2ba4c7844d simplify some table lookups (#3692)
* simplify

* expand interpolation test
2021-12-20 08:14:30 -05:00
Andrey 842c787645 are we missing something? 2021-12-19 23:57:36 -05:00
Matthew Kennedy a2766e5d9b support autoscale on table axes (#3452)
* scale map Y axis

* allow different row/col types

* scaled channel detector

* interpolation

* looks like this actually works

* tests, no manual scaling

* comment
2021-11-03 19:53:26 -04:00
Matthew Kennedy 39388c75d8 even more pch (#3112)
* s

* more

* s

* f7
2021-08-04 19:30:52 -04:00
Matthew Kennedy 4e6b61234f yet more pch (#3068)
* big pch energy

* put back ramdisk stub

* tests are happy

* h743 nucleo

* kinetis

* I love deleting code!

* make stepper happy

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-08-03 22:05:01 -04:00
Matthew Kennedy 74ff11bccc make the test legible (#2834) 2021-06-18 22:53:22 -04:00
Matthew Kennedy 70c0db189d warnings & assorted cleanup (#2793)
* lua hook

* validateBuffer

* tables

* simplify fsio table

* test

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-06-03 14:30:25 -04:00
Matthew Kennedy 8b042ab9b1 rewrite table3d (#2723)
* post cranking factor limits

* sensible defaults

* but not for tests

* add pointer version of get bin

* test via map3d

* put that back for a minute

* new impl

* fix order

* rename and fix table orientation

* flip the table to the correct orientation

* dead cleanup, rename

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-05-20 22:31:16 +03:00
rusefillc 8080f3bde7 helping us trace CUSTOM_INTEPOLATE_ERROR 2021-04-08 16:14:06 -04:00
Matthew Kennedy dbebc353a2 remove unused msg parameter (#2360)
* dead parameter

* last few
2021-02-16 09:32:16 -05:00
Matthew Kennedy b32e9ecb4a templated interpolate2d (#2221)
* template table2d

* assertions

* oops

* tests

* test bins too

* more assert

* format

* explicitly handle and test NaN

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-11 08:00:15 -05:00
Matthew Kennedy 8eaae30bca fix #1968 (#1976)
* tanf

* name

* comment, add test
2020-11-22 08:26:17 -05:00
rusefi e4cfc39b68 docs & clean-up 2020-05-10 00:59:32 -04:00
Matthew Kennedy d17afd3a63 ETB testing: output, position clamping (#1333)
* add clampf

* more tests

* public

* missed a mock

* fix output duty clamping

* do it that way

* more

* ah ha!

* test negative too

* clamp pedal

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-20 13:52:20 -04:00
rusefi b40d4d588d code style 2020-04-01 21:32:21 -04:00
rusefi a222ecdfe1 happy new year unification 2020-01-13 21:57:43 -05:00
rusefi c3562bde51 unit_tests are failing under 32 bit mingw-w64 #905 2019-08-25 17:23:53 -04:00
Matthew Kennedy 0b52f5b542 Template-ize bin/value length for interpolation (#878)
* update consumers

* tests

* whitespace

* format
2019-07-09 21:16:36 +03:00
rusefi f0d0a9b3e4 migrating to googletest 2019-01-14 18:38:20 -05:00
rusefi 2f3d5b7829 migrating to googletest 2019-01-14 18:20:20 -05:00
rusefi ad94742d8b migrating to googletest 2019-01-14 18:00:59 -05:00
rusefi 8fa3d4c3a5 migrating to googletest 2019-01-14 15:37:05 -05:00
rusefi 2358e6e9c0 migrating to googletest 2019-01-14 15:31:56 -05:00
rusefi 4656e375d0 minor fix 2019-01-08 23:02:04 -05:00
Matthew Kennedy 7154da1f5f Improve wall wetting AE to use time constant (#650)
* impruv

* c++17

* add tests, docs
2019-01-06 20:45:51 -05:00
rusefi 8558990a0c docs 2018-12-08 11:08:41 -05:00
rusefi c3a57b6a77 refactoring 2018-09-16 22:39:46 -04:00
rusefi ea9bd3f31f #604 fix 2018-08-19 11:27:59 -04:00
rusefi 36202a02db #604 confirming current behaviour 2018-08-19 10:53:25 -04:00
rusefi d94f34bef8 refactoring 2018-03-04 23:08:32 -05:00
rusefi 4a40130657 happy new year 2018-01-20 20:42:19 -05:00
rusefi 6bf85e0775 better method name 2017-06-11 15:12:41 -04:00
rusefi 9c32e85d86 better error handling 2017-05-29 11:31:07 -04:00
rusefi 05b1ac9892 no, it looks fine 2017-04-11 14:47:17 -04:00
rusefi 5c7daaef38 do we have a major defect? 2017-04-11 14:34:30 -04:00
rusEfi 9ac5aa544c auto-sync 2017-01-03 14:05:36 -05:00
rusEfi 12142966e9 auto-sync 2016-04-02 23:01:58 -04:00
rusEfi 41e7abdd6f auto-sync 2015-07-10 09:01:56 -04:00
rusEfi 69b0c4e2de auto-sync 2015-07-10 08:57:59 -04:00
rusEfi f5d5552f10 auto-sync 2015-04-05 16:04:54 -05:00
rusEfi 04f6e3f024 auto-sync 2015-02-13 14:04:38 -06:00
rusEfi 5810fb61d5 auto-sync 2015-02-13 13:07:45 -06:00