From bcda78431b2abb67c5162bd1f6012e57556135cf Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 28 Aug 2023 12:27:57 +0000 Subject: [PATCH] style(pre-commit): autofix --- .../src/pid_longitudinal_controller.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/control/pid_longitudinal_controller/src/pid_longitudinal_controller.cpp b/control/pid_longitudinal_controller/src/pid_longitudinal_controller.cpp index 4b4aaed8455cf..14ff658913ce3 100644 --- a/control/pid_longitudinal_controller/src/pid_longitudinal_controller.cpp +++ b/control/pid_longitudinal_controller/src/pid_longitudinal_controller.cpp @@ -518,12 +518,12 @@ PidLongitudinalController::Motion PidLongitudinalController::calcEmergencyCtrlCm void PidLongitudinalController::updateControlState(const ControlData & control_data) { -// const double target_vel = -// control_data.interpolated_traj.points.at(control_data.target_idx).longitudinal_velocity_mps; + // const double target_vel = + // control_data.interpolated_traj.points.at(control_data.target_idx).longitudinal_velocity_mps; const double target_acc = control_data.interpolated_traj.points.at(control_data.target_idx).acceleration_mps2; const double vel_after_delay = control_data.state_after_delay.vel; -// const double acc_after_delay = control_data.state_after_delay.acc; + // const double acc_after_delay = control_data.state_after_delay.acc; const double stop_dist = control_data.stop_dist; // flags for state transition