David Holdeman
1747b6a6e6
Add ISS sensor, rearrange some transmission config ( #4089 )
...
* move other solenoids to new dialog
* change name of menu item
* move buttonshift to new dialog
* add ISS config
* add some iss code
* add iss output
* de-init ISS
2022-04-21 09:07:52 -04:00
Matthew Kennedy
16de438ab8
knock threshold table fix ( #4077 )
...
* fix knock threshold table
* defaults
* knock controller is engine module
* testable
* test builds
* knock tests work
* s
* format
* everyone loves changelogs
2022-04-18 08:03:16 -04:00
rusefillc
07f210a82b
random progress & method rename
2022-04-16 17:35:59 -04:00
Matthew Kennedy
17f741327f
aux linear fixes ( #4069 )
2022-04-15 07:22:52 -04:00
rusefi
18a193b8e3
American
2022-04-09 17:53:24 -04:00
Matthew Kennedy
f0b810a81c
Gear detection implementation ( #4052 )
...
* gear detect improvements
* ui
* ui for gear ratios
* ui
* output channel
* output channels etc
* implement gear detection
* name
* s
* status loop
* missing function
* ui tweaking
* s
2022-04-07 09:21:11 -04:00
Matthew Kennedy
ad368b2031
Gear detection improvements ( #4047 )
...
* gear detect improvements
* ui
* ui for gear ratios
* ui
2022-04-06 16:15:58 -04:00
Matthew Kennedy
61e9cdd483
don't get afr raw if no sensor exists ( #4040 )
...
* don't get afr raw if no sensor exists
* fix timing correction units
2022-04-03 17:39:29 -04:00
Matthew Kennedy
f742ae8b7e
limp mangaer handles more stuff ( #3983 )
2022-03-20 09:28:17 -04:00
rusefillc
873d4e26cb
refactoring
2022-03-14 23:02:00 -04:00
Matthew Kennedy
f1897ba7aa
less dependence on that logger ( #3884 )
...
* less dependence on that logger
* comma
* refactor a bit, make it clear what this thing actually *does*
* static
* shrink the buffer a bit and make names useful
* dead util that's just subtraction lol
2022-02-09 06:53:16 -05:00
rusefillc
b00c39df3e
LUA to read if USB is connected or not. #3891
2022-02-04 17:25:05 -05:00
rusefillc
42deca0fd0
Main relay shutdown rebase ( #3880 )
...
* aggregate
* main relay controller handles delayed shutoff
* main relay controller handles delayed shutdown
Co-authored-by: Matthew Kennedy <matthewkennedy@outlook.com>
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-02-02 00:45:11 -05:00
Matthew Kennedy
a718f3a30a
Remove fsio part 1 ( #3871 )
...
* dead includes
* move last logic out of fsio
* dead functions
2022-02-01 15:42:04 -05:00
Matthew Kennedy
5865f65e1e
remove getDebugChannels ( #3850 )
2022-01-27 19:21:05 -05:00
Matthew Kennedy
717d931e78
refactor decel fuel cut ( #3830 )
...
* refactor dfco
* s
* output channel logs dfco
* slightly cheeky comment
2022-01-23 19:44:41 -05:00
Matthew Kennedy
697846413d
Raw map and ego gauges ( #3822 )
...
* raw afr and map
* gauges
* s
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2022-01-21 15:53:16 -05:00
Andrey
3bc59bfbb6
migrating to SensorType::Rpm API
2022-01-20 22:27:48 -05:00
rusefillc
e4043cacda
Gear detection based on RPM to VSS ratio #3779
2022-01-14 21:32:46 -05:00
Matthew Kennedy
7d341cfc9d
improve maf output channels and logging ( #3743 )
...
* maf channels
* s
* binary log
* if only I could type
* can
* instant RPM too
* s
* test
* graceful zero rpm
* test works
* float near
2022-01-12 15:41:35 -05:00
rusefillc
dcc7080ce1
logging of live data structs #3614
2022-01-11 22:54:57 -05:00
rusefillc
177a5faa63
limp ClearReason
2022-01-08 22:13:20 -05:00
rusefillc
9dc4efe993
reducing potential confusion with "NO PIN" in engine sniffer
...
https://rusefi.com/forum/viewtopic.php?p=43812#p43812
2022-01-01 12:10:55 -05:00
Matthew Kennedy
04984859ab
log channel improvements ( #3710 )
...
* WB info
* fix a bunch of unsigned vs signed, move some TPS stuff too
* s
2021-12-21 18:09:40 -05:00
rusefillc
7b0179aaa3
Second CAN #3687
2021-12-21 00:48:13 -05:00
rusefillc
4bb53f265b
PCAN sandbox - error requestOutputChannels #3698
2021-12-18 23:26:41 -05:00
rusefillc
481047ea20
PCAN sandbox - error requestOutputChannels #3698
2021-12-18 23:07:31 -05:00
rusefillc
86506a15a9
clutch input via CAN #3605
2021-12-15 20:11:23 -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
3a95e86112
calculate per-cylinder ignition timing ( #3652 )
...
* simplify cylinder phasing
* per cylinder timing
* s
* s
* s
* why was there a divide by 2?
2021-12-06 21:19:37 -05:00
rusefillc
934b005acb
trigger sync better gauges/logging
2021-12-06 13:08:41 -05:00
Matthew Kennedy
25beb610b0
log actual tooth angle ( #3646 )
2021-12-02 19:22:33 -05:00
rusefillc
8024fe2b1b
Engine phase wrap around in log #3645
...
hopefully actual fix
2021-12-02 17:06:20 -05:00
rusefillc
168a899ba9
how many more spelling mistakes?!
2021-12-02 01:06:40 -05:00
rusefillc
b03445b421
proteus to have enlarged Lua
...
one step back
2021-11-30 22:26:36 -05:00
rusefillc
818d12f68e
why so many channels are hidden in debug ? #3614
2021-11-29 10:16:45 -05:00
rusefillc
31898a2d79
automation around outputs section #197
2021-11-27 18:54:57 -05:00
rusefillc
61b18b7bf9
automation around outputs section #197
2021-11-27 14:09:27 -05:00
rusefillc
c4f973c2e2
automation around outputs section #197
2021-11-27 14:08:09 -05:00
rusefillc
edb10af9f4
automation around outputs section #197
2021-11-27 13:36:37 -05:00
rusefillc
1cbdd226d5
automation around outputs section #197
2021-11-27 13:05:56 -05:00
rusefillc
412d804350
automation around outputs section #197
2021-11-27 12:28:59 -05:00
rusefillc
eb2045f02b
automation around outputs section #197
2021-11-26 21:54:31 -05:00
Matthew Kennedy
f8403543d6
wall fuel tweaks ( #3617 )
2021-11-25 18:45:44 -05:00
rusefillc
446252d77d
MAP phase sensing #3544
2021-11-24 14:26:41 -05:00
Matthew Kennedy
178ccdeb4d
simulator writes binary log ( #3598 )
...
* simulator writes log
* replace the file
* check that the sim actually fails
* put it back
* did the sim really not fail?
* good, asan does catch it
2021-11-23 11:42:45 -05:00
Matthew Kennedy
b2ae7243dd
embiggen log buffer ( #3596 )
2021-11-22 16:46:18 -05:00
Matthew Kennedy
caee2a5439
delimeter is not comma ( #3533 )
...
* delimeter is not comma
* do it in config txt
* use txt
* s
* string
* compat
* also, spelling is hard
* use new name
* use new name
* generate enough for happy console
* use an even less common character
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-11-19 12:01:45 +03:00
rusefillc
cb300ec985
automation around outputs section #197
...
refactoring
2021-11-17 23:16:15 -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
Andrey
655b77dc3f
random refactoring: trigger central encapsulation
2021-11-15 20:22:05 -05:00
Andrey
928c673695
refactoring launch
2021-11-15 20:09:03 -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
rusefillc
6d0dfe4542
refactoring - magic constant bad
2021-11-07 00:09:17 -04:00
Matthew Kennedy
7590e4c679
log current engine phase on trigger teeth ( #3471 )
...
* log phase on trigger teeth
* ui
* guard
2021-11-05 20:02:15 -04:00
rusefi
433d526ee5
turbo speed turbospeed input #2935
2021-11-04 19:43:22 -04:00
Matthew Kennedy
75a2b5ef02
Knock retard ( #3396 )
...
* output gauge
* knock controller
* don't need that
* inject engine ref
* test knock
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-11-01 23:33:59 -04:00
rusefi
1d5fccc4bc
bugfix: DBG_TRIGGER_COUNTERS was overwriting VVT counters
2021-10-28 16:51:01 -04:00
rusefi
274a6d8ba6
triggerinfo progress
2021-10-23 19:01:31 -04:00
rusefillc
1493973bea
very old very dead code
2021-10-20 10:38:36 -04:00
rusefillc
c36e039100
more relaxed VVT debug field
2021-10-17 14:21:09 -04:00
rusefillc
61e2b3d5db
Remove engine load acceleration enrichment fix #3357
2021-10-16 21:24:05 -04:00
rusefi
d01c8dbd93
some cheap used junkyard Accelerometer #2225
...
MM5.10
2021-10-06 15:05:29 -04:00
rusefillc
49e87825f9
some cheap used junkyard Accelerometer #2225
...
MM5.10
2021-10-06 00:19:33 -04:00
Matthew Kennedy
9797d25b7c
getOrZero ( #3319 )
2021-10-05 19:59:07 -04:00
Matthew Kennedy
be1fa7057d
break up sensors even more ( #3318 )
2021-10-05 19:06:17 -04:00
rusefillc
0f283d04d3
https://github.com/rusefi/rusefi/issues/3302
2021-10-05 15:30:51 -04:00
Matthew Kennedy
a3bc507f9b
clean up debug channels in status_loop.cpp ( #3317 )
...
* FSIO is going away eventually
* dead modes
* rx8 hmm
* break out tps debug
2021-10-05 15:27:08 -04:00
Matthew Kennedy
9806373dac
dead map ( #3316 )
2021-10-04 18:33:10 -04:00
Matthew Kennedy
fcbee02501
reduce updateTunerStudioState stack usage ( #3308 )
...
* break out in to functions
* 100 more saved
* happy simulator
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-10-03 16:24:34 -04:00
Matthew Kennedy
8cd132b8a8
dead knock code ( #3255 )
...
* more unification
* hip stub
* comment
* guard
* channel idx
* include
* hip
* move in to engine
* hip9011
* dead stuff
* dead
* fsio
* lcd
* more dead
2021-09-21 20:40:20 -04:00
Matthew Kennedy
730b26d034
remove old vss implementation ( #3208 )
...
* dead vss
* remove
2021-08-28 01:39:55 -04:00
Matthew Kennedy
2ad4a9df1e
actually remove FSIO idle stuff ( #3150 )
...
* debug mode
* pid cleanup
* more dead
* more dead
* wow more dead
* much dead many death wow
2021-08-14 09:48:45 +03:00
alxrMironov
7ebebd6922
Begin "vehicleSpeed" refactoring. Module switched to "FunctionalPointerSensor" class. #3106 #3107 #3108 . ( #3132 )
...
* Add new sensor type "VehicleSpeed"
* Add "Vehicle speed" sensor to name list
* Add Vehicle speed sensor initialization with function pointer sensor.
* Add init_vehicle_speed_sensor.cpp to Makefile
* Replace dependencies from "getVehicleSpeed" to OOP-like "Sensor::get()"
* Add warning and TODO to "mock vehicle speed" call
* Replace get & mock "VehicleSpeed" methods in tests
* Remove #warning directive (cause error by current settings)
* Remove stray tab
* Remove explicitly type casting.
* Add "InitVehicleSpeedSensor" function declaration to init.h
* Add "VehicleSpeedSensor" initialization call into "InitNewSensors"
Co-authored-by: alxrMironov <330OMcorporative>
2021-08-12 22:16:51 +03: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
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
6f80bc72ae
fan indicators + test buttons ( #3002 )
...
* sd bits
* rusefi.input
* second fan bit
* fans
2021-07-20 23:26:06 -04:00
Matthew Kennedy
b28e8348ce
sd card indicators ( #3001 )
...
* sd bits
* rusefi.input
2021-07-20 21:29:24 -04:00
Matthew Kennedy
e2a01b4c3e
force init LEDs even with fatal ( #2998 )
2021-07-20 17:09:52 -04:00
rusefillc
599943cf26
NB2 trigger shape does not seem to match JimStim #2980
2021-07-17 16:12:54 -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
e00c7d0b98
trailing coils ( #2937 )
...
* gpio wiring
* plumbing
2021-07-09 15:51:30 -04:00
Andrey
f6695b4264
fix vvt indication #2926
...
only field rename
2021-07-08 09:25:31 -04:00
Matthew Kennedy
2eb0b2a631
Unified cyl count macro ( #2914 )
...
* update test framework
* eh
* hey look it's fewer warnings
* unwind
* fix
* config
* configs
* logic
* even java had some
* console needs help
2021-07-06 20:14:08 -04:00
Matthew Kennedy
cd5eb6a77c
Move AC logic out of FSIO ( #2872 )
...
* new impl
* remove fsio
* inject "is ac active" to fan
* include the correct code
* include
* test
* more AC features
* AC switch vs. actual AC indicators
* include
* duh
2021-06-27 18:51:34 -04:00
Andrey G
08747d036e
TS communication minor fixes ( #2847 )
...
* console: noone use this
* console: do not stop blinking if TS command executes too long
Set and clear flag from the same place
Co-authored-by: rusefillc <48498823+rusefillc@users.noreply.github.com>
2021-06-23 04:36:55 -04:00
Andrey
65a0303340
those and many other offsets are no longer correct
2021-06-21 02:11:36 -04:00
Matthew Kennedy
78304d2b39
gauges for raw TPS ( #2831 )
...
* ecu part
* gauges
* debug info for ford throttle
* sensible order
2021-06-18 16:27:44 -04:00
rusefillc
157732d5aa
https://rusefi.com/forum/viewtopic.php?f=16&t=2027
2021-05-27 05:50:59 -04:00
Andrey G
710a512fe7
Hw layer rearrangement ( #2703 )
...
* max31855: move to sensors
* uart GPS driver: move to sensors and rename
* i2c_bb: move to drivers
* LCD HD44780: move to drivers
* ping?
2021-05-16 06:01:00 -04:00
Matthew Kennedy
13d2ee03bc
idle indicators ( #2692 )
...
* add coasting bit
* remove useless bit
2021-05-13 17:35:00 -04:00
Matthew Kennedy
da6518dcb1
remove deprecated getEngineLoadT ( #2676 )
...
* remove
* few more
2021-05-10 08:30:41 -04:00
Matthew Kennedy
4474f9f1c2
Maf in sensor model ( #2672 )
...
* init
* consumers
* hasMafSensor
* consumers
* remove
* remove
* s
* guard
* tiny bit of ram
* ram
2021-05-09 20:59:06 -04:00
Andrey G
e18ba01fe5
hip9011 ( #2658 )
...
* hip9011: isolate debug stuff
* hip9011: renames
* hip9011: start sensing knockDetectionWindowStart degres from fire
* engine: more realistic values for knock window
* hip9011: remove magic CS toggling
* hip9011: EFI_HIP_9011_DEBUG should depend on EFI_HIP_9011
2021-05-08 18:43:55 -04:00
Matthew Kennedy
3968204dfa
Hook up multi bank fuel trim ( #2532 )
...
* multi bank trim
* cleaning
* output channels
* output channels
2021-05-08 17:41:50 -04:00
Andrey G
0f4de02223
ADC: internalIndex should be used as getAvgAdcValue argument ( #2618 )
...
* ADC: internalIndex should be used as getAvgAdcValue argument
-plus output messages re-formated
* ADC: logger -> efiPrintf
2021-05-03 16:44:19 -04:00
rusefillc
02d4cde3c4
https://rusefi.com/forum/viewtopic.php?f=16&t=1996
2021-04-25 09:18:35 -04:00
rusefi
3c9f7174ba
improving QC process
2021-04-23 00:45:36 -04:00
rusefi
86bdd363e3
improving QC process
2021-04-22 22:04:39 -04:00