We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e170bf commit f6ec10fCopy full SHA for f6ec10f
control/mpc_lateral_controller/src/mpc.cpp
@@ -244,7 +244,7 @@ void MPC::setReferenceTrajectory(
244
245
void MPC::resetPrevResult(const SteeringReport & current_steer)
246
{
247
- // Consider limit. The prev value larger than limitation brakes the optimization constraint and
+ // Consider limit. The prev value larger than limitation breaks the optimization constraint and
248
// results in optimization failure.
249
const float steer_lim_f = static_cast<float>(m_steer_lim);
250
m_raw_steer_cmd_prev = std::clamp(current_steer.steering_tire_angle, -steer_lim_f, steer_lim_f);
0 commit comments