Matthew Kennedy
c19f3e4caa
Control stepper with dual H-bridges ( #1121 )
...
* divorce stepper from hw
* oops
* ptr not ref
* hbridge stepper
* typo
* hook up twin h
* hook up hardware
* use config field
* hook up motor repo
* guard tests
* whoops
* ok fix for real
* ok that's the right thing
* do full stepping
Co-authored-by: Matthew Kennedy <matthew@mck-mbp-15.stagpad.local>
Co-authored-by: Matthew Kennedy <matthew@mck-mbp-15.local>
2020-03-10 15:18:29 -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
Matthew Kennedy
20465107ed
boost format & cleanup ( #1126 )
2020-02-05 06:47:31 +05:30
rusefi
6888b09c53
Three wire idle air valve #1122
...
ugly but should work to begin with
2020-02-04 01:22:04 -05:00
960
4b4e683957
Boost pr ( #1114 )
...
* boost control
* cleanup
* Delete rusefi_config.txt
* Add files via upload
* Delete rusefi_config.txt
* Add files via upload
* Update rusefi.input
* Update boost_control.cpp
2020-02-02 03:56:21 -05:00
rusefi
7c714e5727
opening the door to boost controller!
2020-01-31 14:29:52 -05:00
rusefi
f6e7e8871a
VVT refactoring & assertions for VVT test
2020-01-31 01:49:10 -05:00
Matthew Kennedy
fa5b5b76fb
Separate stepper control logic from hardware ( #1101 )
...
* divorce stepper from hw
* oops
* ptr not ref
* ptr not ref
* whitespace
* null check
2020-01-15 02:18:15 -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
b83a5310be
happy new year
2020-01-08 00:02:40 -05:00
Matthew Kennedy
5c85d53e16
Pass action_s instead of callback/param ( #1084 )
...
* change action
* consumers
* fix test
* didn't mean to add those
* simplify
* fix simulator
* fix sim for real
* oy
* maybe this time the simulator will actually be fixed, for real
* don't rely on undefined behavior
2020-01-07 00:41:18 -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
813b6aa6ce
The Big Refactoring of 2019: folder structure #723
2019-12-04 01:11:10 -05:00
andreika-git
2a39c69f51
iacPidMultTbl + EFI_IDLE_PID_CIC + kinetis_hysteresis ( #1043 )
...
* rename EFI_IDLE_INCREMENTAL_PID_CIC -> EFI_IDLE_PID_CIC
* Impl. IacPidMultTable
* Kinetis: Trigger Comparator Hysteresis settings (+adaptive mode)
2019-12-04 00:37:32 -05:00
rusefi
de36f76882
The Big Refactoring of 2019: folder structure #723
2019-12-03 23:52:44 -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
b961edc654
refactoring
2019-11-30 16:49:40 -05:00
rusefi
b04166d173
that's how we can move all fields one by one from boardConfiguration to engineConfiguration
...
my approach is to move fields from the bottom of BC struct
2019-11-30 10:24:37 -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
andreika-git
1808642af1
Starter relay + Hardcoded 'FSIO' + simulator fix ( #1032 )
...
* Starter Relay: gui + built-in FSIO impl.
* Hardcoded 'FSIO' replacement for RAM-limited boards
* fix simulator
2019-11-25 20:08:01 -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
ad7e36c228
refactoring
2019-11-20 01:35:08 -05:00
rusEfi
36dba6274a
ETB docs
2019-11-18 22:25:07 -05:00
rusefi
669c75d44f
trying to fix integration tests
...
[java] 2019-11-10_13_31_42_194<EOT>: msg,FATAL error: PID::isSame invalid,
[java] 2019-11-10_13_31_42_194<EOT>: postMessage EngineState: FATAL error: PID::isSame invalid
[java] 2019-11-10_13_31_42_289<EOT>: Sending packet 4F 00 00 64 01
[java] 2019-11-10_13_31_42_289<EOT>: output channels header: waiting for 2 byte(s)
[java] 2019-11-10_13_31_42_290<EOT>: IncomingDataBuffer: 256 byte(s) arrived
[java] 2019-11-10_13_31_42_290<EOT>: output channels body: waiting for 361 byte(s)
[java] 2019-11-10_13_31_42_291<EOT>: IncomingDataBuffer: 107 byte(s) arrived
2019-11-10 16:07:13 -05:00
andreika-git
b996190707
Industrial PID Controller ( #1002 )
...
* Implement Industrial PID controller
* Test-Use PidIndustrial in alternator
* Meaningful unit-tests for PidIndustrial
2019-11-10 13:04:27 -05:00
rusefi
ae0456e5fb
fine, taking care of more warnings
2019-11-06 19:53:09 -05:00
rusefi
cc6381fe96
evil manual merge of https://github.com/DonaldBecker/rusefi
2019-11-05 20:07:55 -05:00
rusefi
bab1744d1d
progress towards #961
2019-11-04 22:44:52 -05:00
rusefi
4d095d4844
60/2 VW trigger has running issue on 19/10/19 snapshot fix #986
2019-10-30 20:51:20 -04:00
rusefi
627f73502b
steps towards #975
2019-10-18 19:45:32 -04:00
rusefi
d9401fbdbc
steps towards #975
2019-10-18 19:39:06 -04:00
rusefi
0e01355c15
steps towards #975
2019-10-18 18:54:32 -04:00
rusefi
62577c47da
preparation for #961
...
more unified access to pre-calculated value
2019-10-10 08:25:58 -04:00
rusefi
71e904e421
preparation for #961
...
more unified access to pre-calculated value
2019-10-10 08:16:21 -04:00
rusefi
ca6e49dcbc
preparation for #961
...
macro as a syntax sugar for method invocation
2019-10-10 07:28:52 -04:00
Matthew Kennedy
29804cbc8a
move tsOutputChannels to header ( #970 )
2019-10-08 21:02:51 -04:00
rusefi
42dc9e3662
fancy C++ s/NULL/nullptr/
2019-10-08 01:26:35 -04:00
rusefi
62bbdbb33b
docs
2019-09-29 15:14:08 -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
8c5be72106
idle&ETB progress
2019-09-26 00:02: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
2bacf53c0d
HardFault related to auto r = convertFromInputValue(inputValue); #948
...
wow, it's a miracle anything ever worked!
2019-09-23 01:55:23 -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
a72d2834fb
unit tests progress
2019-09-20 00:46:35 -04:00
rusefi
154092bbf5
unit tests progress
2019-09-19 22:56:54 -04:00
rusefi
221ef7d9bb
unit tests progress
2019-09-19 22:10:39 -04:00
rusefi
4f4f4ddfd9
FSIO progress
2019-09-13 21:07:34 -04:00
rusefi
a6fbc5036a
Delayed A/C compressor switch #922
2019-09-11 20:46:50 -04:00
rusefi
cc011ee081
instant RPM for idle control #925
2019-09-10 23:03:55 -04:00
rusefi
d90f0481b0
one step back :) instant RPM does not look right
2019-09-10 21:35:10 -04:00
rusefi
7676261ec6
instant RPM for idle control #925
2019-09-09 19:41:41 -04:00
rusefi
e79287f537
Delayed A/C compressor switch #922
2019-09-08 21:05:03 -04:00
rusefi
a585835add
docs
2019-09-07 22:16:56 -04:00
rusefi
270565e593
docs
2019-09-07 21:35:55 -04:00
rusefi
2e27a94ee7
BUGFIX: ETB idle should care about pedal position, not TPS position
2019-09-03 21:45:42 -04:00
rusefi
98a391011a
better field name
2019-09-03 19:12:04 -04:00
rusefi
2343cd6b12
make iTerm limits visible for idle RPM pid #913
2019-09-02 00:24:10 -04:00
rusefi
be1b32abf0
make iTerm limits visible for idle RPM pid #913
2019-09-02 00:19:06 -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
7842c7305f
Live Data progress
2019-09-01 00:45:36 -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
andreika-git
27fccf0a7f
mightResetPid docs ( #912 )
2019-08-31 15:38:01 -04:00
rusefi
840b165f12
NA6 pnp: automatic idle VS TPS #800
2019-08-30 18:17:10 -04:00
rusefi
162264fe08
progress towards idle unit test
2019-08-29 23:50:20 -04:00
rusefi
375d64417d
progress towards idle unit test
2019-08-29 00:10:47 -04:00
rusefi
bde4e88468
refactoring towards idle unit test
2019-08-26 00:19:13 -04:00
rusEfi
1c0d38abef
new feature: check engine light to blink on trigger synchronization
2019-08-18 15:53:38 -04:00
rusefi
efeb6eeadc
ETB live docs
2019-08-15 21:01:04 -04:00
rusefi
a3667eda8b
dead code
2019-07-29 21:44:33 -04:00
rusefi
6fb2b34120
setDefaultBoardConfiguration shouldn't have Frankenso pinout #852
2019-07-24 21:15:18 -04:00
rusEfi
335a154a5a
miata NA6 progress
2019-07-21 20:11:12 -04:00
rusefi
39630855fb
live docs for idle state
2019-07-21 18:34:37 -04:00
rusefi
84955cdedb
throttle pedal up switch for Miata NA6
2019-07-21 17:06:16 -04:00
rusefi
4b0ed3751f
More than one aux pid #866
...
progress!
2019-07-12 08:31:38 -04:00
rusefi
8dcb49bdf9
More than one aux pid #866
...
progress!
2019-07-12 08:00:07 -04:00
rusefi
974f80988f
refactoring - type/macro name/docs
2019-07-12 07:48:28 -04:00
rusefi
2580831b9c
nano progress
2019-07-10 02:27:24 -04:00
Matthew Kennedy
77075fce3d
Fix some maf logic ( #880 )
...
* fix maf
* thank you vscode for mangling ANSI -> utf8
2019-07-10 09:14:47 +03:00
rusefi
b4e9503fab
More than one aux pid #866
...
progress!
2019-07-09 16:24:14 -04:00
rusefi
4ef2a72930
refactoring: wider usage of new periodic task
2019-07-09 16:08:49 -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
34acd20833
More than one aux pid #866
...
renaming this class since we will probably have two different implementations for two different cases
2019-07-08 03:35:41 -04:00
rusefi
05fac9e869
Refactoring: OS access should be explicit #867
2019-07-05 19:00:44 -04:00
rusefi
83ad64eade
Refactoring: OS access should be explicit #867
2019-07-04 03:57:21 -04:00
rusefi
b2dece5269
undoing wrong fix & better fix for #805
...
also generator logging improvements
This reverts commit f07f96599b
.
2019-06-30 14:28:47 -04:00
Matthew Kennedy
e3a14e5979
Add ETB status gauges, fix gauge menus ( #863 )
...
* testing
* fix offsets
* consolidate ts config
* cleanup
* typo
* unwind some
* fix etb idle range setting
* unwind
2019-06-26 19:24:32 -04:00
rusefi
f07f96599b
"Calibrate TPS" broken in TS fix #805
2019-06-17 22:00:34 -04:00
rusefi
1e3758c6d3
ETB: TPS should be f(RPM, pedal) - target table fix #835
...
oooooops
2019-06-16 09:08:01 -04:00
rusefi
995cf20b4b
ETB: TPS should be f(RPM, pedal) - target table fix #835
2019-06-15 14:33:41 -04:00
rusefi
e1c0557f4d
idle using ETB #783
2019-06-15 13:33:14 -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
rusefi
8406be52f0
refactoring: extracting constant
2019-06-11 21:44:16 -04:00
rusefi
a3581b06f9
ETB: TPS should be f(RPM, pedal) #835
2019-06-10 23:57:35 -04:00
rusefi
837492c9f0
ETB: TPS should be f(RPM, pedal) #835
2019-06-10 23:38:44 -04:00
rusefi
5f642ac254
unit tests should not have global context, including mock values
2019-05-27 15:56:12 -04:00
rusefi
01e481db31
fix #802
2019-05-25 13:36:29 -04:00
rusefi
e0f9ba8a2a
idle usability
2019-05-11 10:41:04 -04:00
rusefi
4faf9ff8fa
docs
2019-05-05 18:09:52 -04:00
rusefi
a59ac4ad0e
8888 usability
2019-05-05 12:48:04 -04:00
rusefi
d09bcad3e7
dreams of two ETBs
2019-05-05 12:02:42 -04:00
Matthew Kennedy
5a15b449c0
rename enum ( #791 )
2019-05-05 00:53:24 -04:00
Matthew Kennedy
6810aa3268
fix etb ( #789 )
2019-05-05 00:42:50 -04:00
rusefi
8bbd5c0514
idle using ETB #783
...
configuration fields
2019-05-02 22:12:43 -04:00
rusefi
e13193a832
ETB pause feature - useful while playing on the bench
2019-04-26 13:46:58 -04:00
rusefi
f04732830f
PID - fix dTime usages #776
2019-04-25 21:31:33 -04:00
rusefi
05d43db76f
PID - fix dTime usages #776
2019-04-25 18:49:16 -04:00
rusefi
7a857ae298
ETB progress
2019-04-24 23:46:49 -04:00
rusefi
24818929d2
docs
2019-04-24 20:47:38 -04:00
rusefi
c8859d651c
docs
2019-04-24 17:00:05 -04:00
rusefi
9f29f30950
ETB progress
2019-04-23 23:18:48 -04:00
rusefi
3d5338c1de
docs
2019-04-21 12:24:31 -04:00
rusefi
5ad1044d19
The Big Refactoring of 2019: configuration version should not be a global variable #656
2019-04-15 21:09:43 -04:00
rusefi
16cf6388b6
ETB using tle7209 fix #746
2019-04-13 01:03:12 -04:00
rusefi
541c445a2d
defined(__DOXYGEN__) ? #748
2019-04-12 22:07:03 -04:00
rusefi
e3b74f0f3e
smarter PWM API - need to pass arbitrary pointer
2019-04-12 20:15:18 -04:00
rusefi
22ad223d75
smarter PWM API - need to pass arbitrary pointer
2019-04-12 20:11:27 -04:00
rusefi
1dffb21e89
smarter PWM API - need to pass arbitrary pointer
2019-04-12 20:06:09 -04:00
rusefi
5316d7ad6a
The Big Refactoring of 2019: folder structure #723
2019-04-09 23:01:45 -04:00
rusefi
7a765f29b9
The Big Refactoring of 2019: folder structure #723
2019-04-09 23:00:17 -04:00
rusefi
81284d52cd
The Big Refactoring of 2019: folder structure #723
2019-04-09 22:52:03 -04:00
dron0gus
c6a1d0cbe0
gpios rework ( #739 )
...
* Some more include fixes for linux
* Pass cross-compile path through CROSS_COMPILE
* Lower-upper case conversion fixes for linux
* Rename unmarkPin to brain_pin_markUnused
This is part of external gpiochip integration
* Add gpio_pin prefix to markUsed and markUnused
To distinguish from similar functions using brain_pin
* pin_repository: add helpers
this is part of gpio chips integration
* efi_gpio: simplify getHwPin using brain_pin_is_onchip
2019-04-10 01:31:10 +02:00
rusefi
e0c9493dd9
The Big Refactoring of 2019: folder structure #723
2019-04-05 01:41:24 -04:00
rusefi
f9fa7604bc
The Big Refactoring of 2019: folder structure #723
2019-04-05 01:02:34 -04:00