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 Oct 7, 2024
1 parent bb8d254 commit 4306e94
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
7 changes: 4 additions & 3 deletions vehicle/autoware_accel_brake_map_calibrator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 4306e94

Please sign in to comment.