This is in conjunction and addition to my rev match down shift code. It ignores the flat shift hard rev limit setting and calculates the "proper" rpm on the fly. This is in the do_launch function of the 1.3.2 code. I haven't tested this yet and it assumes a few things like vss enabled and proper gear calculation ect.
Here is a datalog of this working. The biggest issue I has right now is it messes with my boost control setup. I would think a dual option for set rpm or calculated rpm would be good. Also I'm adding 200rpm to the calculated rpm and I don't know if that is best yet.
I really haven't drove and tested this much because of winter but now spring is here and I'm getting back to it. Again, because of my turbo, I need to set the rpm difference pretty high to keep revs up to keep the turbo spooled up.
hard_lim = (unsigned int)(((ram4.gear_ratio[outpc.gear - 1] * (unsigned long)outpc.vss1 * gear_scale) / 10000) + ram4.flats_hrd); // last addition is to bump up rpm for smoother shift.
I changed the rpm addition to that flat shift hard limit field in tunerstudio launch control. That way I can easily change the offset. I think if my engine wasn't turboed the rpm offset would be around 200-300.