rusefillc
10d3afab9c
well that was cute
2022-06-27 23:10:58 -04:00
rusefi
b6544cccf0
less invalid default config
2022-06-26 23:47:42 -04:00
rusefi
1f7051db48
proteus pinout minor mess
2022-06-02 23:28:39 -04:00
rusefillc
bcc50f0de3
proteus meta
2022-05-04 17:05:08 -04:00
Matthew Kennedy
1bbc9472b4
proteus meta
2022-05-04 17:00:38 -04:00
rusefillc
3b3f62b24f
Make ETB low limit configurable fix #4119
2022-05-02 05:24:50 -04:00
Andrey
f3b7e1ae25
Move curves out of engineConfiguration in order to reduce RAM usage fix #4127
2022-05-02 05:04:58 -04:00
rusefillc
e715bcc01f
actually let's remove the duplicates
2022-04-18 11:43:49 -04:00
rusefillc
e59ae35196
unique field names
2022-04-18 11:11:57 -04:00
rusefillc
82f608d558
one step sideways to fix build
2022-04-16 21:24:02 -04:00
rusefillc
08c50cc1dd
logging of live data structs was: data points #3614
...
progress
2022-04-16 21:04:02 -04:00
rusefillc
084685c747
logging of live data structs was: data points #3614
...
ETB
2022-04-14 15:25:01 -04:00
Matthew Kennedy
f1742c44ff
output channel tweaks ( #4023 )
...
* shuffle around output channels
* postState should take a ref
* s
* s
* patch input file
* limits
* accel bad bounds check
* units
* units
* Revert "accel bad bounds check"
This reverts commit b2bb493be331d5d2cf40b9ed01363a53182c883e.
* missed an autoscale
2022-03-24 08:58:55 -04:00
Matthew Kennedy
929ff28c0c
Etb2 trim ( #4004 )
...
* wire up different logic for etb2
* clamp and actually works
* s
* happy compiler
2022-03-15 20:04:49 -04:00
rusefillc
9ba10b19d4
JNI for test coverage #3965
2022-03-15 11:47:47 -04:00
Andrey
c4339e2148
JNI for test coverage #3965
2022-03-15 11:23:06 -04:00
Andrey
df5cb34fb8
migrating to SensorType::Rpm API
2022-01-20 22:40:15 -05:00
rusefillc
b9a792a07c
Better handling of RPM during stop of cranking #3803
...
refactoring: reusing existing method
2022-01-17 20:53:10 -05:00
rusefillc
71b2dc762a
https://en.wikipedia.org/wiki/Pi
2022-01-14 21:23:27 -05:00
rusefillc
9f8ccececd
docs & refactoring
2021-12-26 12:35:41 -05:00
Matthew Kennedy
a4871c703c
Autoscale all the things! ( #3713 )
...
* Map3D accepts any scaled_channel type
* consistency
* reinstate test
* fix ratio
* throttle, boost, gppwm
* scale ignition and VE
* tests
2021-12-22 08:09:41 -05:00
Matthew Kennedy
479ae44cd7
remove etb status option ( #3695 )
...
* remove
* ui
* settings cpp
2021-12-15 08:20:14 -05:00
Andrey
940b04ab24
Let's always have TS structure so that unit tests can check values in outputChannels, kind of making outputChannels a god dump for state but whatever since Live View is coming
2021-12-07 20:18:47 -05:00
rusefillc
f4ab23eb2b
Requesting LUA Torque intervention #3638
2021-12-02 01:02:56 -05:00
rusefillc
67af7470d7
why so many channels are hidden in debug ? #3614
2021-11-29 01:13:04 -05:00
rusefillc
26997ab9e3
why so many channels are hidden in debug ? #3614
2021-11-29 01:02:40 -05:00
rusefillc
6ff42cc031
automation around outputs section #197
2021-11-26 20:46:42 -05:00
rusefi
8ed3020c07
live data for wastegate #3588
2021-11-24 15:07:48 -05:00
rusefillc
284fea286b
live data for wastegate #3588
2021-11-24 13:20:47 -05:00
rusefillc
c75291f415
live data for wastegate #3588
...
i want to persist state so no 'const' sorry
2021-11-23 15:52:43 -05:00
Scott Smith
823d9a07e0
Programmatically replace ENGINE() and CONFIG() with engine-> etc ( #3565 )
...
git grep -l -w ENGINE | xargs sed -i -r "s/ENGINE\(([]a-zA-Z_0-9.[]+)\)/engine->\1/g"
git grep -l -w CONFIG | xargs sed -i -r "s/([^a-zA-Z_])CONFIG\(([]a-zA-Z_0-9.[]+)\)/\1engineConfiguration->\2/g"
2021-11-17 03:54:21 -05:00
Scott Smith
cc95bd6c8e
Programmatically remove EnginePtr/inject, EXPAND_Engine, and WITH_ENGINE_TEST_HELPER* ( #3560 )
...
* Programmatically remove EnginePtr/inject, EXPAND_Engine, and WITH_ENGINE_TEST_HELPER*
for i in ": public EnginePtr " ", public EnginePtr" "EXPAND_Engine;" "EXPAND_Engine"; do
git grep -l "$i" | xargs sed -i "s/$i//g"
done
git grep -l "inject" | xargs sed -i "/inject[(][)]/d"
for i in WITH_ENGINE_TEST_HELPER_SENS WITH_ENGINE_TEST_HELPER_BOARD_CALLBACK WITH_ENGINE_TEST_HELPER; do
git grep -l "$i" | xargs sed -i "s/$i/EngineTestHelper eth/g"
done
git checkout firmware/controllers/core/engine_ptr.h
git checkout unit_tests/global.h
* Review fixups.
2021-11-16 16:52:11 -05:00
Matthew Kennedy
8cdac4cac0
remove engine pointer passing ( #3556 )
...
* some
* more
* more
* the last?!
2021-11-16 04:15:29 -05:00
Matthew Kennedy
cb032fb1ea
(void) -> () ( #3550 )
...
* static functions with (void)
* more
* Revert "more"
This reverts commit 246e53441f935451437df186ac92d7df26b62fb6.
* s
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-11-15 13:02:34 +01:00
Matthew Kennedy
145316c497
less macro, more c++ ( #3549 )
...
* less macro
* s
2021-11-15 12:44:40 +01:00
Andrey
2c715be4b7
ETB: do not touch HW pins if function not selected, this way Lua can use DC motor hardware pins directly
2021-11-08 12:44:37 -05:00
Matthew Kennedy
3348c0404b
configurable etb maximum ( #3469 )
...
* etb maximum
* update tests and test new behavior
2021-11-05 18:16:19 -04:00
Andrey
75ab0040a1
looks like value is never assigned
2021-10-30 21:28:55 -04:00
rusefillc
4533ce4764
refactoring - extracting idle state
2021-10-16 23:55:29 -04:00
rusefillc
ea87d9c9be
Whatever we call it, no matter how we do it - we need live data / remote view into rusEFI actual state #3353
...
dead code
2021-10-14 15:17:09 -04:00
rusefi
7c378c7c6c
VAG ETB calibration is a mess?
2021-10-10 22:23:33 -04:00
rusefi
9b140e57a1
etb_test_hw
2021-10-10 17:10:04 -04:00
rusefi
fe69616859
etb_test_hw
2021-10-10 16:29:45 -04:00
Matthew Kennedy
9797d25b7c
getOrZero ( #3319 )
2021-10-05 19:59:07 -04:00
rusefillc
16049a07e8
https://rusefi.com/forum/viewtopic.php?p=42468#p42468
2021-10-04 19:10:31 -04:00
rusefillc
4901a69d17
https://rusefi.com/forum/viewtopic.php?p=42468#p42468
2021-10-04 18:43:37 -04:00
rusefi
235c932c71
Revert "Hellen Nissan defaults are no longer valid fix #3143"
...
This reverts commit 6ac7fc39
2021-09-14 15:51:58 -04:00
rusefi
6ac7fc3940
Hellen Nissan defaults are no longer valid fix #3143
2021-09-14 15:46:21 -04:00
Matthew Kennedy
68e2b93dff
don't print the wrong number ( #3158 )
...
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-08-15 02:10:28 -04:00
Matthew Kennedy
90a0e47b04
skip etb init if no primary sensor ( #3136 )
...
* skip init if no primary sensor
* specific test
2021-08-12 00:45:44 +03:00
Matthew Kennedy
d24f1462e2
even more pch ( #3112 )
...
* s
* more
* s
* f7
2021-08-04 19:30:52 -04:00
rusefillc
c6dbd9caf7
121 vag defaults have fatal error fix #3059
2021-07-26 16:40:11 -04:00
Matthew Kennedy
b52d50bbf2
Use pch in lots of files ( #3066 )
...
* most engine.h
* most engine_configuration
* more
* more
* more
* more
* more
* moooooore
* ok I'm done for now
* oops
2021-07-26 01:05:17 -04:00
Matthew Kennedy
2ce7777865
don't require EXTERN_ENGINE in every file ( #2969 )
...
* move enginePins
* no more extern engine
* uses
* more
* extern config too
* put this where it belongs
* include correct header
* merge
2021-07-16 18:13:33 -04:00
Matthew Kennedy
93adb8ea76
Etb rev limit ( #2820 )
...
* cfg
* impl
* a test
* don't break the ts channel
* text
2021-06-16 08:44:48 -04:00
Andrey
24131cdc0e
s/controlPin1/controlPin/
2021-06-05 16:19:01 -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
ec8e1eee69
require redundant pedal ( #2758 )
...
* require redundant pedal
* return false
* I don't typing good
* tests
* tests
2021-05-30 19:19:57 -04:00
Matthew Kennedy
dd6105cfa3
shrink canned tables ( #2651 )
...
* helper
* use it miata
* do type safe copy
* miata vvt
* etb
* default iat correction
* magic is afoot here
* hunchback
* misc
* neon
* neon
* aspire
* citroen
* neon
* missed one
* dead
* festiva
* remove andreyism
* very dead
* no need for copy of that function
* cleanup
2021-05-09 14:37:16 -04:00
Matthew Kennedy
ca7308e910
move some stuff in to ccm ( #2645 )
...
* stuff in ccm
* used memory
2021-05-07 09:35:57 -04:00
Matthew Kennedy
ad71016862
rip the bandaid: find-replace most of scheduleMsg ( #2572 )
...
* biiiig find replace
* more trivial find replace
* pwm
* almost all of them
* few more
* gpio
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-21 12:53:13 -04:00
Matthew Kennedy
5145ee4b62
logging cleanup 2: sensors, pid, etb, etc ( #2567 )
...
* ts logger
* sensors
* wideband too
* missed one
* init
* motors, pid, etc
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-18 20:02:32 -04:00
Matthew Kennedy
a9c8b39dac
set 50% target for ETB autotune ( #2459 )
...
* 50% target for autotne
* pass target in
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-15 08:54:55 -04:00
Matthew Kennedy
428aaca5c5
ETB uses error accumulator ( #2435 )
...
* error accumulator
* makefile
* accumulate ETB error
* comment
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-08 19:18:35 -05:00
Matthew Kennedy
b1873b3d8b
set all thread priorities in the same place ( #2412 )
...
* unify thread priority
* header
* mmc
2021-02-28 07:30:45 -05:00
Matthew Kennedy
4a1d3de9a6
remove unused msg parameter ( #2360 )
...
* dead parameter
* last few
2021-02-16 09:32:16 -05:00
Matthew Kennedy
870857df36
add option to disable ETB if engine not spinning ( #2280 )
...
* config/ui
* trigger central mods
* implement
2021-02-05 17:19:57 -06:00
Matthew Kennedy
ec508d8f9d
don't write settings if cal didn't work ( #2154 )
...
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-28 08:03:10 -05:00
Matthew Kennedy
64d9b4b71a
limp manager can disable etb ( #2143 )
...
* move rev limit to limp manager
* call fatal error
* include order
* fix bug
* tests
* limp can disable etb
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-26 21:47:27 -05:00
rusefi
af6ad0757e
PROTEUS_QC_TEST_BOARD
2020-12-26 00:57:23 -05:00
rusefi
eb8b1ba325
docs
2020-12-17 16:59:02 -05:00
Matthew Kennedy
bad0e6b949
require redundant TPS for ETB ( #2041 )
...
* Require redundant tps for ETB (#2037 )
* mod sensor api
* require redundancy
* fix tests
* check that it fails
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
* add a test that fails but should not
* fix the bug
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-08 06:24:20 -05:00
rusefi
2a1b585bfe
Revert "Revert "Split ETB in to interface + implementation headers ( #2040 )""
...
This reverts commit 4f4bb957
2020-12-07 01:27:27 -05:00
rusefi
bb3cb0ba22
Revert "Require redundant tps for ETB ( #2037 )"
...
This reverts commit 4f1085a8
2020-12-07 01:11:32 -05:00
rusefi
4f4bb95770
Revert "Split ETB in to interface + implementation headers ( #2040 )"
...
This reverts commit d9a82c09
2020-12-07 01:11:19 -05:00
Matthew Kennedy
d9a82c09af
Split ETB in to interface + implementation headers ( #2040 )
...
* split etb interface
* mocks
* fix master while we're at it
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-07 00:29:09 -05:00
Matthew Kennedy
4f1085a87a
Require redundant tps for ETB ( #2037 )
...
* mod sensor api
* require redundancy
* fix tests
* check that it fails
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-07 00:05:06 -05:00
Matthew Kennedy
a5ba9d54dc
fix etb unit test idle hardware ( #1991 )
...
* move check to etb
* give it a sensor to read
2020-11-26 19:21:42 -05:00
Matthew Kennedy
66687158c5
no feed forward for wastegate ( #1971 )
...
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-11-19 20:51:30 -05:00
rusefillc
014cae25db
DC not ETB refactoring
2020-11-16 20:07:12 -05:00
Matthew Kennedy
06f92807cc
second PID config for wastegate ( #1889 )
...
* remove
* cleanup
* implement ETB parts
* hook up to boost controller
* tests
* consume
* add cfg field
* ui maybe
* fix
* fix
* add wastegate config test
2020-10-19 08:04:27 -04:00
Matthew Kennedy
42bfad807b
Etb wastegate hookup ( #1888 )
...
* remove
* cleanup
* implement ETB parts
* hook up to boost controller
* tests
2020-10-18 21:57:04 -04:00
Matthew Kennedy
ee5d0bf07b
remove ( #1887 )
2020-10-18 20:49:42 -04:00
Matthew Kennedy
44653da2e5
Etb function cfg: actually read config ( #1884 )
...
* two throttles one thread
* look at all this RAM!
* add enum
* switch from index to function
* test fixup
* improve init logic
* remove old vw idle mode bit
* add config
* better spot for it
* use config init values
* handle null controller array
* fatal error testability
* test new init config
* defaults
* fix for default config
2020-10-18 17:26:38 -04:00
Matthew Kennedy
749282c807
more safe parts probably ( #1883 )
2020-10-15 22:04:42 -04:00
Matthew Kennedy
299a345c1c
etb function config 1 ( #1881 )
...
* this should all be safe...
* test fix
2020-10-14 22:02:09 -04:00
rusefillc
07a905b1fe
revering functional part of
...
Etb function cfg, try again #1860
try again from #1831
2020-10-08 17:09:00 -04:00
Matthew Kennedy
1bce3aa4c0
Etb function cfg, try again ( #1860 )
...
* two throttles one thread
* look at all this RAM!
* add enum
* switch from index to function
* test fixup
* improve init logic
* remove old vw idle mode bit
* add config
* better spot for it
* use config init values
* handle null controller array
* fatal error testability
* test new init config
* defaults
* fix for default config
2020-10-08 14:12:03 -04:00
rusefillc
367436454d
HW CI has failed 11 times since Oct 2 #1849
...
Revert "ETB function config (#1831 )"
This reverts commit af59c45a
2020-10-03 22:00:00 -04:00
Matthew Kennedy
af59c45adb
ETB function config ( #1831 )
...
* two throttles one thread
* look at all this RAM!
* add enum
* switch from index to function
* test fixup
* improve init logic
* remove old vw idle mode bit
* add config
* better spot for it
* use config init values
* handle null controller array
* fatal error testability
* test new init config
* defaults
* fix for default config
2020-10-02 20:51:02 -04:00
Matthew Kennedy
f1c04efefa
replace ETB index with function enum ( #1807 )
...
* two throttles one thread
* look at all this RAM!
* add enum
* switch from index to function
* test fixup
* improve init logic
* remove old vw idle mode bit
2020-09-28 16:33:07 -04:00
Matthew Kennedy
1fc55da3ca
two throttles one thread ( #1806 )
...
* two throttles one thread
* look at all this RAM!
2020-09-18 13:47:49 -04:00
Matthew Kennedy
eebded8caa
scale tables using type system ( #1776 )
...
* store scale in the type
* efi ratio
* boost control scaling
* fix boost tests
2020-09-10 18:44:10 -04:00
Matthew Kennedy
7a3b87656f
guard ( #1726 )
...
* implement
* add bench mode
* add ts cal mode
* TS impl
* include guard
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-08-23 23:46:33 -04:00
Matthew Kennedy
12bc5eb28b
Auto cal dual etb ( #1725 )
...
* implement
* add bench mode
* add ts cal mode
* TS impl
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-08-23 23:41:35 -04:00
Matthew Kennedy
225e403973
parameter names
2020-07-29 02:22:31 -07:00
rusefi
a8f45d960a
Weird VAG: DC motor idle valve not ETB #1637
...
etbTarget gauge in DC idle mode
2020-07-26 15:07:45 -04:00
rusefi
d5739815b4
Weird VAG: DC motor idle valve not ETB #1637
2020-07-26 10:54:51 -04:00
Matthew Kennedy
d1fde4fe93
make reality match the test
2020-07-26 03:15:17 -07:00
Matthew Kennedy
51a69c7478
clamp idle in VW mode
2020-07-26 03:05:59 -07:00
Matthew Kennedy
7003d6c7ba
implement
2020-07-26 02:55:35 -07:00
rusefi
127dd67838
restoring ldmp
2020-06-17 19:03:10 -04:00
Matthew Kennedy
65625deb32
only setup etb if primary sensor configured instead of proxy ( #1489 )
...
* only setup etb if primary sensor configured instead of proxy
* fix test
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-06-16 21:38:09 -04:00
rusefi
98e73987a3
docs
2020-06-01 08:50:54 -04:00
Matthew Kennedy
4f334c91d5
warnings ( #1462 )
...
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-21 01:08:07 -04:00
Matthew Kennedy
9dda1a21bc
Redundant tps ( #1427 )
...
* add redundant sensor
* add tests
* add configure, info printing
* tests
* tests
* partial hookup
* fix
* fix
* bad makefile merge
* use second TPS config
* update test
* update test
* sensor names
* set second pin by default
* fix auto cal
* auto cal both sensors
* add reconfigure of secondary sensors
* gobblin' up your ram
* slow down write a little bit
* put split in debug gauge
* s
Co-authored-by: Matthew Kennedy <matthew@mck-mbp-15.local>
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-18 14:32:00 -04:00
dron0gus
5987fb8b88
[SAFE] Debug cleanups ( #1403 )
...
* electronic throttle: inprove debug
* idle thread: show debug info for configured idle driver
* gpio-chips: make private functions static
2020-05-06 20:06:50 -04:00
Matthew Kennedy
20a95bdcf1
ETB auto-PID: auto set values in TS ( #1400 )
...
* switch to thread
* actually use default frequency define
* crank ADC too
* make space in RAM
* remove TS field
* this should work for test
* auto cal
* wire up bench testing
* auto gains too
* s
* fix
* rearrange a bit
* inject
* remove unused bit
* mock repair
* move
* add maintainconstantvalue
* add disable button
* cleaning
* move state inside
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-06 08:39:02 -04:00
Matthew Kennedy
3052f2ab7b
Support 4 h-bridges ( #1392 )
...
* update dc motor api
* add more etbio
* get out of two arrays
* hand generate enough
* forgot engine param
* ram
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-02 17:54:28 -04:00
rusefi
965c06c079
https://github.com/rusefi/rusefi_documentation/issues/37
2020-04-29 18:41:40 -04:00
Matthew Kennedy
ba6ec4ac51
TPS Auto Calibration with ETB ( #1382 )
...
* switch to thread
* actually use default frequency define
* crank ADC too
* make space in RAM
* remove TS field
* this should work for test
* auto cal
* wire up bench testing
* s
* fix
* rearrange a bit
* inject
* remove unused bit
* mock repair
* guard for ECUs without ETB
2020-04-28 19:31:41 -04:00
Matthew Kennedy
d728b1ca48
Minor ETB improvements ( #1381 )
...
* fix pid reset and pedal failure
* pause control later
* test pauseEtbControl
* update tooltip + field name
* update test
2020-04-28 16:52:40 -04:00
rusefi
44facf1140
useful content from Move ETB control to a thread #1374
2020-04-28 08:05:18 -04:00
Matthew Kennedy
fe4b531aeb
Move ETB control to a thread ( #1374 )
...
* switch to thread
* actually use default frequency define
* crank ADC too
* make space in RAM
* remove TS field
* this should work for test
* fix dt
* re-resize ram
2020-04-28 07:22:31 -04:00
Matthew Kennedy
df2db7036d
ETB autotune in its own function ( #1350 )
...
* pull out autotune
* oops
2020-04-22 22:22:28 -04:00
Matthew Kennedy
99489cff67
Improve ETB idle control ( #1319 )
...
* compress idle pos
* fix tests for new behavior
2020-04-20 17:29:03 -04:00
Matthew Kennedy
1a5e0a42f8
Inject idle to ETB ( #1335 )
...
* inject idle position
* pointer
* etb idle tests
* extract mocks
* ops
* test negative case too
* don't convert for etb
* guard
2020-04-20 16:26:35 -04:00
Matthew Kennedy
e04008610a
ETB: inject pedal map ( #1334 )
...
* add clampf
* more tests
* public
* missed a mock
* fix output duty clamping
* do it that way
* more
* ah ha!
* test negative too
* clamp pedal
* inject pedal map
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-20 14:34:45 -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
Matthew Kennedy
75b009bbae
Closed loop controller base & ETB testing ( #1322 )
...
* closed loop controller base
* etb tps test
* closed loop controller tests
* test support
* update gtest
* fix for change
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-19 17:18:47 -04:00
Matthew Kennedy
6481b9df0a
filter ETB autotune results ( #1281 )
...
* Astrom-Hagglund
* enums
* comments
* dead
* fix
* changed enum
* ts guard
* safety
* etb autotune debug channels
* filter results
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-11 22:28:50 -04:00
Matthew Kennedy
b526b43864
etb autotune ( #1274 )
...
* Astrom-Hagglund
* enums
* comments
* dead
* fix
* changed enum
* ts guard
* safety
* etb autotune debug channels
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-11 22:15:49 -04:00
Matthew Kennedy
001ef27eb8
support ETB disable pin ( #1273 )
...
* config & hand gen
* board configs
* add dc motor support
* initialization
* also set duty to zero
* use disable in etb
* fix proteus default
* add TS fields
* I guess we needed 8 bytes
* :D
* comment
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-10 17:27:13 -04:00
Matthew Kennedy
9831c8c874
simplify ( #1275 )
2020-04-10 08:12:16 -04:00
Matthew Kennedy
7d5df29fbd
yet more tps consumers ( #1258 )
...
* advance_map
* tests
* unneeded
* idle
* use driver intent instead
* and obd and lcd
* engine load
* ve lookup
* unused
* oops we needed that
* oops needed that too
* mocking
* test mocks
* oops
* helps to use the right sensor
* and cylinder cleanup
* fuel math
* typo
* old tests
* kill dead stuff
* cleanup
* more
* fix
* test
* s
* fix signature
* fix test
* comment
* priming pulse
* remove mock tps
* remove more dead
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-05 09:11:25 -04:00
Matthew Kennedy
1fe39e81e0
fix ( #1251 )
2020-04-03 07:48:12 -04:00
Matthew Kennedy
b197c6ff07
run ETB on new TPS ( #1248 )
...
* run ETB on new TPS
* why did we include all those...?
* init tps for etb test
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-02 21:33:49 -04:00
Matthew Kennedy
22267e5479
Replace hasPedalPositionSensor ( #1245 )
...
* remove
* add Sensor::hasSensor
* consume in etb
* remove unused state
* don't use it there either
* format
* fix up tests
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-02 08:04:12 -04:00
rusefi
0edb791cff
partial revert
2020-04-02 00:37:02 -04:00
rusefi
e9665e1ddc
less ETB in case of critical
2020-04-02 00:32:03 -04:00
Matthew Kennedy
50cd6549a2
Fully switch acc pedal to new sensors ( #1212 )
...
* proxy sensor
* header
* idle
* can
* settings
* remove old mocking
* remove old impl
* etb
* oops, gotta actually register it
* fix test
* structured bindings ftw!
* driver intent for stepper
* tear out old
* oops too much
2020-04-01 20:21:03 -04:00
rusefi
d1b5a51400
progress
2020-03-28 20:56:58 -04:00
Matthew Kennedy
40b0783205
Split out EtbHardware ( #1168 )
...
* start tear out motor
* fix
* nuke reconfig
* guard for test
* test fixing
* format, condense headers
* fix todos
* undo todo
* format
2020-03-03 17:56:50 -05:00
rusefi
04a4e2bca3
ETB: expand automated testing #115
2020-02-22 23:18:02 -05:00
rusefi
bb217b01dd
happy new year unification
2020-01-13 21:57:43 -05:00
rusefi
19df4661ab
better method name
2020-01-10 02:02:22 -05:00
rusefi
0075f9492c
ETB documentation improvement?
2019-12-30 10:25:52 -05:00
rusefi
1c7de824e2
typo
2019-12-14 18:33:08 -05:00
rusefi
236d952335
progress towards ETB controller mocking
2019-12-13 13:52:34 -05:00
rusefi
e9e7a66cf8
etbActualCount logic to handle the scenario where only one ETB is present
2019-12-13 12:50:34 -05:00
rusefi
af4f20551b
getting rid of boardConfiguration / binary compatible change
2019-12-11 17:48:55 -05:00
Matthew Kennedy
0e674f7eca
ETB Encapsulation & C++ Conventions ( #1049 )
...
* encapsulate etb stuff, c++ conventions
* remove DECLARE_ENGINE_PTR/INJECT_ENGINE_REFERENCE
* reduce include dependencies
* Revert "reduce include dependencies"
This reverts commit c529bbbf757cd9070f6e00616f84b1229eeb768e.
* Revert "remove DECLARE_ENGINE_PTR/INJECT_ENGINE_REFERENCE"
This reverts commit ca98b18cd4dae24b993d1263a18daf509dcd54b9.
2019-12-10 19:37:04 -05:00
rusefi
1c96d9541e
refactoring
2019-12-02 23:08:18 -05:00
rusefi
1d817e9768
dual throttle re-init bugfix thank you andreika!
2019-12-01 09:39:34 -05:00
rusefi
3ed889486e
making things nicer with dual ETB settings
2019-11-30 17:38:33 -05:00
rusefi
f80fe51092
all ETBs to run in same HW mode
2019-11-30 01:00:54 -05:00
rusefi
5fa7e082c8
all ETBs to run in same HW mode
...
taking a step back and going to bed :(
2019-11-30 00:39:00 -05:00
rusefi
2952cd923e
all ETBs to run in same HW mode
2019-11-30 00:25:33 -05:00
rusefi
a78dc22bf1
better state validation, better error codes
2019-11-29 23:41:26 -05:00
rusefi
73e3edc3d8
dual ETB seems to work!
2019-11-29 20:15:29 -05:00
rusEfi
e2074388ff
dual ETB seems to work!
2019-11-29 19:06:50 -05:00
rusefi
76ca1aacb7
all ETBs to run in same HW mode
2019-11-29 19:02:12 -05:00
rusEfi
799027c2e9
all ETBs to run in same HW mode
2019-11-29 16:51:51 -05:00
rusefi
07f71c8dfa
steps towards dual ETB
2019-11-28 15:24:30 -05:00
rusefi
067aa0aeee
steps towards dual ETB
2019-11-27 22:07:36 -05:00
Matthew Kennedy
9ee8616cb0
Use templated array references ( #1027 )
...
* update defs
* consumers, use default params
* setArrayValues in tests
* floats
* test fixing
2019-11-22 23:27:24 -05:00
rusEfi
547d9749df
v12 and minor ETB
2019-11-22 23:27:03 -05:00
Matthew Kennedy
579219e8cc
inject interfaces to ETB, renaming ( #1026 )
...
* inject interfaces, renaming
* format
* null check
* that was a dumb typo
* fix indent
2019-11-22 20:53:54 -05:00
Matthew Kennedy
bb22296f61
DC motor improvements ( #1025 )
...
* extract interface, comments, conform names
* fwd declare
2019-11-22 16:30:44 -05:00
rusefi
4faca85fdd
following the pattern
2019-11-21 13:35:57 -05:00
rusEfi
f9ccaf5f01
steps towards dual ETB
2019-11-21 00:49:38 -05:00
rusefi
a5db4819ae
making more code testable
2019-11-20 08:46:54 -05:00
rusefi
a7b7fd1005
making more code testable
2019-11-20 02:18:17 -05:00
rusEfi
36dba6274a
ETB docs
2019-11-18 22:25:07 -05:00
rusefi
cc6381fe96
evil manual merge of https://github.com/DonaldBecker/rusefi
2019-11-05 20:07:55 -05:00
rusefi
0e01355c15
steps towards #975
2019-10-18 18:54:32 -04:00
Matthew Kennedy
29804cbc8a
move tsOutputChannels to header ( #970 )
2019-10-08 21:02:51 -04:00
rusefi
df7fe0ec3b
fixing build
2019-09-29 14:22:51 -04:00
rusEfi
fc3b7ec1bd
etbCalibrationOnStart
2019-09-29 14:00:04 -04:00
rusefi
d520e0734f
docs
2019-09-28 09:59:40 -04:00
rusEfi
44b2c2f89e
new command 'etb_freq X'
2019-09-27 23:37:40 -04:00
rusEfi
17dc0908f2
it's a cruel world
2019-09-27 23:01:47 -04:00
rusefi
ff8a3f2988
fixing build
2019-09-25 08:46:26 -04:00
rusefi
bc572bef51
reducing hell in unit tests
2019-09-25 08:40:33 -04:00
rusefi
b66f3a8229
ETB is sticky around zero and does not want to close all the way #943
...
fixing build
2019-09-23 00:41:35 -04:00
rusEfi
89ed15838f
ETB is sticky around zero and does not want to close all the way #943
2019-09-22 23:28:11 -04:00
rusefi
e7b658547b
ETB target is using integer values #945
...
now we have a unit test! now we can fix the issue :)
2019-09-22 17:58:27 -04:00
rusefi
d09e096874
ETB target is using integer values #945
...
refactoring
2019-09-22 08:51:02 -04:00
rusefi
1b604359a9
ETB target is using integer values #945
...
refactoring
2019-09-22 08:44:51 -04:00
rusEfi
9b98446846
ETB target is using integer values #945
...
first we will write a unit test
2019-09-22 07:58:03 -04:00
rusEfi
e29318b939
ETB target is using integer values #945
...
first we will write a unit test
2019-09-22 00:36:13 -04:00
rusEfi
f843968636
ETB target is using integer values #945
...
first we will write a unit test
2019-09-22 00:16:46 -04:00
rusefi
4ba441fd49
"set_etb" is now "set_etb_duty"
2019-09-21 22:15:34 -04:00
rusefi
3646ef4406
ETB idle bugfix: do not use once turned off
2019-09-21 01:22:21 -04:00
rusefi
f588224559
NB2 miata on Frankenso with ETB
2019-09-21 01:21:53 -04:00
rusefi
2bbbc1c787
ETB pinEnableMode
2019-09-20 22:16:54 -04:00
rusefi
b9f649a93c
ETB to SD logs
2019-09-20 20:41:45 -04:00
rusefi
a585835add
docs
2019-09-07 22:16:56 -04:00
rusEfi
8126b700de
NB2 progress, ETB Live Docs progress
2019-09-01 19:37:58 -04:00
rusEfi
daec071b6b
mock PPS voltage command in addition to mock PPS position
...
ETB pane progress
2019-09-01 17:35:43 -04:00
rusefi
ebcb0cdf4c
Live Data: more Idle & ETB data points!
2019-09-01 15:46:40 -04:00
rusefi
33cc21225c
Live Data progress: using field's context
2019-09-01 15:01:57 -04:00
rusefi
1ffaa8eea2
Live Data progress
2019-09-01 13:56:46 -04:00
rusefi
4141c7b4c2
typo
2019-09-01 11:39:09 -04:00
rusEfi
47bbd6ebe4
ETB progress
2019-08-31 20:17:17 -04:00
rusEfi
7efe5cdd5c
reducing dead code
2019-08-31 17:59:18 -04:00
rusefi
4ddb0aeace
LiveData progress: isChanking & hasEtbPedalPositionSensor
2019-08-31 17:07:21 -04:00
rusefi
efeb6eeadc
ETB live docs
2019-08-15 21:01:04 -04:00
rusefi
6fb2b34120
setDefaultBoardConfiguration shouldn't have Frankenso pinout #852
2019-07-24 21:15:18 -04:00
rusefi
974f80988f
refactoring - type/macro name/docs
2019-07-12 07:48:28 -04:00