mirror of
https://jihulab.com/mr-one/openpilot.git
synced 2026-10-27 04:53:44 +08:00
580f836249
The cruise speed limit is now applied in the planner instead of as a fake obstacle inside the MPC. The MPC only plans around lead obstacles, and the planner applies a rate-limited cruise acceleration limit. - long_mpc.py: remove v_cruise param, cruise obstacle, CRUISE_*_ACCEL constants, and cruise from MPC_SOURCES - longitudinal_planner.py: apply rate-limited cruise acceleration limit outside the MPC and take the min with the MPC output