View unanswered posts | View active topics It is currently Tue Apr 25, 2017 9:29 pm



Reply to topic  [ 6 posts ] 
Utility to convert EMStudio json tables to FreeEMS firmware 
Author Message
QFP80 - Contributor
User avatar

Joined: Sun Aug 21, 2011 6:26 pm
Posts: 77
Location: Spain
This is an utility made in JAVA used to convert from json EMStudio exported tables to FreeEMS firmware .h files style.
CLI app.


-version 0.1 (first release):
- support for 3D Tables: VE, Lambda and Timing.
- tested with EMStudio StableTwo-84-gad3fd6e

-version 0.2:
- CLI option to don't use decimals (truncated)

...

-version 0.5:
- adapt output to Fred standard (http://forum.diyefi.org/download/file.php?id=1475)
-version 0.6:
- added new CLI option to see metaInfo of the json file loaded (http://forum.diyefi.org/download/file.php?id=1491)


SRC:
https://github.com/AiToR51/tableConvert ... io-freeems


use:
java -jar tableConverter(...).jar input.json [-noDecimals]

or

java -jar tableConverter(...).jar input.json [-noDecimals] > outputFile


screenshot:
Image


if anybody founds some errors or want new features, tell me. (or fix it :P as is open source)


Attachments:
tableConverter-0.3-jar-with-dependencies.jar [26.16 KiB]
Downloaded 73 times
tableConverter-0.2-jar-with-dependencies.jar [26.07 KiB]
Downloaded 95 times

_________________
Sierra XR4i 2.0T


Last edited by AiToR51 on Wed Dec 11, 2013 9:11 am, edited 6 times in total.

Thu Nov 07, 2013 9:16 am
Profile
Moderator
User avatar

Joined: Tue Jan 15, 2008 2:31 pm
Posts: 14559
Location: Home sweet home!
Very nice work! Code is pretty easy to follow. Nice implementation choices. My main comment: axle no es correcto, tio, usar "axis" en su lugar.

_________________
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!


Thu Nov 07, 2013 4:56 pm
Profile WWW
QFP80 - Contributor
User avatar

Joined: Sun Aug 21, 2011 6:26 pm
Posts: 77
Location: Spain
perfect, I've changed it on last commit. Nothing more changed so no generated jar.

_________________
Sierra XR4i 2.0T


Fri Nov 08, 2013 10:27 am
Profile
Moderator
User avatar

Joined: Tue Jan 15, 2008 2:31 pm
Posts: 14559
Location: Home sweet home!
BTW, it's OK because this project is TINY, but you should NEVER check jars into SCM.

_________________
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!


Fri Nov 08, 2013 6:17 pm
Profile WWW
QFP80 - Contributor
User avatar

Joined: Sun Aug 21, 2011 6:26 pm
Posts: 77
Location: Spain
new version (0.5) added

new version (0.6) added.


Attachments:
tableConverter-0.6-jar-with-dependencies.jar [27.97 KiB]
Downloaded 93 times
tableConverter-0.5-jar-with-dependencies.jar [26.67 KiB]
Downloaded 93 times

_________________
Sierra XR4i 2.0T
Thu Nov 21, 2013 8:14 pm
Profile
Moderator
User avatar

Joined: Tue Jan 15, 2008 2:31 pm
Posts: 14559
Location: Home sweet home!
A few tweaks from me, and bump to 0.7, attached.


Attachments:
tableConverter-0.7-jar-with-dependencies.jar [27.66 KiB]
Downloaded 54 times

_________________
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
Sun Jun 21, 2015 7:51 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 6 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software for PTF. ColorizeIt.