Matthew Kennedy
0e2709cd91
start refactoring towards OneCylinder
2025-01-18 01:03:44 -08:00
Matthew Kennedy
bb24a9c350
3 codes works?
2025-01-11 11:26:19 -08:00
Matthew Kennedy
308f9577eb
OBD2 multi frame: first frame
2025-01-11 11:08:47 -08:00
Matthew Kennedy
3cd92ce1b5
test OBD monitor status PID
2025-01-10 22:06:52 -08:00
Matthew Kennedy
b3e78dfc06
CAN guards cleanup
2025-01-10 21:54:45 -08:00
Matthew Kennedy
935284c0d7
fiddling with OBD pid 0x01
2025-01-10 15:55:50 -08:00
Matthew Kennedy
2f3710f260
correct byte count for obd2 dtc
2025-01-10 15:38:57 -08:00
Matthew Kennedy
39b10cfab8
maybe fix obd response byte order
2025-01-10 14:52:16 -08:00
Matthew Kennedy
c4a50ad3f1
maybe fix 0-2 dtc obd2
2025-01-10 14:11:40 -08:00
Matthew Kennedy
e461d7755b
respond empty list to pending/permanent
2025-01-10 14:03:01 -08:00
Matthew Kennedy
505c064117
format
2025-01-10 13:50:15 -08:00
Matthew Kennedy
786d296290
respond with correct service
2025-01-10 21:15:14 +00:00
Matthew Kennedy
67dd267084
obd codes
2025-01-10 21:09:38 +00:00
dynfer
4aa624bf45
dtc monitor status ( #530 )
...
* dtc monitor status
* bug in dtc reporting
* semicolon
2025-01-09 10:04:44 -08:00
dynfer
101380aa08
initial obd2 dtc response ( #529 )
2025-01-09 07:51:57 -08:00
Matthew Kennedy
c1760a6966
obd2 simplification
2025-01-07 15:42:15 -08:00
Matthew Kennedy
f634a0e471
add some obd2 parameters
2024-11-08 19:05:16 -08:00
Matthew Kennedy
ff5e47c95d
Engine modules participate in the build system ( #452 )
...
* infrastructure for engine modules in the build
* fully move fuel pump
* fan
* gear detector
* gear detect
* fan control cleanup
* trip odometer
* shuffle makefiles around a little
* minor format
2024-07-23 18:05:43 -07:00
Matthew Kennedy
408862d69f
strongly type can bus index so we can't have the same bug again
2023-10-30 23:33:59 -07:00
Matthew Kennedy
39a54e5e93
require DLC on can TX
2023-10-30 18:50:49 -07:00
Matthew Kennedy
4b354f047b
trip odometer ( #260 )
2023-09-25 13:16:17 -07:00
Matthew Kennedy
349d3a9b48
completely unused CanCategory
2023-05-30 22:13:54 -07:00
Matthew Kennedy
d5f9479f28
ObdCode is enum class ( #77 )
...
* change ObdCode to enum class builds firmware
* test builds
* don't need this line at all
* can we go down to uint16_t?
2023-04-12 23:44:33 -07:00
Matthew Kennedy
e3a25429ef
fix obd2 lambda PID
2023-03-08 13:31:46 -08:00
Andrey
25b6d39802
os_access.h dead?
2022-09-07 15:56:45 -04:00
Matthew Kennedy
c4d01754c3
Respond to OBD2 on the same bus we got the request on ( #4330 )
...
* obd replies on the same bus as the request
* comment
* missed one
2022-07-08 05:25:35 +03:00
rusefillc
4517c2cfe9
CAN category ( #4148 )
...
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-05-09 16:49:23 -04:00
Andrey
5f3324cd6b
migrating to SensorType::Rpm API
2022-01-20 23:32:59 -05:00
Matthew Kennedy
aa8584d89a
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
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
Matthew Kennedy
dab377d15d
getOrZero ( #3319 )
2021-10-05 19:59:07 -04:00
Matthew Kennedy
f6e269a3ab
remove old vss implementation ( #3208 )
...
* dead vss
* remove
2021-08-28 01:39:55 -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
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
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
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
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
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
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
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
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
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
b1a35234fb
OBD CAN sensors #1733
2020-08-30 09:16:37 -04:00