Skip to content

Commit f6ec10f

Browse files
committed
correct a typo
Signed-off-by: Zhe Shen <lucidshenzhe@gmail.com>
1 parent 7e170bf commit f6ec10f

File tree

1 file changed

+1
-1
lines changed
  • control/mpc_lateral_controller/src

1 file changed

+1
-1
lines changed

control/mpc_lateral_controller/src/mpc.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ void MPC::setReferenceTrajectory(
244244

245245
void MPC::resetPrevResult(const SteeringReport & current_steer)
246246
{
247-
// Consider limit. The prev value larger than limitation brakes the optimization constraint and
247+
// Consider limit. The prev value larger than limitation breaks the optimization constraint and
248248
// results in optimization failure.
249249
const float steer_lim_f = static_cast<float>(m_steer_lim);
250250
m_raw_steer_cmd_prev = std::clamp(current_steer.steering_tire_angle, -steer_lim_f, steer_lim_f);

0 commit comments

Comments
 (0)