Tunerstudio Refactoring

It's all about the code!
Post Reply
960
contributor
contributor
Posts: 311
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 107 times
rusefi_frankenso.ini
(447.18 KiB) Downloaded 114 times


All menus are cleaned up and grouped more rational


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

User avatar
russian
Site Admin
Posts: 9770
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: 311
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 124 times

960
contributor
contributor
Posts: 311
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 13 times
javaw_pcSR8mYyvI.png
javaw_pcSR8mYyvI.png (713.54 KiB) Viewed 942 times
uO04MrwTqe.png
uO04MrwTqe.png (622.2 KiB) Viewed 942 times

Abricos
contributor
contributor
Posts: 727
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: 311
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: 311
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 112 times
rusefi_frankenso.ini
(439.14 KiB) Downloaded 108 times
Can someone change the ignition pin mode to Falling and Rising in firmware?
(Instead of default, default inverted...)

960
contributor
contributor
Posts: 311
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 867 times

960
contributor
contributor
Posts: 311
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 116 times
rusefi_frankenso.ini
(447 KiB) Downloaded 115 times

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

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

Abricos
contributor
contributor
Posts: 727
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: 311
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: 311
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: 311
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 112 times
rusefi_frankenso.ini
(446.44 KiB) Downloaded 112 times
EKWwx5IrWH.png
EKWwx5IrWH.png (304.7 KiB) Viewed 798 times

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

Re: Tunerstudio Refactoring

Post by 960 » Tue Aug 27, 2019 8:42 pm

Now with different dashes as pages :-)
javaw_uJYPfb0tl0.png
javaw_uJYPfb0tl0.png (448.61 KiB) Viewed 591 times
javaw_lKhjo33wjT.png
javaw_lKhjo33wjT.png (342.85 KiB) Viewed 591 times
javaw_jWx1y3hjca.png
javaw_jWx1y3hjca.png (335.08 KiB) Viewed 591 times

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

Re: Tunerstudio Refactoring

Post by Abricos » Wed Aug 28, 2019 3:12 am

Only pic ??
How to used ?

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

Re: Tunerstudio Refactoring

Post by 960 » Wed Aug 28, 2019 2:09 pm

Abricos wrote:
Wed Aug 28, 2019 3:12 am
Only pic ??
How to used ?
Extract this and put in your Tunerstudioprojects folder.

Let me know if/how it works.
1.07_By_960.zip
(2.81 MiB) Downloaded 25 times

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

Re: Tunerstudio Refactoring

Post by 960 » Wed Aug 28, 2019 2:49 pm

If TS performs too slow, just right-click some of the dashes at the bottom and remove them.

You can also remove some gauges at some pages to make it improve.

If there are any bugs, or you want any changes/additions to menus, let me know.

You have to use TS Beta for this to work as it should.

Post Reply