Modified the acceleration and deceleration smoothing logic in longcontrol.py to dynamically adjust the rate of acceleration change based on deceleration urgency. This enhances responsiveness during urgent braking scenarios while maintaining smooth acceleration.
Generated by Copilot
(cherry picked from commit f6cbb584a3420b2f27af3c911106f34f43aa3549)
(cherry picked from commit ccf722452e61bb62869d2d6885c0679d9ffa2c8f)