FreeEMS-Tuner Development Diary - Comments

Aaron Barnes' wxPython based FreeEMS tuning tool. No longer maintained and out of date with the protocol requirements.
User avatar
sry_not4sale
LQFP144 - On Top Of The Game
Posts: 568
Joined: Mon Mar 31, 2008 12:47 am
Location: New Zealand, land of the long white burnout
Contact:

Re: FreeEMS-Tuner Development Diary - Comments

Post by sry_not4sale »

Fred wrote:I ran the app on a win xp box earlier with the following three installers and zero hassle :

python-2.6.msi
pywin32-212.win32-py2.6.exe
wxPython2.8-win32-unicode-2.8.9.1-py26.exe

This code :

srynot4sale-freeems-tuner-0dc626c05aff767a7a97e1d76465b85893a58109

Aaron, are you familiar with the bundling program? You can wrap up all the code and interpretter etc in a single ball of runable app installable by another thingy. Karsten knows how to do it, if you don't, contact him :-)

Fred.
No idea I am afraid, so I will talk to him :D
Owner / Builder: 1983 Mazda Cosmo 12at (1200cc 2-rotor turbo) coupe [SPASTK]
165hp @ 6psi standard - fastest production car in japan Oct 82
User avatar
Fred
Moderator
Posts: 15433
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: FreeEMS-Tuner Development Diary - Comments

Post by Fred »

Aaron : very much appreciate the "wanna connect??" dialog, much faster that way!! cheers!
Ben : cheers for the hex display, good work, much better!

Fred.
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!
User avatar
Fred
Moderator
Posts: 15433
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: FreeEMS-Tuner Development Diary - Comments

Post by Fred »

Good work, I'll give it a shot this evening, are there any specific issues you are confident it will solve?

This morning I drew up some JSON files :

error id : error desc

and

location id : menu name

I'm not sure if you'll like the format, and the location one is temporary till i get a solid full description json sorted, but it will enable you to continue to make progress and it will enable me to use it effectively and add locations as fast as i can code to use them :-)

Will deliver those files to both of you this evening when I get home after a few celebratory "finished on the DB project" drinks.

Fred.
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!
User avatar
jharvey
1N4001 - Signed up
Posts: 1607
Joined: Tue Jun 10, 2008 5:17 pm

Re: FreeEMS-Tuner Development Diary - Comments

Post by jharvey »

About the openGL stuff, is there a python add-on to something you are using to do this? Kind of like py.serial. I haven't tried the latest git yet, but wanted to ask about the eye candy.
User avatar
sry_not4sale
LQFP144 - On Top Of The Game
Posts: 568
Joined: Mon Mar 31, 2008 12:47 am
Location: New Zealand, land of the long white burnout
Contact:

Re: FreeEMS-Tuner Development Diary - Comments

Post by sry_not4sale »

Not sure of the dependencies. Prob the opengl library and the pyopengl bridge.
Owner / Builder: 1983 Mazda Cosmo 12at (1200cc 2-rotor turbo) coupe [SPASTK]
165hp @ 6psi standard - fastest production car in japan Oct 82
User avatar
jharvey
1N4001 - Signed up
Posts: 1607
Joined: Tue Jun 10, 2008 5:17 pm

Re: FreeEMS-Tuner Development Diary - Comments

Post by jharvey »

So I got to the point where the install instructions tell me

"Once you have setuptools installed (many Python developers already will have it), simply issue the command:
easy_install PyOpenGL"

However, I've tried that command on both cmd and in the pyton command window and it give me nasty error messages. Seems like the python command window is where it should be run, here's the error from python

>>> easy_install PyOpenGL
Traceback ( File "<interactive input>", line 1
easy_install PyOpenGL
^
SyntaxError: invalid syntax
>>>

Does this mean I failed at the ez_setup.py part, or am I tossing that command in the wrong spot?

Other notes, python 2.6 on a win 2000 machine.
User avatar
Fred
Moderator
Posts: 15433
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: FreeEMS-Tuner Development Diary - Comments

Post by Fred »

I've raised a new mantis (for a feature that I think is key to the future of this app) and commented a bunch on the others after further testing. You nearly had me convinced that I had a bug in mine for a bit there! But I'm pretty certain it's yours now after what I've found :-)

Jared : http://www.diyefi.org/forum/viewtopic.php?f=43&t=519

Edit, just reaslised you are trying to do the opengl stuff...

I'll have to add that to the thread when there is a version to test it against ;-)

Fred.
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!
User avatar
Fred
Moderator
Posts: 15433
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: FreeEMS-Tuner Development Diary - Comments

Post by Fred »

http://freeems.aaronb.info/tracker/view.php?id=74

updated, should be easy picking now :-)

Fred.
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!
User avatar
jharvey
1N4001 - Signed up
Posts: 1607
Joined: Tue Jun 10, 2008 5:17 pm

Re: FreeEMS-Tuner Development Diary - Comments

Post by jharvey »

I just did a new wget -rF http://github.com/srynot4sale/freeems-tuner.git/ now it's broken. I'm sure that means I need to be patient and that it's being worked on right? Here's the message I got.

No handlers could be found for logger "root"
Traceback (most recent call last):
File "\\STRIPED\FreeEMS-Tuner\github.com\srynot4sale\freee
ms-tuner.git\main.py", line 34, in <module>
comms.loadDefault()
File "\\STRIPED\FreeEMS-Tuner\github.com\srynot4sale\freee
ms-tuner.git\comms\__init__.py", line 44, in loadDefault
path = 'comms.'+comms
TypeError: cannot concatenate 'str' and 'NoneType' objects
User avatar
Fred
Moderator
Posts: 15433
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: FreeEMS-Tuner Development Diary - Comments

Post by Fred »

He hasn't touched it for 2 days and I ran the latest last night against my code ;-) Your stuff is broken (again lol).

If you are going to get it regularly, setup git and just do git pull each time you want the latest.

If you are going to do it sporadically just download it from here :

http://github.com/srynot4sale/freeems-tuner/tree/master

Git should be installable in any linux. Ben has it running in windows too.

The key thing with git is that its a distributed control system. Thus he checks in his changes locally (like I do) and then pushes them up to the server in working chunks (like I can't). I intend to setup a git branch of my code soon (after the next release probably) such that it is really easy to keep track of changes and watch what others do with it and release snapshots by just commiting to the master branch on the server.

I recommend setting up git as you'll need it to stay involved with the firmware too soon :-)

Fred.
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!
Post Reply