rusefillc
c93594cd1b
random progress
2022-04-16 16:39:52 -04:00
rusefillc
15b06dc609
Air Conditioning Improvements #4054
2022-04-09 01:23:00 -04:00
rusefillc
101a7eb719
Air Conditioning Improvements #4054
2022-04-08 21:28:50 -04:00
rusefi
0832b694d2
EFI_LAUNCH_CONTROL clean-up
2022-02-06 18:46:09 -05:00
Matthew Kennedy
fe6cdf60e3
warnings fixes ( #3851 )
...
* unused things
* !!! actual bug !!!
* dead
* unused
* unused
* multi-bus lua RX was just broken
* make the compiler angry about it
* dead config
* alphax 2
* just call, no store
* compiler too angry
2022-01-31 18:37:42 -05:00
rusefillc
8b18138e21
Better handling of RPM during stop of cranking #3803
...
one step back
2022-01-17 21:43:30 -05:00
Andrey
385f0cc991
Better handling of RPM during stop of cranking #3803
2022-01-17 21:27:10 -05:00
rusefillc
d877a02486
LUA read ECU state: Cranking, Idling, Cruising #3742
2022-01-04 23:17:26 -05:00
rusefillc
cf11dd0ca5
LUA read ECU state: Cranking, Idling, Cruising #3742
2022-01-04 23:15:03 -05:00
rusefillc
e2dbe85a50
Second CAN #3687
2021-12-21 01:10:37 -05:00
rusefillc
3499208747
clutch input via CAN fix #3605
2021-12-15 20:35:49 -05:00
rusefillc
d5f8abb508
clutch input via CAN #3605
2021-12-15 20:11:23 -05:00
rusefillc
34b6be08b1
Lua to read tsOutputs #3376
2021-12-15 13:25:09 -05:00
rusefillc
dafeaeaa31
Lua to read tsOutputs #3376
2021-12-14 23:16:05 -05:00
rusefillc
cae5ae5ce4
Lua to read tsOutputs #3376
2021-12-13 19:46:41 -05:00
rusefillc
cd763ce6ab
rusEFI console ISO-TP via PCAN #3667
...
fixing build
2021-12-08 15:42:00 -05:00
Andrey
d2c46b3310
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
rusefillc
359420e93d
Pause CAN broadcast on engine stop #3665
2021-12-07 10:35:52 -05:00
rusefillc
01153934f9
Requesting LUA Torque intervention #3638
2021-12-02 01:02:56 -05:00
rusefillc
186cbcc297
refactoring
2021-12-01 23:33:26 -05:00
rusefillc
5271d9791a
j1850 SAE crc8 Lua
2021-11-22 14:19:19 -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
Andrey
1be12392c0
proportional spark cut #3427
2021-11-16 13:23:08 -05:00
Matthew Kennedy
7296593448
remove engine pointer passing ( #3556 )
...
* some
* more
* more
* the last?!
2021-11-16 04:15:29 -05:00
Scott Smith
2cfc4af998
Start the process of using a global engine ptr for unit tests. ( #3551 )
...
* Start the process of using a global engine ptr for unit tests.
Passing around the engine, config, and persistent state wasn't buying anything. Instead, use
EngineTestHelper(Base) to correctly set and clear the global variables. Add a dummy check in
case some test tries to set them manually.
* Fix OSX build
* Adapt PR to recently added code.
2021-11-16 00:23:14 -05:00
rusefi
1f486a1e15
Lua: changing "table" API
2021-11-14 16:29:46 -05:00
rusefi
301bdf08a2
Something something Automatic Compression Release #3442
2021-11-14 16:04:44 -05:00
rusefi
291f815b2d
Something something Automatic Compression Release #3442
2021-11-14 15:04:10 -05:00
rusefillc
899a10c829
script settings need names!
2021-11-14 13:18:11 -05:00
rusefillc
3327b0d4e7
Epic: Remove FSIO #2928
2021-11-14 10:57:19 -05:00
rusefillc
5f1aadf638
Epic: Remove FSIO #2928
2021-11-14 10:39:47 -05:00
rusefi
d172961577
findTableIndex
2021-11-13 10:02:01 -05:00
rusefillc
f7d1a3e542
lua can
2021-11-13 08:23:44 -05:00
rusefillc
731906b2be
lua can
2021-11-13 08:20:30 -05:00
rusefillc
14281da180
lua can
2021-11-13 04:44:17 -05:00
Matthew Kennedy
31848f5bf4
lua pid class ( #3411 )
...
* lua pid
* no luaaa stl
* update luaaa
* finality
* luaaa
* luaaa
* = default
* bad merge
* gitmodules
* lua
* proteus demo script
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-11-13 03:18:16 -05:00
Matthew Kennedy
569ec1013b
update luaaa ( #3540 )
...
* lua update
* no stdlib mode
* turn off system luaaa for now since it makes luaaa sad
* let user heap do a little
* gitmodules
* memory shuffling
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-11-12 22:10:05 -05:00
Andrey
31b50ff021
Something something Automatic Compression Release #3442
2021-11-11 21:38:49 -05:00
rusefi
35f6ac4305
open q
2021-11-10 19:24:17 -05:00
rusefi
99a90309ef
why is meat allowed to touch machine?!
2021-11-08 20:49:12 -05:00
Andrey
49d4dea65e
lua pid class #3411
2021-11-07 09:53:40 -05:00
Andrey
c98bfecf11
lua pid class #3411
2021-11-07 09:49:47 -05:00
Andrey
818e0057c9
lua curve progress
2021-11-05 16:08:48 -04:00
rusefillc
57dc9b36f4
lua curve progress
2021-11-05 10:34:12 -04:00
Andrey
8c11ab341e
refatoring: splitting lua hooks into multiple files
2021-11-02 23:27:48 -04:00
rusefillc
6a504e0755
Revert "lua pid class #3411"
...
This reverts commit 02bbe16170
.
2021-10-28 23:41:23 -04:00
rusefillc
02bbe16170
lua pid class #3411
2021-10-28 23:35:53 -04:00
Matthew Kennedy
41b99b0593
make lua CAN happy ( #3416 )
...
* lua can tx
* index
* make rx match
2021-10-28 08:18:56 -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
rusefillc
73bec80f77
generate java enum from C enum? generate both C and java from yaml? #2102
2021-10-24 00:44:09 -04:00
rusefillc
6692ca7157
Lua: CAN receive integration? callback? #3320
2021-10-24 00:18:28 -04:00
Matthew Kennedy
4259c96809
lua can set sensors ( #3389 )
...
* add sensor unsubscribe
* sensor hook
* test it!
* virtual destructor makes us sad
* ensure deinit
2021-10-22 16:36:29 -04:00
Andrey
0e6a3e38ed
findSensorTypeByName
2021-10-21 14:33:59 -04:00
Matthew Kennedy
dab377d15d
getOrZero ( #3319 )
2021-10-05 19:59:07 -04:00
rusefillc
8b70d957a3
more of LuaAdjustments
2021-09-24 00:34:06 -04:00
Matthew Kennedy
bbe564560b
lua hook for timing add ( #3260 )
...
* load script
* test
* needs more rams
* embiggen stack
* init system lua from lua thread
* de-embiggen stack
* infra
* hook
* system needs a little more
* semicolon
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-09-23 23:50:47 -04:00
rusefillc
0b73150ea4
Lua timer ( #3218 )
...
* Lua: Timer class #3159
* Lua: Timer class #3159
* Lua: Timer class #3159
* Lua: Timer class #3159
* lua timer is happy (#3216 )
* hooks are happy
* don't need that any more
* format
* update lib
* module
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
Co-authored-by: Matthew Kennedy <matthewkennedy@outlook.com>
2021-09-03 20:21:39 -04:00
rusefillc
2bf4755105
my first Lua
2021-09-02 10:46:15 -04:00
rusefillc
1ac86f50a2
my first Lua
2021-09-01 07:47:50 -04:00
rusefillc
cbdd36df92
my first Lua
2021-08-31 12:32:05 -04:00
rusefillc
0acd49da3b
my first Lua
2021-08-31 11:37:43 -04:00
Andrey
e6ac41f5ba
my first Lua
2021-08-22 01:41:54 -04:00
Andrey
94fcb15506
my first Lua
2021-08-22 00:00:20 -04: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
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
45d185b09d
lua hooks for CAN tx ( #2967 )
...
* CanTxMessage usable from unit test
* testLuaReturnsNil
* CAN hook and tests
* it helps if parameter names exist
* nameless params
* s
* redefinition of default argument
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-07-16 14:06:26 -04:00
Matthew Kennedy
b68469822e
lua hooks for custom airmass model ( #2697 )
...
* lua airmass
* not const any more
* bad merge
* don't change the position of others
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-07-16 00:49:14 -04:00
Matthew Kennedy
6b93647c5f
deinit lua pins when not used ( #2876 )
...
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-06-28 08:39:03 -04:00
Matthew Kennedy
70c0db189d
warnings & assorted cleanup ( #2793 )
...
* lua hook
* validateBuffer
* tables
* simplify fsio table
* test
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-06-03 14:30:25 -04:00
Matthew Kennedy
adec4239eb
engine stop hook ( #2760 )
2021-05-30 00:54:36 +03:00
Matthew Kennedy
6bfaed64db
lua pwm hooks ( #2687 )
...
* pwm hook
* dedicated pins
* write hook
* UI
* more info
* zero based, clamp
* memory
* don't compile lua in bootloader at all
2021-05-20 19:01:17 -04:00
Matthew Kennedy
3dd6b2efc9
move FSIO aux analog inputs to sensor model ( #2669 )
...
* sensor entries
* init
* non-explicit for list init to work
* switch fsio
* no longer need this lua hook
* init
2021-05-09 19:47:37 -04:00
Matthew Kennedy
892b03524b
Lua debug channels ( #2620 )
...
* setdebug hook
* add debug mode
* memory size debug channel
* default script
2021-05-04 10:05:39 -04:00
Matthew Kennedy
65a8941286
more Lua hooks ( #2605 )
...
* more hooks
* zero index
* test table hook
* test works
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-29 22:22:04 -04:00
Matthew Kennedy
a470c1eec1
lua 5.4 ( #2590 )
...
* thread priority
* build
* makefile prep
* call startup
* lua 5.1
* mk
* 5.3
* mk
* I guess lua does something?
* extract hooks, builds for tests
* a bit of error handling
* guard
* bootloader makefile
* remove lua
* submodule
* submodule update
* builds with submodule
* disabled by default
* h7 chconf
* tweaks
* add a useful hook
* move luaconf
* perf trace lua
* test helpers
* lua unit tests
* include to satiate clang
2021-04-28 22:41:25 -04:00