andreika-git
a830a94a3b
More safe AlternatorController PWM init
2023-12-05 14:23:04 -05:00
rusefillc
02f1295688
removing 'isVerboseAlternator'
2023-11-15 00:12:19 -05:00
andreika-git
06414cc595
fix
2023-11-10 17:13:50 -05:00
andreika-git
3e9b2d0e1f
Refactor AlternatorController to use ClosedLoopController<>
2023-11-10 17:13:50 -05:00
andreika-git
bb841a061b
refactor onConfigurationChangeAlternatorCallback()
2023-11-10 17:13:50 -05:00
rusefillc
d1eb6d897f
docs
2023-01-26 02:02:26 -05:00
rusefillc
728db11c56
Alternator Duty Cycle Adder for AC Fan fix #4973
2023-01-24 10:29:08 -05:00
Andrey G
e7b06cbfca
compile warnings: signed vs unsigned and unused ( #4713 )
2022-10-30 09:47:53 -04:00
Andrey
0cf66762ad
dead
2022-09-08 00:20:56 -04:00
Andrey
73a7b24871
remove alternator on/off mode fix #4548
2022-09-07 23:06:34 -04:00
Andrey
dab9e04b25
remove alternator on/off mode fix #4548
2022-09-07 22:46:42 -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
40d16291b0
Remove fsio part 2 ( #3876 )
...
* dead config stuff
* fsio state
* remove tests
* getEngineValue
* put part back
2022-02-02 00:49:44 -05:00
rusefillc
ca98e270e1
safer file name ( #3861 )
...
* safer file name
* safer file name
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-01-31 21:51:32 -05:00
Andrey
8361b6d1f6
migrating to SensorType::Rpm API
2022-01-20 22:22:52 -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
Matthew Kennedy
7dc20b368a
Alternator controller is engine module ( #3663 )
...
* alternator is engine module
* user can't set pid period
2021-12-05 18:33:50 -05:00
rusefillc
de0680209b
why so many channels are hidden in debug ? #3614
2021-11-29 10:15:28 -05:00
Matthew Kennedy
71aff73081
not industrial ( #3627 )
2021-11-27 19:27:57 -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
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
9797d25b7c
getOrZero ( #3319 )
2021-10-05 19:59:07 -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
981e8f5047
defaults cleanup: base engine & fuel ( #2790 )
...
* build
* fuel and base
* fix build
* cleanup
* extern
* tps/tps
* alternator
* tps
* iat timing
* cranking RPM
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-06-03 00:50:07 +03:00
Matthew Kennedy
8b30776016
remove stateChangeCallback from simplepwm ( #2644 )
...
* remove callback parameter from cj125
* remove from ext
* remove stateChangeCallback
* alt doesn't need that
* demorgan
* remove call
* bad cut/paste
* check the actual pin in the test
2021-05-07 09:38:41 -04:00
Matthew Kennedy
c26987b96b
Destroy all shared logger ( #2574 )
...
* most of shared logger
* a few more
* one more
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-21 14:28:48 -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
3d17e62d65
finish off vbatt -> sensor model ( #2433 )
...
* more vbatt
* s
* goodbye voltage
* makefile
* apparently that part was in use
* include
* mocking
2021-03-07 20:18:32 -05:00
rusefillc
02a49de390
aux to vvt rename
2021-02-17 08:53:39 -05:00
Andrey G
2af32084f4
gpio helper ( #2195 )
...
* gpios: isBrainPinValid helper
* LCD HD44780: do not touch pins if DM_NONE or invalid gpio
* Fix isEnabled checks for GPS and Joystick
* LCD HD44780: writePad use this method wider
2021-01-08 20:01:26 -05:00
rusefillc
8739e192f5
basic hw in the loop - pwm self validation #2028
2020-12-06 18:39:50 -05:00
rusefi
2c322006d8
Output pin init/deinit needs a linked list #1803
2020-11-03 00:09:42 -05:00
rusefi
ca21d5b4c2
refactoring
2020-09-03 19:29:15 -04:00
rusefi
a4329169e9
better file name
2020-05-25 13:02:05 -04:00
rusefi
1b84406e77
dead code
2020-04-26 17:40:12 -04:00
Matthew Kennedy
d541e04a7d
Friendlier pin names ( #1233 )
...
* enable TS error readout
* friendlier text for common errors
* improve comment
* friendlier ADC errors
* ign/inj names
* more pin names
2020-03-29 19:07:07 -04:00
Matthew Kennedy
8fd9842310
cleanup extern mess ( #1237 )
...
* cleanup
* move outside define
2020-03-29 19:06:03 -04:00
Matthew Kennedy
4740f525ee
save some ram ( #1211 )
...
* remove dead stuff
* why store those pointers twice?
2020-03-22 19:06:29 -04:00
rusefi
bb217b01dd
happy new year unification
2020-01-13 21:57:43 -05:00
rusefi
af4f20551b
getting rid of boardConfiguration / binary compatible change
2019-12-11 17:48:55 -05:00
rusefi
813b6aa6ce
The Big Refactoring of 2019: folder structure #723
2019-12-04 01:11:10 -05:00
rusefi
a7b7fd1005
making more code testable
2019-11-20 02:18:17 -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
Matthew Kennedy
29804cbc8a
move tsOutputChannels to header ( #970 )
2019-10-08 21:02:51 -04:00
rusefi
98a391011a
better field name
2019-09-03 19:12:04 -04:00
rusefi
162264fe08
progress towards idle unit test
2019-08-29 23:50:20 -04:00
rusefi
6fb2b34120
setDefaultBoardConfiguration shouldn't have Frankenso pinout #852
2019-07-24 21:15:18 -04:00