Page 1 of 1

Utility to convert EMStudio json tables to FreeEMS firmware

Posted: Thu Nov 07, 2013 9:16 am
by AiToR51
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 (download/file.php?id=1475)
-version 0.6:
- added new CLI option to see metaInfo of the json file loaded (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)

Re: Utility to convert EMStudio json tables to FreeEMS firmw

Posted: Thu Nov 07, 2013 4:56 pm
by Fred
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.

Re: Utility to convert EMStudio json tables to FreeEMS firmw

Posted: Fri Nov 08, 2013 10:27 am
by AiToR51
perfect, I've changed it on last commit. Nothing more changed so no generated jar.

Re: Utility to convert EMStudio json tables to FreeEMS firmw

Posted: Fri Nov 08, 2013 6:17 pm
by Fred
BTW, it's OK because this project is TINY, but you should NEVER check jars into SCM.

Re: Utility to convert EMStudio json tables to FreeEMS firmw

Posted: Thu Nov 21, 2013 8:14 pm
by AiToR51
new version (0.5) added

new version (0.6) added.

Re: Utility to convert EMStudio json tables to FreeEMS firmw

Posted: Sun Jun 21, 2015 7:51 am
by Fred
A few tweaks from me, and bump to 0.7, attached.