Page 1 of 9

FreeEMS-Tuner Development Diary - Don't Post!

Posted: Thu Oct 23, 2008 9:26 pm
by sry_not4sale
FreeEMS-Tuner
http://tuner.freeems.org/

"Stable" development repository
http://github.com/srynot4sale/freeems-tuner/tree/master

Live development repository
http://github.com/srynot4sale/freeems-t ... e/devtrunk

Diary:

2008-10-23
- Starting setting up the project skeleton
- Got a window rendering, including menus and status bars
- Large grid now renders, will be used for showing serial communications
- Basic interface for sending/requesting data

2008-10-24
- Read through the serial docs

Re: FreeEMS Tuner development diary

Posted: Thu Oct 23, 2008 9:58 pm
by sry_not4sale
Screenshot:

Image

Re: FreeEMS Tuner development diary

Posted: Thu Oct 23, 2008 10:27 pm
by sry_not4sale
Next task is to get it to send basic (e.g. interface/version) requests and display both the request and acknowledgment packets in the grid.

Re: FreeEMS Tuner development diary

Posted: Fri Oct 24, 2008 12:42 am
by sry_not4sale
It has python bindings and can be embedded and interacted with from what I have read/seen. Here it is running from python on my machine:

Image


If I can't embed it into wxPython, an alternative is Matplotlib
http://www.scipy.org/Cookbook/Matplotlib/mplot3D

Re: FreeEMS-Tuner Development Diary - Don't Post!

Posted: Mon Oct 27, 2008 9:05 pm
by sry_not4sale
Well, progress has stopped as I have joined the club of broken laptops. Had the same problem with it before tho so should have it fixed pretty quick.

Re: FreeEMS-Tuner Development Diary - Don't Post!

Posted: Tue Oct 28, 2008 8:47 pm
by sry_not4sale
2008-10-29

- Most of the FreeEMS protocol library is complete - pretty much all the code is there to send interface/firmware version requests
- The UI is now loading its layout from a customisable file (see http://www.diyefi.org/forum/viewtopic.php?f=43&t=474)

Next is to set up the serial / debugging modules - I have set up a "comms" interface that can be either for debugging, serial, or the java messaging service. Just need to fill in the logic now.

Re: FreeEMS-Tuner Development Diary - Don't Post!

Posted: Tue Oct 28, 2008 10:18 pm
by sry_not4sale
Config and data files are now implemented.

Re: FreeEMS-Tuner Development Diary - Don't Post!

Posted: Wed Oct 29, 2008 9:14 pm
by sry_not4sale
Logging to terminal, and file now works!!

Oh, and serial is go!

Re: FreeEMS-Tuner Development Diary - Don't Post!

Posted: Sat Nov 01, 2008 4:46 am
by sry_not4sale
Pluggable comms backends are implemented. Built the serial plugin including error handling, and have been testing it on a virtual serial port.

Implemented the watcher pattern for comms, which lets the gui elements monitor packets.

Built up the interface utility packet classes, have a few more bits to implement - but not far now!

Could have had a working example running, but have been thinking of the future as I go and making it extensible as possible :mrgreen:

Re: FreeEMS-Tuner Development Diary - Don't Post!

Posted: Tue Nov 04, 2008 8:33 pm
by sry_not4sale
Preparing the code for release after Fred tests!!! :D

Gui now updates showing sent packets (does not recieve packets yet)

Hardware Reset button in gui

All interface utility packets implemented!