Skip to content

Commit

Permalink
remove temporal compatibility (#59)
Browse files Browse the repository at this point in the history
Signed-off-by: a-maumau <[email protected]>
  • Loading branch information
a-maumau authored Aug 8, 2024
1 parent 84007b9 commit 73cfe13
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
5 changes: 0 additions & 5 deletions include/estimate_covariance/estimate_covariance.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,6 @@ struct ResultOfMultiNdtCovarianceEstimation
/** \brief Estimate functions */
Eigen::Matrix2d estimate_xy_covariance_by_laplace_approximation(
const Eigen::Matrix<double, 6, 6> & hessian);
// temporal compatibility until
// https://github.com/autowarefoundation/autoware.universe/pull/8124
// get merged
Eigen::Matrix2d estimate_xy_covariance_by_Laplace_approximation(
const Eigen::Matrix<double, 6, 6> & hessian);
ResultOfMultiNdtCovarianceEstimation estimate_xy_covariance_by_multi_ndt(
const NdtResult & ndt_result,
const std::shared_ptr<
Expand Down
12 changes: 0 additions & 12 deletions src/estimate_covariance/estimate_covariance.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,6 @@ Eigen::Matrix2d estimate_xy_covariance_by_laplace_approximation(
return covariance_xy;
}

// temporal compatibility until
// https://github.com/autowarefoundation/autoware.universe/pull/8124
// get merged
Eigen::Matrix2d estimate_xy_covariance_by_Laplace_approximation(
const Eigen::Matrix<double, 6, 6> & hessian)
{
const Eigen::Matrix2d hessian_xy = hessian.block<2, 2>(0, 0);
Eigen::Matrix2d covariance_xy = -hessian_xy.inverse();
return covariance_xy;
}


ResultOfMultiNdtCovarianceEstimation estimate_xy_covariance_by_multi_ndt(
const NdtResult & ndt_result,
const std::shared_ptr<
Expand Down

0 comments on commit 73cfe13

Please sign in to comment.