Commit Graph

2799 Commits

Author SHA1 Message Date
Josh Stewart 27dbb376ab Add back missing line 2022-09-07 16:00:39 +10:00
Josh Stewart c84fdcd8f0 Add quiet option to script 2022-09-07 15:57:41 +10:00
Josh Stewart 1e3fe7c1b5 Re-add cat of results file 2022-09-07 15:48:33 +10:00
Josh Stewart 64d18f82ce Remove Azure pipelines 2022-09-07 15:46:24 +10:00
Josh Stewart 6847887f73 Add badge to README 2022-09-07 15:41:35 +10:00
Josh Stewart 86a93c8c34 Fix bad syntax 2022-09-07 15:27:14 +10:00
Josh Stewart 4264484015 Force set results directory 2022-09-07 15:23:59 +10:00
Josh Stewart cc832f4642 Force create results dir 2022-09-07 15:19:05 +10:00
Josh Stewart f997195303 Force script to complete successfully 2022-09-07 15:14:04 +10:00
Josh Stewart 194cfdb1f5 Remove continue on error 2022-09-07 15:10:11 +10:00
Josh Stewart e04b6dbe8c Further testing 2022-09-07 15:04:04 +10:00
Josh Stewart bdd739b1bc Change to results count file 2022-09-07 14:55:20 +10:00
Josh Stewart 333d150a17 Yet more env testing 2022-09-07 14:51:57 +10:00
Josh Stewart 5d6c13f7a2 More testing 2022-09-07 14:45:15 +10:00
Josh Stewart 5e393789b0 More testing 2022-09-07 14:35:54 +10:00
Josh Stewart e39c852390 Another env test 2022-09-07 14:32:21 +10:00
Josh Stewart 7c43e88959 More env testing 2022-09-07 14:30:10 +10:00
Josh Stewart 5b4132b7e4 env update 2022-09-07 14:18:18 +10:00
Josh Stewart 1793bee60a Fix env writing 2022-09-07 14:04:52 +10:00
Josh Stewart ffbeac10ab Direct error count into file 2022-09-07 14:02:02 +10:00
Josh Stewart 0379471053 Change script call 2022-09-07 13:30:24 +10:00
Josh Stewart acfc271b2f Change to cppcheck v2.7 2022-09-07 13:26:50 +10:00
Josh Stewart ff5ca0d19b Fix relative directory 2022-09-07 11:19:37 +10:00
Josh Stewart efe96b42f1 Initial creation of test action 2022-09-07 11:14:53 +10:00
Afroboltski 75d6c2ff61
Air Conditioning Control - Feature Implementation (#665)
* 19.09.2021

* Final testing of AC Control, some idle features fixed

AC control feature added, better than the existing idle-up feature (which can still be used for other things, e.g. electrical load detection). Air conditioning is locked out with coolant temp, RPM high/low, and high TPS. So the A/C automatically cuts out when driving hard.

Idle step now works correctly with closed loop PWM, open loop PWM, and closed+open loop PWM. Untested with stepper motor, but no reason it shouldn't work.

* Fixed mistakenly incremented page sizes

* Initial changes as per HWright9

-Renamed engineRunSeconds to acAfterEngineStartDelay
-Formatted large if statements better
-Fixed acStartDelay overflow bug
-Improved readability of logic

* Final fixes as per HWright9's feedback

-Add high/low RPM lockout delay, similar to the high TPM lockout delay
-General tidy-up

* Added stand-alone fan, moved config data in EEPROM

-Added additional configurable stand-alone A/C fan output, for when there is dedicated cooling fan for the A/C compressor. This is independent of the engine cooling fan logic.
-Moved config storage in EEPROM to configPage9, as noisymime's SD card logging has used the (previously unused) bytes I had used in configPage13.
-Minor bug fix - rename Aux in 1-16 to Aux in 0-15

* Revert to current master branch - as of master commit 97f8ef795a

* A/C Control Re-Integrated from AC-Control-Clean-3 (@Corey-Harding). Tested & ready to merge.

Additionally, added @HazuTo25's lines into the update() routine to configure default A/C settings.

* Changed updates.ino to just set A/C to disabled

* Fix change reverted by mistake - master merge commit 73badbce8c

* Fix remaining mistakes from previous master merge

* Remove test statements left in by mistake

* define unusedBits

* Remove test statements left in by mistake

* Increase timing granularity to 0.1s

* idleUpRPMAdder

* Remove another line put in by mistake by auto merge

* idleUpRPMFixes

* Update speeduino.ino

* Tweak A/C idle up descriptions

* Tweak A/C TS descriptors again

* Fixed alignment bug that turned page 15 config values into gobbledegook.

This had the symptom of the A/C request never triggering, because when a pin was assigned in TS (e.g. I did 27), a completely different pin would be read from config15 (in my case 22 - connecting the button to pin 22 would work in this case, even though TS was set to 27).

* Fix bit count - should be 6 to match ini file

* Increase minimum RPM lockout granularity

* Change granularity of A/C minimum RPM lockout to 10 RPM; Inline some functions for readability

* Add static inline function prototypes to auxiliaries.h as per the style guide.

* Fixed page 15 merge errors

* Style changes to suit new pinIsUsed() checks in setPinMappings()

* Add PWM Fan Control Minimum Clamp Value when A/C Compressor Engaged

* Fix comment

* Fix bug with stand-alone fan initialisation

Pin was unable to be used in prog. I/O even if fan was disabled, because it was always initialised as an output even if it was disabled. Fixed in this commit.

* Correction to Fahrenheit temperature scaling

* Move A/C updates to correct next release

Co-authored-by: shiznit304 <62686180+shiznit304@users.noreply.github.com>
Co-authored-by: Josh Stewart <josh@noisymime.org>
2022-09-07 10:23:01 +10:00
Josh Stewart a4b00dca90 Prevent potential init lockup on Teensy boards if invalid pin is selected for aux function 2022-08-31 16:19:09 +10:00
Josh Stewart 03e93bddb0 Do not run SD logging if overall setting is disabled 2022-08-31 14:48:46 +10:00
Josh Stewart 61dbdd50ea Fix typo from last commit 2022-08-31 13:19:52 +10:00
Josh Stewart 739dc06f24 Add option to specify min absolute delta values for AE 2022-08-30 11:23:25 +10:00
Dave Smith aee331af9d
Fix improper log entries (#920)
Format typos that cause the data to not be logged
2022-08-28 21:53:03 +10:00
Josh Stewart a4823c3546 Increase most F temp field max values to 419F 2022-08-16 10:45:27 +10:00
Josh Stewart 16403b41bc Allow for float values in SD log where supported with FPU 2022-08-10 12:12:42 +10:00
Pasi Kemppainen df2627e06f
Disable automatic retransmission (#910) 2022-08-10 11:06:28 +10:00
Tjeerd 827f078e6b
Fix for idle PWM on STM32. Enable idle timer when idle pwm is enabled. Fixes #907
Co-authored-by: Tjeerd <tjeerdie@users.noreply.github.com>
2022-08-02 17:10:29 +10:00
a32guy 7bd1b911bf
Add OLCL mode to initBoard() for teensy (#903)
Co-authored-by: csmergs <christopher@smeraglinolo.com>
2022-07-28 10:22:42 +10:00
tx_haggis 70bf16e16b
libdivide structs can be const - saves a few bytes (#886) 2022-07-27 13:51:45 +10:00
Daniel Tobias ff0296aaf2
cl boost control above baro should use logical and/or (#901) 2022-07-27 10:25:54 +10:00
Jon Billings 76e024d3ae
fix check for DFCO off in correctionAFRclosedLoop() (#899)
line 608 has bit-and of configpage6.egotype > 0  & DFCO off.
it should be logical and &&
2022-07-27 10:22:04 +10:00
DeionSi 9fdd217b02
Volatile decoder variables (#902)
* triggerToothAngle is modified by interrupts

* triggerActualTeeth is never modified in interrupts
2022-07-27 10:08:06 +10:00
Josh Stewart e3b931b3d1 Dev signatures for 202210-dev 2022-07-27 10:01:03 +10:00
Josh Stewart 4518bb6c40 Update signatures for 202207 in legacy comms 2022-07-11 07:10:14 +10:00
Josh Stewart 77eca577a3 Update README.md 2022-07-11 00:11:08 +10:00
Josh Stewart 722072e5fa Signatures for 202207 2022-07-10 23:45:49 +10:00
Afroboltski d527f173a8
Add necessary pin translations (#887). Fixes #867 2022-07-10 22:38:42 +10:00
Tjeerd ca2bab0725
bug fix EGO PID controller + some improvements. (#879)
* Fix for EGO pid

* Further improvements on ego PID

* Stop EGO controllers from calculating while DFCO is active. To prevent integrator windup.

* Fix bug in DFCO enable/disable of the controller

Co-authored-by: Tjeerd <tjeerdie@users.noreply.github.com>
2022-07-09 22:22:18 +10:00
Josh Stewart ce7ea412db Missing commas in ini 2022-07-09 16:56:26 +10:00
Josh Stewart 6af9265f70 Fix typo from last commit 2022-07-08 22:54:15 +00:00
Min 15d43db61a
TS option to display pressure in bar #842 (#864)
Adds options in TunerStudio project settings to have default units
for fuel and oil pressure in bar. Adds gauge in kPa. This only
adds convertion from psi to bar, not affecting firmware.

Co-authored-by: Min <min@infcof.com>
2022-07-08 14:35:15 +10:00
Josh Stewart c129fa3326 Add option for SD logging with external switch 2022-07-08 14:31:48 +10:00
Josh Stewart fcde4f795b Add engine protection flags to datalog 2022-07-08 13:27:38 +10:00