From fb6260699d66171b7ce07861406fbb3b5fd580cf Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 10 Nov 2023 15:39:02 +0000 Subject: [PATCH] style(pre-commit): autofix --- .../src/longitudinal_controller_utils.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/control/pid_longitudinal_controller/src/longitudinal_controller_utils.cpp b/control/pid_longitudinal_controller/src/longitudinal_controller_utils.cpp index aa553e6f8f36f..ac78320227e63 100644 --- a/control/pid_longitudinal_controller/src/longitudinal_controller_utils.cpp +++ b/control/pid_longitudinal_controller/src/longitudinal_controller_utils.cpp @@ -205,7 +205,8 @@ TrajectoryPoint getExtendTrajectoryPoint( TrajectoryPoint extend_trajectory_point; extend_trajectory_point.pose = extend_pose; - // TODO[someone]: Transform functions creates point at inverse Z direction for non-zero pitch value + // TODO[someone]: Transform functions creates point at inverse Z direction for non-zero pitch + // value extend_trajectory_point.pose.position.z = 2 * goal_point.pose.position.z - extend_pose.position.z; extend_trajectory_point.longitudinal_velocity_mps = goal_point.longitudinal_velocity_mps; extend_trajectory_point.lateral_velocity_mps = goal_point.lateral_velocity_mps;