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 Jun 13, 2024
1 parent 7537210 commit f8399e8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ autoware_perception_msgs::msg::DetectedObject BicycleTracker::getUpdatingObject(
const double sin_yaw = std::sin(pose_yaw);
const double sin_2yaw = std::sin(2.0 * pose_yaw);
pose_cov[XYZRPY_COV_IDX::X_X] =
r_cov_x * cos_yaw * cos_yaw + r_cov_y * sin_yaw * sin_yaw; // x - x
r_cov_x * cos_yaw * cos_yaw + r_cov_y * sin_yaw * sin_yaw; // x - x
pose_cov[XYZRPY_COV_IDX::X_Y] = 0.5 * (r_cov_x - r_cov_y) * sin_2yaw; // x - y
pose_cov[XYZRPY_COV_IDX::Y_Y] =
r_cov_x * sin_yaw * sin_yaw + r_cov_y * cos_yaw * cos_yaw; // y - y
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ autoware_perception_msgs::msg::DetectedObject BigVehicleTracker::getUpdatingObje
const double sin_yaw = std::sin(pose_yaw);
const double sin_2yaw = std::sin(2.0 * pose_yaw);
pose_cov[XYZRPY_COV_IDX::X_X] =
r_cov_x * cos_yaw * cos_yaw + r_cov_y * sin_yaw * sin_yaw; // x - x
r_cov_x * cos_yaw * cos_yaw + r_cov_y * sin_yaw * sin_yaw; // x - x
pose_cov[XYZRPY_COV_IDX::X_Y] = 0.5 * (r_cov_x - r_cov_y) * sin_2yaw; // x - y
pose_cov[XYZRPY_COV_IDX::Y_Y] =
r_cov_x * sin_yaw * sin_yaw + r_cov_y * cos_yaw * cos_yaw; // y - y
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ autoware_perception_msgs::msg::DetectedObject NormalVehicleTracker::getUpdatingO
const double sin_yaw = std::sin(pose_yaw);
const double sin_2yaw = std::sin(2.0 * pose_yaw);
pose_cov[XYZRPY_COV_IDX::X_X] =
r_cov_x * cos_yaw * cos_yaw + r_cov_y * sin_yaw * sin_yaw; // x - x
r_cov_x * cos_yaw * cos_yaw + r_cov_y * sin_yaw * sin_yaw; // x - x
pose_cov[XYZRPY_COV_IDX::X_Y] = 0.5 * (r_cov_x - r_cov_y) * sin_2yaw; // x - y
pose_cov[XYZRPY_COV_IDX::Y_Y] =
r_cov_x * sin_yaw * sin_yaw + r_cov_y * cos_yaw * cos_yaw; // y - y
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ autoware_perception_msgs::msg::DetectedObject PedestrianTracker::getUpdatingObje
const double sin_yaw = std::sin(pose_yaw);
const double sin_2yaw = std::sin(2.0 * pose_yaw);
pose_cov[XYZRPY_COV_IDX::X_X] =
r_cov_x * cos_yaw * cos_yaw + r_cov_y * sin_yaw * sin_yaw; // x - x
r_cov_x * cos_yaw * cos_yaw + r_cov_y * sin_yaw * sin_yaw; // x - x
pose_cov[XYZRPY_COV_IDX::X_Y] = 0.5 * (r_cov_x - r_cov_y) * sin_2yaw; // x - y
pose_cov[XYZRPY_COV_IDX::Y_Y] =
r_cov_x * sin_yaw * sin_yaw + r_cov_y * cos_yaw * cos_yaw; // y - y
Expand Down

0 comments on commit f8399e8

Please sign in to comment.