0
$\begingroup$

Rosanswers logo

I wrote node for subscribing to the odom topic(nav_msgs/Odometry) at which utm_odometry_node publish results of conversion from (latitude, longitude)(degres)to (x,y)(meters). So my question is is that conversion to (x,y) valid? (I use C Turtle.Code of node who is sunscribing to odom topic is here in answer of my orevious question: http://answers.ros.org/question/485/using-utm_odometry_node-to-convert-gps-mesurement)

Example: That gives gpsd_client: (coordinates in Croatia, nortwest) latitude: 46.3954 longitude: 16.448 That gives utm_odometry_node: x:611320 y:5.139e+06 I think that in x coordinate one digit is missing. Well if someone is working with utm_odometry_node and know something about conversion(accuracy, problems, etc.),please let write answer. Thanks


Originally posted by Jurica on ROS Answers with karma: 97 on 2011-03-24

Post score: 4

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

That is probably a correct output.

You have to remember that UTM is in reference to some fixed point on a grid. If you are significantly closer in the x direction, then it is totally reasonable that the x coordinate will be powers of 10 smaller than the y coordinate.

As a quick sanity check, I use the Geotool: For your coordinates

This gives you UTM coordinates: 33T 611320 5138999, which seems to be in line with the ones that you got with the UTM odometry node. The first digits represent the zone that you are in, which you can look up on a map like the following. The next numbers describe your position, in reference to a central meridian plus a "false northing" and "false easting" to insure that negative numbers will never be a possibility. image description http://upload.wikimedia.org/wikipedia/commons/e/ed/Utm-zones.jpg

You may want to read up a bit more on UTM, Wikipedia has a really good explanation of the reasoning behind UTM.


Originally posted by mjcarroll with karma: 6414 on 2011-03-24

This answer was ACCEPTED on the original site

Post score: 6


Original comments

Comment by Jurica on 2011-03-24:
And thanks for useful tool geohack, i found that page with link https://jira.toolserver.org/browse/GEOHACK (http://toolserver.org/~geohack/).

Comment by Jurica on 2011-03-24:
Thanks for your answer. I looked at wikipedia UTM and i read about UTM coordinate system. I was using some version Gaus-Kruger conversions which gave me another results ( i was using for that geodetic GPS-RTK instead my GPS form Locosys) so i was thinking that conversions to UTM is false.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.