additional condition to avoid short simulation intervals.
if disengaged and the braking interval is pretty short (due to a slight decrease in target speed), start braking one simulation interval earlier instead of driving exactly to the point where braking starts and then have a pretty short interval of braking (<0.05s)
Please register or sign in to comment