Skip to content

Commit

Permalink
Update control/pid_longitudinal_controller/src/pid_longitudinal_contr…
Browse files Browse the repository at this point in the history
…oller.cpp

Co-authored-by: Takayuki Murooka <takayuki5168@gmail.com>
  • Loading branch information
soblin and takayuki5168 authored Feb 13, 2024
1 parent d6bb81f commit 99833cd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ PidLongitudinalController::ControlData PidLongitudinalController::getControlData
current_interpolated_pose.first);
control_data.nearest_idx = current_interpolated_pose.second + 1;
control_data.target_idx = control_data.nearest_idx;
auto nearest_point = current_interpolated_pose.first;
const auto nearest_point = current_interpolated_pose.first;
auto target_point = current_interpolated_pose.first;

// check if the deviation is worth emergency
Expand Down

0 comments on commit 99833cd

Please sign in to comment.