Andrey
31a62d664f
Actually two for SWAP_UINT16 :)
2021-06-21 10:47:43 -04:00
Andrey
498358247e
performance optimization by dron0gus
2021-06-21 09:27:09 -04:00
Matthew Kennedy
7cef936a6d
update wideband ( #2795 )
...
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-06-04 01:34:30 -04:00
Andrey
a762853d3b
refactoring magic constant STOICH_RATIO
2021-05-20 02:39:20 -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
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
Matthew Kennedy
f3a2af9c74
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
7d50f2bcb8
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
61446a6170
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
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
bd1c84fa62
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
5145ee4b62
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
17a3ab4cb3
aux temp ( #2515 )
2021-03-31 22:54:59 -04:00
Matthew Kennedy
c637307238
not all listeners are sensors ( #2514 )
...
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-31 22:51:49 -04:00
Matthew Kennedy
1c473934b9
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
650d148008
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
95b08c433f
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
57a26a7a76
fix ( #2471 )
2021-03-18 04:02:32 -04:00
rusefillc
ef65c01a40
VAG MQB
2021-03-14 17:40:33 -04:00
Matthew Kennedy
831d272be3
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
d650271077
vBatt -> SensorType::vBatt #2260
2021-03-11 22:52:34 -05:00
Matthew Kennedy
40c4238f13
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
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
Matthew Kennedy
b1873b3d8b
set all thread priorities in the same place ( #2412 )
...
* unify thread priority
* header
* mmc
2021-02-28 07:30:45 -05:00
Matthew Kennedy
886cfdbc3e
Update submodules ( #2407 )
...
* contrib
* update wideband
2021-02-26 14:44:46 -05:00
rusefillc
a36101598f
Gather Nissan CAN data #2278
...
one step back
2021-02-13 09:32:45 -05:00
rusefillc
67751dbd51
Gather Nissan CAN data #2278
2021-02-12 23:07:21 -05:00
rusefillc
fa04ac1d73
Gather Nissan CAN data #2278
2021-02-12 20:47:12 -05:00
Matthew Kennedy
435f8f7e2b
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
7c231d968f
H7 compilation #2284
2021-02-05 23:57:28 -05:00
rusefillc
e4a85acb3b
H7 compilation #2284
2021-02-05 23:37:18 -05:00
rusefillc
b431f32fbf
Gather Nissan CAN data #2278
2021-02-05 19:17:22 -05:00
rusefillc
0090dc04ee
Gather Nissan CAN data #2278
2021-02-05 11:27:51 -05:00
Matthew Kennedy
fd02da6670
update wideband firmware image ( #2232 )
2021-01-19 16:51:05 -05:00
Matthew Kennedy
de2b37accb
add obd stft bank 2 ( #2183 )
...
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-04 07:35:21 -05:00
Matthew Kennedy
92ea09b0a6
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
acdf6fdc85
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
d62618c5f8
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
a08e79789d
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
864bd7fa73
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
df551d77fb
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
f2edf843e5
Update can_vss.cpp ( #1813 )
...
update vss reading from can
2020-09-21 05:55:09 -04:00
rusefi
294ca5aae3
microRusEFI used as Body Control Module BCM BCU
2020-09-06 23:39:25 -04:00
rusefi
bc115e70a0
OBD CAN sensors #1733
2020-09-03 23:27:53 -04:00
Matthew Kennedy
5fec6d0c04
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
d683a092a4
OBD CAN sensors #1733
2020-08-31 22:47:33 -04:00
rusefi
5d3614350c
magic constants
2020-08-31 22:22:45 -04:00
rusefi
db9ea3b3e3
OBD CAN sensors #1733
2020-08-31 22:00:03 -04:00
rusefi
f18f7741ca
OBD CAN sensors #1733
2020-08-31 04:39:27 -04:00