Skip to content

Commit

Permalink
control: minor fix in lat_controller
Browse files Browse the repository at this point in the history
  • Loading branch information
sjiang2018 authored and xiaoxq committed Nov 7, 2019
1 parent 9ef8373 commit f565994
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/control/controller/lat_controller.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit f565994

Please sign in to comment.