From 54c820207c1ed4b0a485e7267aea4fadf19b84d6 Mon Sep 17 00:00:00 2001 From: lanyongshun Date: Thu, 23 May 2024 14:49:04 +0800 Subject: [PATCH] fix: lint issue of 'lat_controller_test.cc' --- .../lat_based_lqr_controller/lat_controller_test.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/control/controllers/lat_based_lqr_controller/lat_controller_test.cc b/modules/control/controllers/lat_based_lqr_controller/lat_controller_test.cc index 979dcfd242..38c1b4b51d 100644 --- a/modules/control/controllers/lat_based_lqr_controller/lat_controller_test.cc +++ b/modules/control/controllers/lat_based_lqr_controller/lat_controller_test.cc @@ -52,7 +52,8 @@ class LatControllerTest : public ::testing::Test, LatController { SimpleLateralDebug *debug, const canbus::Chassis *chassis) { LatController::ComputeLateralErrors(x, y, theta, linear_v, angular_v, - linear_a, trajectory_analyzer, debug, chassis); + linear_a, trajectory_analyzer, debug, + chassis); } protected: @@ -105,7 +106,8 @@ TEST_F(LatControllerTest, ComputeLateralErrors) { ComputeLateralErrors( vehicle_state->x(), vehicle_state->y(), vehicle_state->heading(), vehicle_state->linear_velocity(), vehicle_state->angular_velocity(), - vehicle_state->linear_acceleration(), trajectory_analyzer, debug, &chassis_pb); + vehicle_state->linear_acceleration(), trajectory_analyzer, debug, + &chassis_pb); double theta_error_expected = -0.03549; double theta_error_dot_expected = 0.0044552856731;