rusefillc
9efd231915
minor fixes
2020-12-06 19:25:48 -05:00
rusefillc
2e8ae3ca94
refactoring
2020-12-06 19:04:23 -05:00
rusefillc
8739e192f5
basic hw in the loop - pwm self validation #2028
2020-12-06 18:39:50 -05:00
rusefillc
1da9f35ac2
Merge remote-tracking branch 'origin/master' into master
2020-12-06 18:13:07 -05:00
rusefillc
debec1107e
subi
2020-12-06 18:08:55 -05:00
GitHub build-firmware Action
d20d484fce
Auto-generated configs and docs
2020-12-06 23:08:10 +00:00
rusefillc
b3d45b909f
Revert "switch rpm calculator to use timer class ( #2005 )"
...
This reverts most of a26ed3eb5a
commit.
2020-12-06 18:05:53 -05:00
Matthew Kennedy
a26ed3eb5a
switch rpm calculator to use timer class ( #2005 )
...
* add api
* rpm calculator
* fix fsio
* fix float
* remove wrong comment
* fix timer
* clang didn't like this
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-06 16:01:45 -05:00
Matthew Kennedy
c5e3657d45
don't duplicate sensor error logic ( #2032 )
...
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-06 15:00:30 -05:00
Matthew Kennedy
9ccda6bbe7
add isRedundant ( #2031 )
...
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-06 14:55:06 -05:00
GitHub build-firmware Action
70467a0117
Auto-generated configs and docs
2020-12-06 19:19:09 +00:00
rusefillc
9f13d39003
MRE_SUBARU_EJ18
2020-12-06 14:16:40 -05:00
rusefillc
166f4fc381
MRE_SUBARU_EJ18
2020-12-06 13:08:09 -05:00
rusefillc
bcf404cdae
code formatting & more info into message
2020-12-06 08:30:31 -05:00
Matthew Kennedy
9238aa454e
fix button shift inheritance ( #2027 )
...
* fix button shift inheritance
* extra
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-06 07:32:38 -05:00
Matthew Kennedy
2d9be1077b
require TPS values to be different ( #2017 )
...
* require values to be different
* fix not
* oops
* missed another spot
* test negative cases too
* resets
* test no sensor case
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-06 00:41:49 -05:00
Matthew Kennedy
ffae0cd335
round rpm instead of truncating ( #2023 )
...
* round rpm instead of truncating
* efiround is expensive
* Revert "efiround is expensive"
This reverts commit e5690f89e1b1988aacf5ced1f024d576465a7cd6.
* round is better than rintf
* testing
* it works now?!
* comment
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-06 00:11:57 -05:00
GitHub build-firmware Action
c492d5b6af
Auto-generated configs and docs
2020-12-06 03:05:54 +00:00
rusefillc
75ffe1f38e
making console happier
2020-12-05 21:56:39 -05:00
GitHub set-date Action
400411dedd
Update date
2020-12-06 00:47:59 +00:00
Matthew Kennedy
de4990bfa2
encapsulate entry logic in to entry ( #2018 )
...
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-05 10:16:52 -05:00
GitHub build-firmware Action
9892f0fa48
Auto-generated configs and docs
2020-12-05 05:05:04 +00:00
rusefillc
e5ef8de2ae
unit tests in clang #2012
2020-12-04 23:59:21 -05:00
rusefi
07a8e237a5
Merge remote-tracking branch 'origin/master' into master
2020-12-04 21:52:22 -05:00
shadowm60
864bd7fa73
Dyno view proposal ( #1999 )
...
* DynoView creation
module implementation and unit_tests
* update acc algo
we only calcualte new acceleration value if speed has changed, not on every callback.
* added acceleration ts_channel
* fixed broken unit tests
* fixed accel sign
* review updates
* Update test_dynoview.cpp
fix unit_tests
* Update engine_controller.cpp
Fix .ram4 unused size
* Update test_dynoview.cpp
2020-12-04 20:28:48 -05:00
GitHub set-date Action
1bc89fe59c
Update date
2020-12-05 00:45:22 +00:00
rusefillc
dd902cc707
hemi trigger decoder took some RAM
2020-12-04 18:46:35 -05:00
rusefillc
d8264cf2ce
hemi trigger decoder took some RAM
2020-12-04 18:22:59 -05:00
rusefillc
6200569f28
6.1 Hemi V8 decoder fix #2010
2020-12-04 16:50:26 -05:00
rusefillc
eaba91e1fd
6.1 Hemi V8 decoder #2010
2020-12-04 16:33:29 -05:00
rusefillc
be2a34a956
refactoring: magic constants
2020-12-04 16:24:19 -05:00
rusefillc
2524b7b8c2
6.1 Hemi V8 decoder #2010
2020-12-04 16:03:27 -05:00
rusefillc
e730c2c0b1
6.1 Hemi V8 decoder #2010
2020-12-04 15:33:07 -05:00
rusefillc
9221a12d95
6.1 Hemi V8 decoder #2010
2020-12-04 15:22:53 -05:00
rusefillc
61925aad15
all triggers should be documented way nicer #2001
2020-12-04 14:00:49 -05:00
rusefillc
6496fd5a64
all triggers should be documented way nicer #2001
2020-12-04 13:54:16 -05:00
rusefillc
e138621202
all triggers should be documented way nicer #2001
2020-12-04 11:58:26 -05:00
rusefillc
db5e30edf5
all triggers should be documented way nicer #2001
2020-12-04 11:44:27 -05:00
GitHub build-firmware Action
be55246188
Auto-generated configs and docs
2020-12-04 16:39:14 +00:00
rusefillc
8e13892736
6.1 Hemi V8 decoder #2010
2020-12-04 01:02:09 -05:00
rusefillc
0a23e82baf
6.1 Hemi V8 decoder #2010
2020-12-04 00:30:22 -05:00
GitHub build-firmware Action
3a4942fd55
Auto-generated configs and docs
2020-12-04 05:21:17 +00:00
rusefillc
4c3eae5676
FORD ST170 CAM TRIGGER PATTERN fix #2009
2020-12-03 23:54:08 -05:00
GitHub build-firmware Action
98583bfabb
Auto-generated configs and docs
2020-12-04 04:26:34 +00:00
rusefillc
93e0378f69
Merge remote-tracking branch 'origin/master' into master
2020-12-03 23:12:42 -05:00
rusefillc
f021c37cc1
DAIHATSU 3CYLINDER TRIGGER WHEEL SUPPORT fix #2008
2020-12-03 23:12:30 -05:00
GitHub build-firmware Action
0b2e8755ee
Auto-generated configs and docs
2020-12-04 02:59:40 +00:00
rusefillc
c413f03359
DAIHATSU 3CYLINDER TRIGGER WHEEL SUPPORT #2008
2020-12-03 21:58:03 -05:00
GitHub build-firmware Action
77914fb702
Auto-generated configs and docs
2020-12-04 02:33:46 +00:00
rusefillc
c55120372b
DAIHATSU 3CYLINDER TRIGGER WHEEL SUPPORT #2008
2020-12-03 21:31:58 -05:00
GitHub set-date Action
ba8bd6d582
Update date
2020-12-04 00:44:45 +00:00
rusefillc
e226024a5c
MRE pin reuse state validation fails #2006
2020-12-03 15:42:48 -05:00
rusefillc
662eaea384
avoid float -> int64 conversion #1977
...
both cases have to be relatively small durations of time cherry picking...
2020-12-03 13:32:01 -05:00
rusefillc
ba33a758e8
avoid float -> int64 conversion #1977
...
both cases have to be relatively small durations of time cherry picking...
2020-12-03 13:30:17 -05:00
Matthew Kennedy
f1f64bd3e5
add timer since last trigger tooth ( #2004 )
...
* add elapsed time to timer
* store trigger time
* fsio method
* don't do a 64b divide
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-03 11:13:45 -05:00
GitHub build-firmware Action
82c30dadf8
Auto-generated configs and docs
2020-12-03 15:51:02 +00:00
rusefillc
745038c4a7
more dead code
2020-12-03 10:49:20 -05:00
GitHub build-firmware Action
d803115081
Auto-generated configs and docs
2020-12-03 14:36:32 +00:00
GitHub build-firmware Action
b2e26a2e2b
Auto-generated configs and docs
2020-12-03 06:38:53 +00:00
rusefillc
dd9e431782
dead code matches Mazda SOHC
2020-12-03 01:36:43 -05:00
GitHub build-firmware Action
896a96fb63
Auto-generated configs and docs
2020-12-03 06:34:34 +00:00
GitHub build-firmware Action
b5b9554903
Auto-generated configs and docs
2020-12-03 06:25:01 +00:00
rusefillc
a2036ebc70
dead trigger, this would now be vvt+60/2
2020-12-03 01:22:57 -05:00
GitHub build-firmware Action
c7f951a2e9
Auto-generated configs and docs
2020-12-03 06:21:16 +00:00
GitHub build-firmware Action
b943bb8e3d
Auto-generated configs and docs
2020-12-03 06:04:08 +00:00
rusefillc
7855847a3f
all triggers should be documented way nicer #2001
2020-12-03 01:02:17 -05:00
GitHub build-firmware Action
e61c79c378
Auto-generated configs and docs
2020-12-03 05:21:30 +00:00
rusefillc
479fcf0174
all triggers should be documented way nicer #2001
2020-12-03 00:19:18 -05:00
rusefillc
c36f76b68e
Fuel pump should turn on at the first sign of engine rotation #1961
2020-12-02 23:09:39 -05:00
rusefillc
0ba97379fb
all triggers should be documented way nicer #2001
2020-12-02 22:17:38 -05:00
rusefillc
b662b977fa
all triggers should be documented way nicer #2001
2020-12-02 20:51:33 -05:00
GitHub build-firmware Action
85637f01c7
Auto-generated configs and docs
2020-12-03 01:32:59 +00:00
GitHub build-firmware Action
5c9ac60b0b
Auto-generated configs and docs
2020-12-03 01:22:05 +00:00
GitHub set-date Action
1e304062a4
Update date
2020-12-03 00:46:39 +00:00
GitHub build-firmware Action
9a5438b2ea
Auto-generated configs and docs
2020-12-02 20:08:22 +00:00
GitHub build-firmware Action
617defd510
Auto-generated configs and docs
2020-12-02 19:49:17 +00:00
GitHub build-firmware Action
e9a0c1fff2
Auto-generated configs and docs
2020-12-02 19:17:48 +00:00
GitHub build-firmware Action
a80a1fb5a2
Auto-generated configs and docs
2020-12-02 19:12:18 +00:00
GitHub build-firmware Action
177328e736
Auto-generated configs and docs
2020-12-02 18:40:45 +00:00
GitHub build-firmware Action
ca6c867add
Auto-generated configs and docs
2020-12-02 16:14:23 +00:00
GitHub set-date Action
e89c042593
Update date
2020-12-02 00:44:31 +00:00
GitHub build-firmware Action
bea4ec0cd9
Auto-generated configs and docs
2020-12-01 18:58:12 +00:00
shadowm60
6fb745d29c
Launch Control refactoring ( #1992 )
...
* refactor
- called from periodicFastCallback
- removed defines
* Update rusefi.input
removed unused configurations.
added clutch inversion option
* Added new tests
fixed limiting only in case we have launch condition and rpm outside of window
* Update launch_control.cpp
Unintialized config update, now it is working fine with VSS and with clutch as well.
* small fixes
updated after review findings
* Fix breaking engine rev limiter
applyLaunchControlLimiting should not overwrite booleans to false!
* Delay timer in seconds
timer uses ms, so convert seconds to ms
2020-12-01 13:03:42 -05:00
GitHub set-date Action
c0c566afa6
Update date
2020-12-01 00:45:58 +00:00
Matthew Kennedy
d48367d565
timer ( #1994 )
2020-11-30 19:35:06 -05:00
GitHub build-firmware Action
94d2ab5ea2
Auto-generated configs and docs
2020-11-30 05:14:11 +00:00
GitHub set-date Action
eb93b7e85b
Update date
2020-11-30 00:44:36 +00:00
GitHub build-firmware Action
a314ae3146
Auto-generated configs and docs
2020-11-29 23:13:49 +00:00
rusefi
8ee609fa3e
Merge remote-tracking branch 'origin/master' into master
2020-11-29 12:51:04 -05:00
rusefillc
9e78970735
94
2020-11-28 22:59:55 -05:00
GitHub build-firmware Action
8e1674956d
Auto-generated configs and docs
2020-11-29 03:51:15 +00:00
rusefillc
b982d02298
miata 94
2020-11-28 22:49:28 -05:00
GitHub build-firmware Action
5087fc7c5a
Auto-generated configs and docs
2020-11-29 03:22:29 +00:00
GitHub set-date Action
38778da368
Update date
2020-11-29 00:45:07 +00:00
GitHub set-date Action
cb5a114d3f
Update date
2020-11-28 00:42:15 +00:00
rusefi
89eaae8234
LM_ALPHA_N_2 rename
2020-11-27 15:44:31 -05:00
Matthew Kennedy
a3a49b02ed
fix gpio the right way ( #1990 )
...
* fix the right way
* use the api
* explain
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-11-27 00:24:41 -05:00
rusefillc
0840b91f7f
dead engine config
...
one step back
2020-11-26 21:21:25 -05:00
rusefillc
334f0a5a8a
dead engine config
2020-11-26 21:07:34 -05:00
rusefillc
55b763f62e
dead engine config
2020-11-26 20:26:12 -05:00
GitHub set-date Action
ac7af19a18
Update date
2020-11-27 00:42:43 +00: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
rusefillc
641959b9a3
Starter is engaged on start-up in pull-up configuration #1969
2020-11-26 17:48:09 -05:00
GitHub build-firmware Action
fb0863a1be
Auto-generated configs and docs
2020-11-26 22:30:00 +00:00
rusefillc
24c9e54cde
Starter is engaged on start-up in pull-up configuration #1969
2020-11-26 16:20:13 -05:00
rusefillc
d4d7e7583b
Starter is engaged on start-up in pull-up configuration #1969
2020-11-26 10:41:22 -05:00
rusefi
1238758c0f
Starter is engaged on start-up in pull-up configuration #1969
2020-11-26 00:16:59 -05:00
rusefi
63900429a6
Starter is engaged on start-up in pull-up configuration #1969
2020-11-25 23:59:11 -05:00
rusefi
b189d85228
Starter is engaged on start-up in pull-up configuration #1969
2020-11-25 23:38:43 -05:00
Matthew Kennedy
750070a496
fix etb wastegate percent output ( #1988 )
...
* wastegate etb should use percent
* percent_t
* fix test
2020-11-25 21:14:06 -05:00
rusefi
e356ee7f45
Merge remote-tracking branch 'origin/master'
2020-11-25 19:53:49 -05:00
rusefi
c2b184cd74
Starter is engaged on start-up in pull-up configuration #1969
2020-11-25 19:52:22 -05:00
GitHub set-date Action
953fdad4ff
Update date
2020-11-26 00:40:20 +00:00
rusefi
0d441be869
better default value
2020-11-25 17:02:28 -05:00
GitHub build-firmware Action
9275f9a09d
Auto-generated configs and docs
2020-11-25 21:46:33 +00:00
GitHub build-firmware Action
bbf29b0d40
Auto-generated configs and docs
2020-11-25 18:21:44 +00:00
Matthew Kennedy
492498f8d0
Boost tolerance ( #1986 )
...
* tolerate invalid closed loop config when in open loop mode
* fix test
2020-11-25 07:27:24 -05:00
GitHub set-date Action
6618492848
Update date
2020-11-25 00:40:48 +00:00
rusefillc
bca35aa2f9
avoid float -> int64 conversion #1977
...
cherry picking...
2020-11-24 14:11:41 -05:00
rusefillc
ab8d6ff0df
avoid float -> int64 conversion #1977
...
cherry picking...
2020-11-24 00:06:12 -05:00
rusefillc
9045470fc6
avoid float -> int64 conversion #1977
...
cherry picking...
2020-11-23 23:53:25 -05:00
Matthew Kennedy
55379463c0
remove ( #1985 )
2020-11-23 20:10:17 -05:00
GitHub set-date Action
140f892661
Update date
2020-11-24 00:40:20 +00:00
Matthew Kennedy
922f0249d2
squash warnings ( #1984 )
...
* warnings
* unused
* a few more
* too much
* uint16_t-ify
2020-11-23 09:43:16 -05:00
rusefi
b329cc66ed
GDI Epic #1448
2020-11-23 01:10:12 -05:00
GitHub set-date Action
9961b8efeb
Update date
2020-11-23 00:40:35 +00:00
GitHub build-firmware Action
9ac0391fb4
Auto-generated configs and docs
2020-11-22 23:32:36 +00:00
Matthew Kennedy
866038900f
adjust boost ( #1975 )
2020-11-22 18:30:19 -05:00
rusefi
4bd14ed974
better hpfpValve bench settings
2020-11-22 12:43:28 -05:00
Andrey G
a285ba6743
ADC: fixes: ( #1979 )
...
* ADC: fixes:
-use enums
-internalAdcIndexByHardwareIndex array should be adc_channel_e size
-add sanity checks
-save few bytes of RAM
* ADC: use logical OR instead of math add
2020-11-22 12:23:27 -05:00
rusefi
1df2dc121d
GDI Epic #1448
2020-11-22 00:47:43 -05:00
GitHub build-firmware Action
3211c033ff
Auto-generated configs and docs
2020-11-22 05:45:32 +00:00
rusefi
f6bff90f86
GDI Epic #1448
2020-11-22 00:40:21 -05:00
rusefi
79188c954a
GDI Epic #1448
2020-11-22 00:13:55 -05:00
GitHub build-firmware Action
dc0d3242bf
Auto-generated configs and docs
2020-11-22 05:11:29 +00:00
rusefi
daf1ec83a7
GDI Epic #1448
2020-11-22 00:09:36 -05:00
GitHub build-firmware Action
639901e58d
Auto-generated configs and docs
2020-11-22 03:58:53 +00:00
GitHub build-firmware Action
85d2555d70
Auto-generated configs and docs
2020-11-22 03:01:11 +00:00
GitHub set-date Action
f6ce207c1f
Update date
2020-11-22 00:41:19 +00:00
GitHub build-firmware Action
1996aefd10
Auto-generated configs and docs
2020-11-21 01:38:58 +00:00
GitHub set-date Action
059f654da1
Update date
2020-11-21 00:39:02 +00:00
rusefillc
3878cbb550
Starter is engaged on start-up in pull-up configuration #1969
...
maintainability
2020-11-19 23:57:06 -05:00
shadowm60
7c793834ef
Launch control unit tests update ( #1972 )
...
* testable launch start
* extract base class
* add a test
* fix ts debug
* Launch control unit_tests
updated launch control for a better split
VSS mock for unit tests
Co-authored-by: Matthew Kennedy <matthewkennedy@outlook.com>
2020-11-19 21:14:38 -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
GitHub set-date Action
c3e4fdc57f
Update date
2020-11-20 00:39:06 +00:00
rusefillc
68c8d8c6a2
Starter is engaged on start-up in pull-up configuration #1969
...
usability & test improvement
2020-11-19 17:15:28 -05:00
Matthew Kennedy
ee51da64ad
Launch control testable ( #1967 )
...
* testable launch start
* extract base class
* add a test
* fix ts debug
2020-11-19 08:15:56 -05:00
Matthew Kennedy
f3b7a1d9da
Remove lockAnyContext, replace with CriticalSectionLocker ( #1938 )
...
* switch to CriticalSectionLocker
* that's just about all
* clean up last usage
* include hpp for sim
* need the cpp wrappers in the makefile too
* include dir
* include
2020-11-19 06:56:02 -05:00
rusefillc
47fbb92bff
Starter seems to be engaged forever fix #1965
2020-11-18 23:54:30 -05:00
rusefillc
a9e0bffbbd
Starter seems to be engaged forever #1965
2020-11-18 22:47:40 -05:00