From f26266db8d80f78a8a0f269596749a2b54c9817b Mon Sep 17 00:00:00 2001 From: ye-luo-xi-tui <74857762+ye-luo-xi-tui@users.noreply.github.com> Date: Thu, 20 Jun 2024 21:31:37 +0800 Subject: [PATCH] Delete useless code. --- legged_estimation/src/LinearKalmanFilter.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/legged_estimation/src/LinearKalmanFilter.cpp b/legged_estimation/src/LinearKalmanFilter.cpp index 92e353ce..a6ef91fe 100644 --- a/legged_estimation/src/LinearKalmanFilter.cpp +++ b/legged_estimation/src/LinearKalmanFilter.cpp @@ -225,7 +225,6 @@ nav_msgs::Odometry KalmanFilterEstimate::getOdomMsg() { odom.pose.pose.orientation.y = quat_.y(); odom.pose.pose.orientation.z = quat_.z(); odom.pose.pose.orientation.w = quat_.w(); - odom.pose.pose.orientation.x = quat_.x(); for (int i = 0; i < 3; ++i) { for (int j = 0; j < 3; ++j) { odom.pose.covariance[i * 6 + j] = p_(i, j);