rusefillc
216b5d9e7a
tune via CAN #3361
...
CAN testability
2021-12-04 01:01:48 -05:00
Andrei
d1f30f10b1
CAN update
2021-12-03 21:44:15 -05:00
rusefillc
6a41737dce
CAN progress
2021-12-01 22:57:21 -05:00
Matthew Kennedy
2dda9bedb8
verbose CAN bits picker ( #3628 )
...
* verbose bits picker
* s
2021-11-28 14:59:26 -05:00
rusefillc
6339689385
first edition
2021-11-26 16:02:21 -05:00
Scott Smith
80091498a6
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
7296593448
remove engine pointer passing ( #3556 )
...
* some
* more
* more
* the last?!
2021-11-16 04:15:29 -05:00
rusefillc
1a3fb4a0db
Epic: Remove FSIO #2928
2021-11-14 11:04:51 -05:00
rusefillc
5f1aadf638
Epic: Remove FSIO #2928
2021-11-14 10:39:47 -05:00
Matthew Kennedy
dfdcece90f
uppppppdate ( #3455 )
...
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-11-04 05:52:25 -04:00
Matthew Kennedy
171543afa1
can vss ( #3402 )
2021-10-24 19:04:47 -04:00
Matthew Kennedy
e7d66fd242
Lua CAN RX ( #3403 )
...
* wiring
* static
* implementation
* comment
* unit tests happy
* guard
* guard smarter, not harder
* guard smarter not harder
* guard even smarter, not even harder
* don't need that
2021-10-24 08:37:04 -04:00
rusefi
fa8a1a2eac
Hyundai
2021-10-09 19:18:28 -04:00
rusefi
ac988225bd
some cheap used junkyard Accelerometer #2225
...
MM5.10
2021-10-06 15:05:29 -04:00
rusefillc
e16054bac6
some cheap used junkyard Accelerometer #2225
...
MM5.10
2021-10-06 11:07:46 -04:00
Matthew Kennedy
dab377d15d
getOrZero ( #3319 )
2021-10-05 19:59:07 -04:00
rusefillc
6e07b2bb73
some cheap used junkyard Accelerometer #2225
...
MM5.10
2021-10-05 16:21:41 -04:00
Matthew Kennedy
34d8014202
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
rusefi
9b10a6abb1
some cheap used junkyard Accelerometer #2225
2021-09-30 18:19:22 -04:00
rusefillc
09e73016f9
some cheap used junkyard Accelerometer #2225
2021-09-30 15:55:34 -04:00
rusefi
eec1900e51
verbose CAN bugfix
2021-09-30 15:27:49 -04:00
rusefi
5f01c57b72
verbose CAN bugfix
2021-09-30 15:03:03 -04:00
Matthew Kennedy
c6287aa326
more fuel info in verbose CAN ( #3229 )
...
* more fuel info
* missed a comma
2021-09-07 17:39:30 -04:00
Matthew Kennedy
f6e269a3ab
remove old vss implementation ( #3208 )
...
* dead vss
* remove
2021-08-28 01:39:55 -04:00
Lenar Khannanov
a334f0d23f
Hotfix some java_tools gradle configs ( #3165 )
...
* fix: deleted mavenRepositories declaration
* fix: deleted unnecessary settings.gradle for enum_to_string
* fix: dependencies for junit, annotations, jsr305; feat: added new dependency for jsr305; fix: deleted settings.gradle for logging; fix: moved enum_to_string tests to test folder
* fix: deleted mavenRepositories declaration
* fix: deleted unnecessary settings.gradle for enum_to_string
* fix: dependencies for junit, annotations, jsr305; feat: added new dependency for jsr305; fix: deleted settings.gradle for logging; fix: moved enum_to_string tests to test folder
* fix: placed test classes to test folder in enum_to_string; feat: get updates from master
2021-08-16 23:52:52 +03:00
Matthew Kennedy
cf4f012c79
longer wbo timeout ( #3164 )
2021-08-16 15:11:26 -04:00
alxrMironov
9d1ce540c4
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
39388c75d8
even more pch ( #3112 )
...
* s
* more
* s
* f7
2021-08-04 19:30:52 -04:00
Matthew Kennedy
4e6b61234f
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
rusefillc
a2e24c1a89
Honda K CAN packets #3098
2021-08-03 04:23:16 -04:00
rusefillc
c1889d0400
typo
2021-07-30 15:49:08 -04:00
rusefillc
c4c3855739
genesis coupe
2021-07-28 17:18:44 -04:00
Matthew Kennedy
d3ec2b21d1
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
e3849b95d5
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
0b066b8935
send wbo heater enable bit, read it on wb ( #2968 )
...
* send heater bit, read it on wb
* b
2021-07-16 14:06:52 -04:00
rusefi
2456d4f3f2
CAN docs
2021-07-13 11:55:31 -04:00
Matthew Kennedy
3fecb347d5
send voltage and heater enable to WBO controller ( #2956 )
...
* add info send function
* fatal if CAN not configured correctly
* build
* s
* 20hz
* update wideband firmware
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-07-13 07:32:41 -04:00
Matthew Kennedy
89410992fa
update wideband again because it didn't work last time ( #2941 )
...
* wideband
* image again
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-07-10 08:00:21 -04:00
Matthew Kennedy
dd7ece2031
wideband ( #2934 )
...
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-07-09 01:54:02 -04:00
Andrey
7f9c9a02bd
Gather Nissan CAN data #2278
2021-07-06 23:12:03 -04:00
Andrey
a856014cd3
Gather Nissan CAN data #2278
2021-07-06 22:47:06 -04:00
rusefillc
32a813339d
Nissan
2021-07-05 18:37:53 -04:00
rusefi
fd98a631c3
Nissan
2021-07-05 17:57:25 -04:00
Andrey G
fdfec5ea3c
Fix swap macro ( #2904 )
...
* convert swap macroses to inline functions
* clean-up workarounds
2021-07-04 18:03:17 -04:00
Andrey
9b02827a1e
Actually two for SWAP_UINT16 :)
2021-06-21 10:47:43 -04:00
Andrey
25168809f3
performance optimization by dron0gus
2021-06-21 09:27:09 -04:00
Matthew Kennedy
7101a390db
update wideband ( #2795 )
...
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-06-04 01:34:30 -04:00
Andrey
a0d835ed1c
refactoring magic constant STOICH_RATIO
2021-05-20 02:39:20 -04:00
Matthew Kennedy
76f2f063d2
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
Matthew Kennedy
d7f9d42e07
Hook up multi bank fuel trim ( #2532 )
...
* multi bank trim
* cleaning
* output channels
* output channels
2021-05-08 17:41:50 -04:00
Matthew Kennedy
1bd789a5a5
make wideband log fields match what it's actually sending ( #2593 )
...
* make log fields match what it's actually sending
* update wb firmware
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-28 18:28:29 -04:00
shadowm60
003f5b1cfa
Haltech dash support ( #2570 )
...
* prep for cycletimes
* not it should build
* Defined and used cyclic messages
- defined cyclic messages for dash support
- hardcoded canwrite periodic task at 5ms to ensure correct timing
* tweaks
Update W202/VW candash cyclic config
fix canverbose cycle time configuration from TS
* Update can_dash.cpp
Haltech message definitions
* Update can_dash.cpp
* added HaltechDash
- changed CanTx cycle time
- inject cycle times to dash handlers
- implement first version of HaltechDash
* missed it
while merge with upstream/master
2021-04-24 17:40:48 -04:00
shadowm60
4ea719c60c
Handle can message cyclicity ( #2573 )
...
* Handle can message cyclicity
update of canDash to support different cyclicity of messages
* review updates
2021-04-23 20:16:27 -04:00
Matthew Kennedy
5f0791f9fb
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
737ee444b8
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
8cfb63455d
Logging remove 3 ( #2568 )
...
* ts logger
* sensors
* wideband too
* missed one
* init
* motors, pid, etc
* vvt
* more
* idle
* missed one
* dynoview
* launch
* can
* console IO
* s
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-20 14:09:41 -04:00
Matthew Kennedy
992c16b4af
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
d6c9f1d84f
aux temp ( #2515 )
2021-03-31 22:54:59 -04:00
Matthew Kennedy
8aed80c332
not all listeners are sensors ( #2514 )
...
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-31 22:51:49 -04:00
Matthew Kennedy
4e1d30f86d
plumbing for multiple vvt ( #2488 )
...
* plumb multiple vvt
* fix test
* s
* fix barra while we're at it
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-25 07:39:23 -04:00
Matthew Kennedy
2bf833a1ee
Usable fuel consumption data/gauges ( #2474 )
...
* fuel consumption
* gauge names
* consumers
* obd
* binary logging
* doesn't need explicit constructor
* getters
* it works
* correct for injections per cycle
* datalog
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-19 17:04:42 -04:00
Matthew Kennedy
5e6746c3aa
Implement nonlinear fuel level sender ( #2473 )
...
* table function
* config fields
* sensor type
* switch consumers
* init the sensor
* ui
* 1mv resolution
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-19 08:39:08 -04:00
Matthew Kennedy
d9f58c2993
fix ( #2471 )
2021-03-18 04:02:32 -04:00
rusefillc
7b66ec5cf3
VAG MQB
2021-03-14 17:40:33 -04:00
Matthew Kennedy
4171ab2d11
Add set wideband index buttons ( #2455 )
...
* update wideband firmware
* implement index set
* bench test, error on failure
* guard wideband
2021-03-14 17:20:50 -04:00
rusefillc
98eae45094
vBatt -> SensorType::vBatt #2260
2021-03-11 22:52:34 -05:00
Matthew Kennedy
dafd28d751
enable CAN on H7 ( #2393 )
...
* enable
* guard correctly
* h7 bit timing
* allow longer frames
* allow data smaller than maximum
* mcu temperature
* typo
* tx message
* testing
* check for CAN or FDCAN
* don't need that any more
* h7 bitrate config
* undo testing
* h7-ify msg tx
* comment
* break out SID/EID macros
* guard differently
* update ChibiOS
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-09 18:54:01 -05:00
Matthew Kennedy
d7536bf059
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
Matthew Kennedy
f8747a35bf
set all thread priorities in the same place ( #2412 )
...
* unify thread priority
* header
* mmc
2021-02-28 07:30:45 -05:00
Matthew Kennedy
c4e849d143
Update submodules ( #2407 )
...
* contrib
* update wideband
2021-02-26 14:44:46 -05:00
rusefillc
5f964aa9dd
Gather Nissan CAN data #2278
...
one step back
2021-02-13 09:32:45 -05:00
rusefillc
2d68405d96
Gather Nissan CAN data #2278
2021-02-12 23:07:21 -05:00
rusefillc
8d74b26beb
Gather Nissan CAN data #2278
2021-02-12 20:47:12 -05:00
Matthew Kennedy
8cc6ef83f9
h7 flash, guard against no CAN ( #2317 )
...
* h7 flash
* guard some other stuff
* I guess it just builds now?
* maybe ci too
2021-02-08 16:24:38 -05:00
rusefillc
096c67b4de
H7 compilation #2284
2021-02-05 23:57:28 -05:00
rusefillc
3be5714e94
H7 compilation #2284
2021-02-05 23:37:18 -05:00
rusefillc
0b0d66ff04
Gather Nissan CAN data #2278
2021-02-05 19:17:22 -05:00
rusefillc
f4592541dd
Gather Nissan CAN data #2278
2021-02-05 11:27:51 -05:00
Matthew Kennedy
42be7f9fc6
update wideband firmware image ( #2232 )
2021-01-19 16:51:05 -05:00
Matthew Kennedy
066beeb719
add obd stft bank 2 ( #2183 )
...
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-04 07:35:21 -05:00
Matthew Kennedy
add0dcd390
switch more map to read from sensor model ( #2162 )
...
* hook up map
* check for init
* switch some consumers
* that's the rest of them
* test
* tests
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-02 19:13:10 -05:00
Matthew Kennedy
83266c904b
Put map in the sensor model ( #2161 )
...
* hook up map
* check for init
* switch some consumers
* don't do limp for now
* oops
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-30 08:43:49 -05:00
Matthew Kennedy
91d1acb50e
prototype wideband firmware update ( #2074 )
...
* add submodule for firmware
* ts
* add updater
* add bench_test
* don't collide idx
* feature flag
* send acks
* fix timeout logic
* ui
* do it on the bench thread
* guard
* guard
* only do twice
* guard
* bump version
* update
* file name
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-16 08:28:53 -05:00
Matthew Kennedy
ba1ba1452d
second lambda (x-series CAN only, for now) ( #2048 )
...
* add sensor
* second sensor
* switch sensor name
* gobblin up your memory
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-09 20:26:23 -05:00
shadowm60
45205e7da7
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
Matthew Kennedy
9783f40820
move AEM xseries lambda to new sensor ( #1764 )
...
* lambda sens
* fix init
* new sensor aem
* comment
* g
* format
* x
* guard
* fix init for tests
* fix
* put back
* put back
* fix
* fix init
* why is this different
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-09-21 06:01:54 -04:00
shadowm60
c89a9e4c62
Update can_vss.cpp ( #1813 )
...
update vss reading from can
2020-09-21 05:55:09 -04:00
rusefi
995bc111ca
microRusEFI used as Body Control Module BCM BCU
2020-09-06 23:39:25 -04:00
rusefi
ea1fbe14b3
OBD CAN sensors #1733
2020-09-03 23:27:53 -04:00
Matthew Kennedy
bad69c812e
move lambda in to sensor model ( #1736 )
...
* lambda sens
* fix init
* fix
* a test for good measure
* he's climbin in your windows, snatchin you ram up
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-09-01 16:22:31 -04:00
rusefi
262405a915
OBD CAN sensors #1733
2020-08-31 22:47:33 -04:00
rusefi
26aaf7dc8e
magic constants
2020-08-31 22:22:45 -04:00
rusefi
7cb3952b8b
OBD CAN sensors #1733
2020-08-31 22:00:03 -04:00
rusefi
23a790f66d
OBD CAN sensors #1733
2020-08-31 04:39:27 -04:00
rusefi
b1a35234fb
OBD CAN sensors #1733
2020-08-30 09:16:37 -04:00
Matthew Kennedy
c3fad197e4
fix
2020-07-29 14:27:57 -07:00
Matthew Kennedy
c94ab7db21
report that we support it
2020-07-29 12:17:11 -07:00
Matthew Kennedy
f3e8261691
Merge branch 'cppcheck' into obd2-lambda
2020-07-29 12:16:05 -07:00
Matthew Kennedy
4c1c95c241
Merge remote-tracking branch 'upstream/master' into obd2-lambda
2020-07-29 12:16:02 -07:00
Matthew Kennedy
50c4987d4e
stft too
2020-07-29 12:15:01 -07:00