Skip to content

utm.from_latlon called with lat/lon values mixed up

In https://github.com/ternaris/marv-robotics/blob/6087cd67f4a6c969127de327e6e9c4aaf8f2ec07/code/marv-robotics/marv_robotics/gnss.py#L69 the code , n, _, _ = utm.from_latlon(rosmsg.longitude, rosmsg.latitude) should use the order rosmsg.latitude, rosmsg.longitude or use named arguments. Currently longitude and latitude are mixed up, leading to assertion failures for certain GPS positions (e.g. Asia where lon > 90)