One more MS user and a few questions
Posted: Tue Oct 21, 2014 12:29 am
Hi guys,
I've already posted a bit but I thought I would make a proper introduction
First, let me start by saying that I really like this project. I'm currently running a MegaSquirt 3 / MS3X in my summer car and I'm a developer. Mainly Web developer these days but I'm doing a lot of Java (Android app) in my spare time as well as C/C++. I've came up with all sort of devices to "talk" with the MS from Android app to Arduino based touch screen LCD thingy to 2 1/4 gauge and what not. What I've never really dived into is the firmware side of thing mainly because I think the MS code is so poorly written that I don't even want to get myself into this non-sense. A 2000 lines function with goto everywhere shouldn't exists in any project IMO. Part of the reason is probably the over optimization based on the hardware that isn't what it should be. Better hardware with more room for less optimized code is probably a better idea, again in my opinion. I've looked at DIYEFI as well but long story short, I can't stand that Fred guy
And the code is better than MS, but still not good enough for me. Andrey, you seems like a really nice guy and I really like what I'm seeing so far with this project.
Now, I have a few questions:
1- It would be cool if the documentation could include actual code examples. For example, it would be cool to have an example of bringing an hard coded value to an exposed tuning setting in TS. I've seen you've added the cylinder cleanup feature recently for when TPS > 95%, no fuel is injected. At the very least, that 95% should be a define somewhere but even better, I would like to expose that 95% in the cranking stuff dialog in TS. It's a bit hard to understand the flow to make that happen. Maybe a code diff of extracting a setting like that would be useful. People could use that generic example to help them understand the whole flow. The ini part of it is no problem for me as I've done a couple MS apps, I know the format pretty well (I can help build dialogs btw, if you have anything you need in mind).
2- I haven't looked at it too much but I can't seems to find any "how-to" and for some reason I'm having issue understand how to compile java console with Eclipse ? It seems like every folder has a "src" folder which is something I haven't really seen before. I've tried a couple way of importing that with Eclipse without any luck.
3- Is warmup enrichment / after start enrichment planned for a near future ? I don't see them in the "tickets list". It seems somewhat straight forward. We just need a couple curves (array) and basic interpolation and include that in the fuel calculation.
4- Is there support or is it planned to add support for GMDIS ? I'm using "Basic trigger" and a 60 degree angle offset with MegaSquirt right now.
I still strongly believe this project really belongs on github (with proper forking / pull requests mechanism and what not). It's somewhat there but used more as a mirror with the "auto-sync" stuff, so it's not easy to follow
Anyway, enough complaining, awesome and interesting project!
I've already posted a bit but I thought I would make a proper introduction

First, let me start by saying that I really like this project. I'm currently running a MegaSquirt 3 / MS3X in my summer car and I'm a developer. Mainly Web developer these days but I'm doing a lot of Java (Android app) in my spare time as well as C/C++. I've came up with all sort of devices to "talk" with the MS from Android app to Arduino based touch screen LCD thingy to 2 1/4 gauge and what not. What I've never really dived into is the firmware side of thing mainly because I think the MS code is so poorly written that I don't even want to get myself into this non-sense. A 2000 lines function with goto everywhere shouldn't exists in any project IMO. Part of the reason is probably the over optimization based on the hardware that isn't what it should be. Better hardware with more room for less optimized code is probably a better idea, again in my opinion. I've looked at DIYEFI as well but long story short, I can't stand that Fred guy

Now, I have a few questions:
1- It would be cool if the documentation could include actual code examples. For example, it would be cool to have an example of bringing an hard coded value to an exposed tuning setting in TS. I've seen you've added the cylinder cleanup feature recently for when TPS > 95%, no fuel is injected. At the very least, that 95% should be a define somewhere but even better, I would like to expose that 95% in the cranking stuff dialog in TS. It's a bit hard to understand the flow to make that happen. Maybe a code diff of extracting a setting like that would be useful. People could use that generic example to help them understand the whole flow. The ini part of it is no problem for me as I've done a couple MS apps, I know the format pretty well (I can help build dialogs btw, if you have anything you need in mind).
2- I haven't looked at it too much but I can't seems to find any "how-to" and for some reason I'm having issue understand how to compile java console with Eclipse ? It seems like every folder has a "src" folder which is something I haven't really seen before. I've tried a couple way of importing that with Eclipse without any luck.
3- Is warmup enrichment / after start enrichment planned for a near future ? I don't see them in the "tickets list". It seems somewhat straight forward. We just need a couple curves (array) and basic interpolation and include that in the fuel calculation.
4- Is there support or is it planned to add support for GMDIS ? I'm using "Basic trigger" and a 60 degree angle offset with MegaSquirt right now.
I still strongly believe this project really belongs on github (with proper forking / pull requests mechanism and what not). It's somewhat there but used more as a mirror with the "auto-sync" stuff, so it's not easy to follow
