Skip to content

Commit

Permalink
Fixing lat-long to UTM conversion (#620)
Browse files Browse the repository at this point in the history
Thanks again for the report. I'll get this into `noetic-devel` and the relevant ROS2 branches.
  • Loading branch information
ayrton04 committed Feb 3, 2021
1 parent 35778b0 commit a2da33b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/navsat_transform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ namespace RobotLocalization
else
{
std::string utm_zone_tmp;
NavsatConversions::LLtoUTM(latitude, longitude, cartesian_x, cartesian_y, utm_zone_tmp);
NavsatConversions::LLtoUTM(latitude, longitude, cartesian_y, cartesian_x, utm_zone_tmp);
}

cartesian_pose.setOrigin(tf2::Vector3(cartesian_x, cartesian_y, altitude));
Expand Down

0 comments on commit a2da33b

Please sign in to comment.