Tunerstudio Refactoring

It's all about the code!
Post Reply
960
contributor
contributor
Posts: 285
Joined: Mon Dec 10, 2018 1:22 am
Soldering skill: yes
Coding skill?: yes

Tunerstudio Refactoring

Post by 960 » Sat Jul 06, 2019 11:27 am

I am working at a TS refactoring, and have a .ini file here if anyone will try it out.

It's far from finished, as some firmware additions/changes are required

Any feedback welcome.

1.07
rusefi.ini
(446.06 KiB) Downloaded 21 times
rusefi_frankenso.ini
(447.18 KiB) Downloaded 26 times


All menus are cleaned up and grouped more rational


javaw_sgQoXMie6m.png
javaw_sgQoXMie6m.png (526.41 KiB) Viewed 404 times
javaw_h5vudyOZEL.png
javaw_h5vudyOZEL.png (531.85 KiB) Viewed 403 times
Last edited by 960 on Fri Jul 19, 2019 10:14 pm, edited 3 times in total.

User avatar
russian
Site Admin
Posts: 9520
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Soldering skill: yes
Coding skill?: yes
Contact:

Re: Tunerstudio Refactoring

Post by russian » Sun Jul 07, 2019 9:59 pm

My current focus is https://github.com/rusefi/rusefi/issues/866 which I believe would contribute towards end goal of user-friendly general purpose PID.
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

960
contributor
contributor
Posts: 285
Joined: Mon Dec 10, 2018 1:22 am
Soldering skill: yes
Coding skill?: yes

Re: Tunerstudio Refactoring

Post by 960 » Mon Jul 08, 2019 5:17 am

Good!

Gp-pwm maps are among the most needed additions for this to be complete.

I have a new .ini file with more added and fully working.

Also waiting for TS to add the 1d array support to replace the curves.
rusefi_refactored.ini
(449.54 KiB) Downloaded 38 times

960
contributor
contributor
Posts: 285
Joined: Mon Dec 10, 2018 1:22 am
Soldering skill: yes
Coding skill?: yes

Re: Tunerstudio Refactoring

Post by 960 » Mon Jul 08, 2019 3:39 pm

I have also made some different dashboard layouts I will post here.

I am currently trying to add presets for all the most common sensors + injectors.


Here are a typical dash for tuning
Tuning.zip
(263.85 KiB) Downloaded 6 times
javaw_pcSR8mYyvI.png
javaw_pcSR8mYyvI.png (713.54 KiB) Viewed 342 times
uO04MrwTqe.png
uO04MrwTqe.png (622.2 KiB) Viewed 342 times

Abricos
contributor
contributor
Posts: 697
Joined: Mon Aug 18, 2014 12:32 am

Re: Tunerstudio Refactoring

Post by Abricos » Tue Jul 09, 2019 12:05 am

and how to use it ???
need instruction how to used
where to add this file (rusefi_refactored.ini) ???
when to add this is a file ???

960
contributor
contributor
Posts: 285
Joined: Mon Dec 10, 2018 1:22 am
Soldering skill: yes
Coding skill?: yes

Re: Tunerstudio Refactoring

Post by 960 » Tue Jul 09, 2019 3:06 am

Abricos wrote:
Tue Jul 09, 2019 12:05 am
and how to use it ???
need instruction how to used
where to add this file (rusefi_refactored.ini) ???
when to add this is a file ???
Just go to File, Vehicle Projects, Project properties and select the .ini file.

Or you can create new project, and load this ini instead of the .ini you normally use.

For the dashboard, just right click mouse button and select load dashboard at top of the menu.

960
contributor
contributor
Posts: 285
Joined: Mon Dec 10, 2018 1:22 am
Soldering skill: yes
Coding skill?: yes

Re: Tunerstudio Refactoring

Post by 960 » Tue Jul 09, 2019 11:55 pm

A new .ini with a little more fixes and more added.
(Accel Enrichments + Spark Edge)

EDIT: I have been uploading the file with Pin-mapping.
This would be the right ones:
rusefi.ini
(438.02 KiB) Downloaded 23 times
rusefi_frankenso.ini
(439.14 KiB) Downloaded 25 times
Can someone change the ignition pin mode to Falling and Rising in firmware?
(Instead of default, default inverted...)

960
contributor
contributor
Posts: 285
Joined: Mon Dec 10, 2018 1:22 am
Soldering skill: yes
Coding skill?: yes

Re: Tunerstudio Refactoring

Post by 960 » Wed Jul 10, 2019 6:58 pm

Today we also got support for 1d arrays in TS.

This is very useful when tuning cold start, and work with several arrays at the same time.
8PTmFUZsAk.png
8PTmFUZsAk.png (376.45 KiB) Viewed 267 times

960
contributor
contributor
Posts: 285
Joined: Mon Dec 10, 2018 1:22 am
Soldering skill: yes
Coding skill?: yes

Re: Tunerstudio Refactoring

Post by 960 » Fri Jul 19, 2019 4:02 pm

A little more cleanup and changes.

Scaled the factoring to be % for corrections. (% Of normal fueling)

When connecting to board with this .ini, choose "use controller settings".

(Actually % of cranking base fuel pulse width for some of them, dont know how to change)

Started some rearranging/grouping in full pinout.


V 1.07
rusefi.ini
(445.88 KiB) Downloaded 29 times
rusefi_frankenso.ini
(447 KiB) Downloaded 28 times

(these gauges added by Matt are really helpful to tune the ETB BTW)

F9Csx5Z9mc.png
F9Csx5Z9mc.png (406.76 KiB) Viewed 208 times
iTplXTGjAn.png
iTplXTGjAn.png (375.32 KiB) Viewed 211 times
Last edited by 960 on Fri Jul 19, 2019 5:11 pm, edited 1 time in total.

Abricos
contributor
contributor
Posts: 697
Joined: Mon Aug 18, 2014 12:32 am

Re: Tunerstudio Refactoring

Post by Abricos » Fri Jul 19, 2019 5:09 pm

Yes it's really cool EBT calibration set up ...

960
contributor
contributor
Posts: 285
Joined: Mon Dec 10, 2018 1:22 am
Soldering skill: yes
Coding skill?: yes

Re: Tunerstudio Refactoring

Post by 960 » Fri Jul 19, 2019 7:42 pm

Abricos wrote:
Fri Jul 19, 2019 5:09 pm
Yes it's really cool EBT calibration set up ...
Thanks!

Trying to simplify a little, it can be confusing :-)

Have you tried the .ini file?

960
contributor
contributor
Posts: 285
Joined: Mon Dec 10, 2018 1:22 am
Soldering skill: yes
Coding skill?: yes

Re: Tunerstudio Refactoring

Post by 960 » Fri Jul 19, 2019 7:50 pm

I would also like to add presets for ETB's, so the part-numbers/type can be in a drop down.

If someone could make a initial preset would be great. (I dont know how)

I would also like to add presets for injectors and sensors, as I have pages of values for anything possible.

If someone could show me, I can do the job.

I dont suppose this layout will be used, but I am sure some parts could be useful.

960
contributor
contributor
Posts: 285
Joined: Mon Dec 10, 2018 1:22 am
Soldering skill: yes
Coding skill?: yes

Re: Tunerstudio Refactoring

Post by 960 » Fri Jul 19, 2019 9:31 pm

And I made it for the sensors :-)
rusefi.ini
(445.32 KiB) Downloaded 24 times
rusefi_frankenso.ini
(446.44 KiB) Downloaded 27 times
EKWwx5IrWH.png
EKWwx5IrWH.png (304.7 KiB) Viewed 198 times

Post Reply