From f5659945a6b56130febf41eb0b5ca5689f0b00e0 Mon Sep 17 00:00:00 2001 From: sjiang2018 Date: Tue, 5 Nov 2019 17:27:07 -0800 Subject: [PATCH] control: minor fix in lat_controller --- modules/control/controller/lat_controller.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/control/controller/lat_controller.cc b/modules/control/controller/lat_controller.cc index 54ed7592866..c896df984e3 100644 --- a/modules/control/controller/lat_controller.cc +++ b/modules/control/controller/lat_controller.cc @@ -526,7 +526,7 @@ Status LatController::ComputeControlCommand( steer_angle = pre_steer_angle_; } - // Set the steer commonds + // Set the steer commands cmd->set_steering_target(common::math::Clamp( steer_angle, pre_steer_angle_ - steer_diff_with_max_rate, pre_steer_angle_ + steer_diff_with_max_rate));