From 4306e943e175f6973670e901bf8e51db4df9f82e Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 7 Oct 2024 00:26:22 +0000 Subject: [PATCH] style(pre-commit): autofix --- .../lib/tracker/motion_model/ctrv_motion_model.cpp | 2 +- vehicle/autoware_accel_brake_map_calibrator/README.md | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/perception/autoware_multi_object_tracker/lib/tracker/motion_model/ctrv_motion_model.cpp b/perception/autoware_multi_object_tracker/lib/tracker/motion_model/ctrv_motion_model.cpp index 6f63ecbdce06d..700800e94ecd5 100644 --- a/perception/autoware_multi_object_tracker/lib/tracker/motion_model/ctrv_motion_model.cpp +++ b/perception/autoware_multi_object_tracker/lib/tracker/motion_model/ctrv_motion_model.cpp @@ -276,7 +276,7 @@ bool CTRVMotionModel::predictStateStep(const double dt, KalmanFilter & ekf) cons Eigen::MatrixXd X_next_t(DIM, 1); // predicted state X_next_t(IDX::X) = X_t(IDX::X) + X_t(IDX::VEL) * cos_yaw * dt; // dx = v * cos(yaw) X_next_t(IDX::Y) = X_t(IDX::Y) + X_t(IDX::VEL) * sin_yaw * dt; // dy = v * sin(yaw) - X_next_t(IDX::YAW) = X_t(IDX::YAW) + (X_t(IDX::WZ)) * dt; // dyaw = omega + X_next_t(IDX::YAW) = X_t(IDX::YAW) + (X_t(IDX::WZ))*dt; // dyaw = omega X_next_t(IDX::VEL) = X_t(IDX::VEL); X_next_t(IDX::WZ) = X_t(IDX::WZ); diff --git a/vehicle/autoware_accel_brake_map_calibrator/README.md b/vehicle/autoware_accel_brake_map_calibrator/README.md index 024c8059a169e..a85e7de98a3ef 100644 --- a/vehicle/autoware_accel_brake_map_calibrator/README.md +++ b/vehicle/autoware_accel_brake_map_calibrator/README.md @@ -212,10 +212,11 @@ Update by Recursive Least Squares(RLS) method using data close enough to each gr #### Parameters Data selection is determined by the following thresholds. -| Name | Default Value | + +| Name | Default Value | | ----------------------- | ------------- | -| velocity_diff_threshold | 0.556 | -| pedal_diff_threshold | 0.03 | +| velocity_diff_threshold | 0.556 | +| pedal_diff_threshold | 0.03 | #### Update formula