Speedy_Acc
Newbie
Karma: +0/-0
Offline
Posts: 11
|
|
« on: May 05, 2020, 06:32:17 PM »
|
|
|
Alright, since I was not able to find anymore info about rolling antilag I decided to start a thread and make one. General idea is to re-use the current nef als/nls map. Logic behind the rolling antilag map would be as follows : Cruise control off, switch up (+), floor the gas, recall "launch control" function, set launch rpm to current rpm. I'm having trouble finding the cruise control switch address so if anyone has some input and would like to add to the "re" development of the map, please post here!
|
|
|
Logged
|
|
|
|
bamofo
|
|
« Reply #1 on: May 06, 2020, 09:35:47 AM »
|
|
|
Alright, since I was not able to find anymore info about rolling antilag I decided to start a thread and make one. General idea is to re-use the current nef als/nls map. Logic behind the rolling antilag map would be as follows : Cruise control off, switch up (+), floor the gas, recall "launch control" function, set launch rpm to current rpm. I'm having trouble finding the cruise control switch address so if anyone has some input and would like to add to the "re" development of the map, please post here! ME7info your ECU file and you will see the Cruise Master Switch. Thats the one you want to add to your ASM code.
|
|
|
Logged
|
|
|
|
bamofo
|
|
« Reply #2 on: May 06, 2020, 06:16:13 PM »
|
|
|
I’ve been around the Fb groups for a couple years already. Recently started posting on nef tho.
If you still cant find it share your rom here and ill give you the address
|
|
|
Logged
|
|
|
|
Speedy_Acc
Newbie
Karma: +0/-0
Offline
Posts: 11
|
|
« Reply #3 on: May 06, 2020, 06:20:28 PM »
|
|
|
If you still cant find it share your rom here and ill give you the address
I’ll have a look in about 30 min. Its an mbox 2.7 file.
|
|
|
Logged
|
|
|
|
Speedy_Acc
Newbie
Karma: +0/-0
Offline
Posts: 11
|
|
« Reply #4 on: May 06, 2020, 07:12:40 PM »
|
|
|
Alright so cruise control up should be the following address : S_fgrhs but it might also be a couple other options, see attached picture.
|
|
|
Logged
|
|
|
|
bamofo
|
|
« Reply #5 on: May 06, 2020, 07:14:36 PM »
|
|
|
Alright so cruise control up should be the following address : S_fgrhs but it might also be a couple other options, see attached picture.
Now go in your .ecu file and find the actual address that’s the variable name.
|
|
|
Logged
|
|
|
|
Speedy_Acc
Newbie
Karma: +0/-0
Offline
Posts: 11
|
|
« Reply #6 on: May 06, 2020, 07:19:04 PM »
|
|
|
My mistake, here it is.
|
|
|
Logged
|
|
|
|
Speedy_Acc
Newbie
Karma: +0/-0
Offline
Posts: 11
|
|
« Reply #7 on: May 06, 2020, 10:15:04 PM »
|
|
|
Did some more digging and I came up with this pseudo code based on Setzi62's code.
goes as follows: "updated code"
// Rolling Antilag { if (S_fgrat = 0 && S_fgrwb = 1 && wped > AccPedalThreshold) { // NoLiftShift is active if (counter_NoLiftShift < IgnitionCutDuration) { vziel_w = vfil_w // Hold speed tsrldyn = 0; // Interrupt ignition counter_NoLiftShift++; } } else { // Other conditions not true, don't allow ignition interruption // until cruise is released and pressed again counter_NoLiftShift = 0xFFFF;
where S_fgrat is the on off switch for the cruise stalk and S_fgrwb is the + on the cruise stalk and vziel_w is the target speed of cruise control. I am thinking of re-using the cut duration time or create a 2nd entry to adjust the jerking and bogging during the rolling antilag. As for the using "vziel_w" I don't know if the car will actually hold its speed through this function. The next step after finalizing the pseudo code would be to actually write it.
These are the addresses for each cruise control stalk options on an 2.7 Mbox : vziel_w , {TargetSpeedCruiseControl} , 0x382088, 2, 0x0000, {km/h} , 0, 0, 0.0078125, 0, {Zielgeschwindigkeit FGR}
S_fgrat , {SwitchOffTipCruiseControl} , 0x00FD86, 2, 0x0001, {} , 0, 0, 1, 0, {Schalter Aus-Tip am FGR-Bedienhebelschalter}
S_fgrhs , {MainSwitchCruiseControl} , 0x00FD86, 2, 0x0002, {} , 0, 0, 1, 0, {Hauptschalter am FGR-Bedienhebel}
S_fgrsv , {TipSetDecCruiseControl} , 0x00FD86, 2, 0x0004, {} , 0, 0, 1, 0, {Schalter Setzen/Verzögern am FGR-Bedienhebel}
S_fgrwb , {TipResetAccCruiseControl} , 0x00FD86, 2, 0x0008, {} , 0, 0, 1, 0, {Schalter Wiederaufnahme/Beschleunigen am FGR-Bedienhebel}
Anyone has some more input?
|
|
« Last Edit: May 09, 2020, 01:04:18 PM by Speedy_Acc »
|
Logged
|
|
|
|
nyet
|
|
« Reply #8 on: May 06, 2020, 10:43:35 PM »
|
|
|
Deserves a thread. Thank you for bringing this topic from the dregs to something real.
|
|
|
Logged
|
ME7.1 tuning guideECUx PlotME7Sum checksumTrim heatmap toolPlease do not ask me for tunes. I'm here to help people make their own. Do not PM me technical questions! Please, ask all questions on the forums! Doing so will ensure the next person with the same issue gets the opportunity to learn from your ex
|
|
|
fknbrkn
Hero Member
Karma: +185/-21
Offline
Posts: 1443
mk4 1.8T AUM
|
|
« Reply #9 on: May 06, 2020, 11:43:06 PM »
|
|
|
Iirc cc buttons are always false when the main switch turned off So this might be a problem
As for the vziel_w Do you want to hold speed by the closing tb and launching same time? And why are you placed this equation inside the main thread? I believe you want to hold speed that was in the moment you push the button and not every cycle after it Even if vziel doesn't reset in main code, you came to accelerating car with raised vziel and probably some jerking until counter have reached. And what after? Where is the counter reset?
This code won't work
|
|
|
Logged
|
|
|
|
bamofo
|
|
« Reply #10 on: May 07, 2020, 06:45:34 AM »
|
|
|
Did some more digging and I came up with this pseudo code based on Setzi62's code.
goes as follows:
// Rolling Antilag { if (S_fgrat = 0 && S_fgrwb = 1 && wped > AccPedalThreshold) { // NoLiftShift is active if (counter_NoLiftShift < IgnitionCutDuration) { vziel_w = vfil_w // Hold speed tsrldyn = 0; // Interrupt ignition counter_NoLiftShift++; } }
where S_fgrat is the on off switch for the cruise stalk and S_fgrwb is the + on the cruise stalk and vziel_w is the target speed of cruise control. I am thinking of re-using the cut duration time or create a 2nd entry to adjust the jerking and bogging during the rolling antilag. As for the using "vziel_w" I don't know if the car will actually hold its speed through this function. The next step after finalizing the pseudo code would be to actually write it.
These are the addresses for each cruise control stalk options on an 2.7 Mbox : vziel_w , {TargetSpeedCruiseControl} , 0x382088, 2, 0x0000, {km/h} , 0, 0, 0.0078125, 0, {Zielgeschwindigkeit FGR}
S_fgrat , {SwitchOffTipCruiseControl} , 0x00FD86, 2, 0x0001, {} , 0, 0, 1, 0, {Schalter Aus-Tip am FGR-Bedienhebelschalter}
S_fgrhs , {MainSwitchCruiseControl} , 0x00FD86, 2, 0x0002, {} , 0, 0, 1, 0, {Hauptschalter am FGR-Bedienhebel}
S_fgrsv , {TipSetDecCruiseControl} , 0x00FD86, 2, 0x0004, {} , 0, 0, 1, 0, {Schalter Setzen/Verzögern am FGR-Bedienhebel}
S_fgrwb , {TipResetAccCruiseControl} , 0x00FD86, 2, 0x0008, {} , 0, 0, 1, 0, {Schalter Wiederaufnahme/Beschleunigen am FGR-Bedienhebel}
Anyone has some more input?
Ive been able to disable/enable with the S_fgrhs @ FD86. I havent changed it to adjust for rolling. Why do you want to have it adjustable? We could update this for an on/off with a higher rolling speed, or are you trying to turn this on for rolling at higher MPH/KPH.
|
|
|
Logged
|
|
|
|
Speedy_Acc
Newbie
Karma: +0/-0
Offline
Posts: 11
|
|
« Reply #11 on: May 07, 2020, 07:36:43 AM »
|
|
|
Ive been able to disable/enable with the S_fgrhs @ FD86. I havent changed it to adjust for rolling. Why do you want to have it adjustable? We could update this for an on/off with a higher rolling speed, or are you trying to turn this on for rolling at higher MPH/KPH.
I’m trying to make it happen at high speed! Use rolling antilag vs brake boosting.
|
|
|
Logged
|
|
|
|
Speedy_Acc
Newbie
Karma: +0/-0
Offline
Posts: 11
|
|
« Reply #12 on: May 07, 2020, 07:37:40 AM »
|
|
|
Iirc cc buttons are always false when the main switch turned off So this might be a problem
As for the vziel_w Do you want to hold speed by the closing tb and launching same time? And why are you placed this equation inside the main thread? I believe you want to hold speed that was in the moment you push the button and not every cycle after it Even if vziel doesn't reset in main code, you came to accelerating car with raised vziel and probably some jerking until counter have reached. And what after? Where is the counter reset?
This code won't work
Thanks for the input, I’ll do some more digging!
|
|
|
Logged
|
|
|
|
Speedy_Acc
Newbie
Karma: +0/-0
Offline
Posts: 11
|
|
« Reply #13 on: May 07, 2020, 08:18:59 AM »
|
|
|
I’m trying to make it happen at whatever speed! Basically switch cruise on, function calls launch control and holds curent speed.
|
|
|
Logged
|
|
|
|
bamofo
|
|
« Reply #14 on: May 07, 2020, 11:15:57 AM »
|
|
|
Interesting. Can you share the rom and the work you have so far? I can help but i cant guarantee I'm anywhere as good as the other people here. Gremlin made me re-Learn ASM and a ton of other junk so i have all this useless knowledge now i dont mind helping with.
|
|
|
Logged
|
|
|
|
|