Notices
Vishnu Performance - California [Visit Site]

pyXede: public release

 
Thread Tools
 
Search this Thread
 
Old Aug 21, 2005 | 07:21 AM
  #76  
donour's Avatar
Thread Starter
Evolved Member
iTrader: (6)
 
Joined: May 2004
Posts: 2,502
Likes: 1
From: Tennessee, USA
Originally Posted by MAX711
Is it possible to program pyXede so that it could adjust the values of individual cells in the tuning maps in the Xede, through the comm port? In XMap you can change a value and it takes effect right away, so obviously the value is passed through the serial port to the Xede in real time, right? So here's where I'm going with this. Imagine doing a DynoRun in pyXede and then have it compared to a "base" run. pyXede would then compare the 2 runs to see if the HP/Torque increased or decreased. It could then send some map changes (like leaning the fuel map, for instance) and then pull another Dyno run to see if the changes made things better or worse. If the HP increased, this would become your new "base" run and the next run would be compared to it. If the HP was less, then it would discard that run and make make fuel adjustments in the opposite (richer) direction. So as a user, all you would do is keep doing full throttle 3rd gear runs from 2,000 ish rpm over and over again untill pyXede had found the maximum HP settings, that now becomes your new fuel map!. I know it's not that simple, but in theory it might work? It's no different than multiple dyno runs except you can do it on the street and it makes adjustments automatically. Obviously you'd have to set some parameters so it didn't go too lean or advance timing too much. Any thoughts, anyone?
Yes this is probably possible and already in the long term plan for pyXede. Shiv and I have already discussed a future where you can leave the datalogger running for a couple of days, then feed the logs to pyXede. You could then get a suggestions on how to adjust your map for better performance.

The import concept from your idea is that it'll make small relatively small changes over the virtual contiuum of tuning states. You could probably abstract the whole thing to some kind of linear optimization problem with the sensor readings as input. Then all you would have to is feed the datalogs to any number of free solver programs and say "solve it".

That being said, pyXede doesn't support map downloading/uploading/editing yet. I've asked Chiptorque repeatedly for the protocol for the map stuff. They are a little guarded about it because of their password function. They've expressed concern that if I had access to the full protocol I'd be able to break bypass the passwords easily. I don't know, as I've not seen it. Anyway people probably realize, this project advances in little spurts. I had a nice little productive period in july. Now I'm going back to school and got recruited for a big new project*.

donour

* For those you you interesed, I got hoodwinked into porting IBM's K42 operating system to 64bit X86 systems (i.e. opteron + EMT64). That's the whole thing; bring up, bootloading, memory management. Luckily the codebase supports linux device drivers, but still...
Old Feb 9, 2006 | 05:17 PM
  #77  
donour's Avatar
Thread Starter
Evolved Member
iTrader: (6)
 
Joined: May 2004
Posts: 2,502
Likes: 1
From: Tennessee, USA
When hell is full, the dead threads will walk the earth....

Anyway. For those of you interested, I just posted a maintenance release to the sourceforge download site; aptly named v1.51 .This should fix a couple of problems folks were having with high speed logging. The SF site seems to be down at the moment, but keeping trying it.

The hardcore data analysis stuff still isn't in the codebase yet as it has been built as a seperate application, but it has neat features like "find noise ceiling". I haven't reverse engineered the mapping protocol yet either. The Xede is such a moving target :-p

d
Old Feb 13, 2006 | 07:39 AM
  #78  
chrisw's Avatar
Evolved Member
iTrader: (2)
 
Joined: Mar 2003
Posts: 2,217
Likes: 0
From: Santa Cruz
so I tried the latest update.

It crashes python...

I can connect to the Xede, but when I attempt to generate a datalog for anything, dyno run or just to see if it works, I get an IO_ARRAY_ERROR or something like that.

I can generate some error logs if you want.
Old Feb 13, 2006 | 08:59 AM
  #79  
donour's Avatar
Thread Starter
Evolved Member
iTrader: (6)
 
Joined: May 2004
Posts: 2,502
Likes: 1
From: Tennessee, USA
Originally Posted by chrisw
so I tried the latest update.

It crashes python...

I can connect to the Xede, but when I attempt to generate a datalog for anything, dyno run or just to see if it works, I get an IO_ARRAY_ERROR or something like that.

I can generate some error logs if you want.
Yeah, email an error log to me.

By the way, which version of the xede firmware are you using?

d
Old Feb 13, 2006 | 09:46 AM
  #80  
chrisw's Avatar
Evolved Member
iTrader: (2)
 
Joined: Mar 2003
Posts: 2,217
Likes: 0
From: Santa Cruz
Originally Posted by donour
Yeah, email an error log to me.

By the way, which version of the xede firmware are you using?

d
I am using the very latest, it's only been in the car for a couple of weeks now.

I will try to get the logs to you this week. I have a very busy schedule which I am already late on...

I have not tried to do any debugging yet, didn't have the time. I will do some more when I get you the error logs.
Old Feb 18, 2006 | 08:34 PM
  #81  
chrisw's Avatar
Evolved Member
iTrader: (2)
 
Joined: Mar 2003
Posts: 2,217
Likes: 0
From: Santa Cruz
so I got a chance to debug my problem. I got the software to work, but the graphing module is unreliable.

If I launch a road dyno session, it will crash the app, forcing me to kill the python shell.

I can run the dyno analysis tool, but it won't always work and often crashes the python environment. I don't think it's anything within your modules.

wx.gui - v1.13
pyxede - 1.11
dyno.py - 1.10
gnuplot..py - 1.1.1.1
rpmplot.py- 1.5

python 2.4.1
Old Mar 8, 2006 | 06:06 PM
  #82  
trinydex's Avatar
Evolved Member
iTrader: (12)
 
Joined: Jan 2004
Posts: 6,072
Likes: 8
From: not here
so are there any new developements with pyxede?

is pyxede ever going to be fully integrated into xede software?
Old Mar 8, 2006 | 06:42 PM
  #83  
donour's Avatar
Thread Starter
Evolved Member
iTrader: (6)
 
Joined: May 2004
Posts: 2,502
Likes: 1
From: Tennessee, USA
Originally Posted by trinydex
so are there any new developements with pyxede?
I did some work to get it running on the new Intel Macs, but I doubt that very many people care about that.

is pyxede ever going to be fully integrated into xede software?
Highly unlikely. I don't think that chiptorque is very interested. Plus, the whole point of pyxede is that it runs on Macs and Linux.

d
 
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
nj1266
ECU Flash
875
Jan 25, 2026 01:43 AM
XTR Performance
EvoX 'For Sale' Electronics / Lighting / Audio
71
Aug 30, 2012 10:53 AM
HiVoltEVO8
Vendor Service / Parts / Tuning Review
49
May 11, 2006 11:50 AM
theory
Lancer Troubleshooting
2
Oct 30, 2004 03:46 PM




All times are GMT -7. The time now is 11:12 PM.