Skip to content

Commit

Permalink
revert const declare
Browse files Browse the repository at this point in the history
Signed-off-by: a-maumau <maumaumaumaumaumaumaumaumaumau@gmail.com>
  • Loading branch information
a-maumau committed Jun 10, 2024
1 parent 0decbc2 commit ae7b866
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1026,7 +1026,7 @@ geometry_msgs::msg::PoseWithCovarianceStamped NDTScanMatcher::align_pose(
const double stddev_pitch = std::sqrt(covariance(4, 4));

// Since only yaw is uniformly sampled, we define the mean and standard deviation for the others.
std::vector<double> sample_mean{
const std::vector<double> sample_mean{
initial_pose_with_cov.pose.pose.position.x, // trans_x
initial_pose_with_cov.pose.pose.position.y, // trans_y
initial_pose_with_cov.pose.pose.position.z, // trans_z
Expand Down

0 comments on commit ae7b866

Please sign in to comment.