Skip to content

Commit

Permalink
style(pre-commit): autofix
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Feb 1, 2024
1 parent fb5dbb0 commit 65c1762
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -519,8 +519,8 @@ PidLongitudinalController::ControlData PidLongitudinalController::getControlData
// NOTE: getPitchByTraj() calculates the pitch angle as defined in
// ../media/slope_definition.drawio.svg while getPitchByPose() is not, so `raw_pitch` is reversed
const double raw_pitch = (-1.0) * longitudinal_utils::getPitchByPose(current_pose.orientation);
const double traj_pitch =
longitudinal_utils::getPitchByTraj(control_data.interpolated_traj, control_data.target_idx, m_wheel_base);
const double traj_pitch = longitudinal_utils::getPitchByTraj(
control_data.interpolated_traj, control_data.target_idx, m_wheel_base);

if (m_slope_source == SlopeSource::RAW_PITCH) {
control_data.slope_angle = m_lpf_pitch->filter(raw_pitch);
Expand Down

0 comments on commit 65c1762

Please sign in to comment.