Skip to content

Commit

Permalink
fixing pose orientations while loading (ros-navigation#3354)
Browse files Browse the repository at this point in the history
  • Loading branch information
padhupradheep authored Jan 9, 2023
1 parent 63e4072 commit 9fda8e6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nav2_rviz_plugins/src/nav2_panel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -717,9 +717,9 @@ geometry_msgs::msg::PoseStamped Nav2Panel::convert_to_msg(
msg.pose.position.z = pose[2];

msg.pose.orientation.w = orientation[0];
msg.pose.orientation.w = orientation[1];
msg.pose.orientation.w = orientation[2];
msg.pose.orientation.w = orientation[3];
msg.pose.orientation.x = orientation[1];
msg.pose.orientation.y = orientation[2];
msg.pose.orientation.z = orientation[3];

return msg;
}
Expand Down

0 comments on commit 9fda8e6

Please sign in to comment.