Skip to content

Commit

Permalink
revert #50 in upstream
Browse files Browse the repository at this point in the history
Signed-off-by: Autumn60 <[email protected]>
  • Loading branch information
Autumn60 committed Sep 18, 2024
1 parent 57951e7 commit c68e7f6
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ class ImuGnssPoser : public rclcpp::Node
private:

void gnss_callback(const geometry_msgs::msg::PoseWithCovarianceStamped::SharedPtr msg) {
//msg->pose.pose.orientation.x = imu_msg_.orientation.x;
//msg->pose.pose.orientation.y = imu_msg_.orientation.y;
//msg->pose.pose.orientation.z = imu_msg_.orientation.z;
//msg->pose.pose.orientation.w = imu_msg_.orientation.w;
msg->pose.pose.orientation.x = imu_msg_.orientation.x;
msg->pose.pose.orientation.y = imu_msg_.orientation.y;
msg->pose.pose.orientation.z = imu_msg_.orientation.z;
msg->pose.pose.orientation.w = imu_msg_.orientation.w;
msg->pose.covariance[7*0] = 0.1;
msg->pose.covariance[7*1] = 0.1;
msg->pose.covariance[7*2] = 0.1;
Expand Down

0 comments on commit c68e7f6

Please sign in to comment.