Commit Graph

60 Commits

Author SHA1 Message Date
rusefi a3a492d46f Map3D should not be silently return 0 if not initialized #6461
preparation: giving tables names
2024-05-03 22:31:53 -04:00
Andrey 3096db5c72 confusing Map3D API fix #6139 2024-03-04 17:58:24 -05:00
rusefillc 2cc18acd24 only:Non-square dimension maps #5641 2023-10-25 17:02:06 -04:00
Andrey 5c5fafd7c2 only:minor note 2023-09-18 13:49:25 -04:00
Andrey b89217b596 reducing confusion between library header and rusefi main repo header 2022-09-01 11:35:35 -04:00
Matthew Kennedy 40f48212aa
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 acf18c7072
move math (#4353) 2022-07-17 00:16:22 -04:00
Andrey 19a8685644 refactoring 2021-12-24 16:51:31 -05:00
Matthew Kennedy dff6d9b2f1
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 6b91bacd59 Map3D needs some changes to allow autoscale RPM bin #3707 2021-12-21 16:04:16 -05:00
Matthew Kennedy b6a8bed429
tables support non-integer-scaled scaled_channel (#3708)
* support dividers

* float

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

* expand interpolation test
2021-12-20 08:14:30 -05:00
Andrey 76088f686f are we missing something? 2021-12-19 23:57:36 -05:00
Matthew Kennedy 24224729a3
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 d24f1462e2
even more pch (#3112)
* s

* more

* s

* f7
2021-08-04 19:30:52 -04:00
Matthew Kennedy 25414ebdad
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 a4e3e28d14
make the test legible (#2834) 2021-06-18 22:53:22 -04:00
Matthew Kennedy 3ef969d743
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 b398d03f5f
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 6eb68aa4a1 helping us trace CUSTOM_INTEPOLATE_ERROR 2021-04-08 16:14:06 -04:00
Matthew Kennedy 4a1d3de9a6
remove unused msg parameter (#2360)
* dead parameter

* last few
2021-02-16 09:32:16 -05:00
Matthew Kennedy 604b0cd527
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 747b3d2fa8
fix #1968 (#1976)
* tanf

* name

* comment, add test
2020-11-22 08:26:17 -05:00
rusefi ac9faf6646 docs & clean-up 2020-05-10 00:59:32 -04:00
Matthew Kennedy 0619575716
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 a47dce4025 code style 2020-04-01 21:32:21 -04:00
rusefi bb217b01dd happy new year unification 2020-01-13 21:57:43 -05:00
rusefi 47dba2f576 unit_tests are failing under 32 bit mingw-w64 #905 2019-08-25 17:23:53 -04:00
Matthew Kennedy e0db83e027 Template-ize bin/value length for interpolation (#878)
* update consumers

* tests

* whitespace

* format
2019-07-09 21:16:36 +03:00
rusefi 38ed23c43f migrating to googletest 2019-01-14 18:38:20 -05:00
rusefi 9d1fc30857 migrating to googletest 2019-01-14 18:20:20 -05:00
rusefi 6c62f2e25f migrating to googletest 2019-01-14 18:00:59 -05:00
rusefi cc300145b3 migrating to googletest 2019-01-14 15:37:05 -05:00
rusefi 73aa22573e migrating to googletest 2019-01-14 15:31:56 -05:00
rusefi 70a4d25e0b minor fix 2019-01-08 23:02:04 -05:00
Matthew Kennedy 45d4243636 Improve wall wetting AE to use time constant (#650)
* impruv

* c++17

* add tests, docs
2019-01-06 20:45:51 -05:00
rusefi 58843b5f6c docs 2018-12-08 11:08:41 -05:00
rusefi 98c7ad808c refactoring 2018-09-16 22:39:46 -04:00
rusefi 52ab8424e7 #604 fix 2018-08-19 11:27:59 -04:00
rusefi ff09188ecc #604 confirming current behaviour 2018-08-19 10:53:25 -04:00
rusefi 5309d606cd refactoring 2018-03-04 23:08:32 -05:00
rusefi 5e5fa70f4f happy new year 2018-01-20 20:42:19 -05:00
rusefi 758c7461bd better method name 2017-06-11 15:12:41 -04:00
rusefi 52ee60036a better error handling 2017-05-29 11:31:07 -04:00
rusefi a328d2e4bf no, it looks fine 2017-04-11 14:47:17 -04:00
rusefi ace9a28a1b do we have a major defect? 2017-04-11 14:34:30 -04:00
rusEfi ac0f6aad18 auto-sync 2017-01-03 14:05:36 -05:00
rusEfi 9ddf6c4267 auto-sync 2016-04-02 23:01:58 -04:00
rusEfi 969ebbf142 auto-sync 2015-07-10 09:01:56 -04:00
rusEfi 298341e0d1 auto-sync 2015-07-10 08:57:59 -04:00