ros-geographic-info / geographic_info

ROS packages for geographic information
http://ros.org/wiki/geographic_info
60 stars 61 forks source link

[ROS2 Foxy] Cannot use conversion functions from `geodesy` #49

Closed mnissov closed 8 months ago

mnissov commented 2 years ago

I am trying to convert some NavSatFix messages to WGS84 and UTM. I know in ROS1 the conversion tools we usable by

#include "geodesy/utm.h"
#include "geodesy/wgs84.h"

but this doesn't seem to work in ROS2 with the package installed by

sudo apt install ros-foxy-geodesy

I can't seem to find any example anywhere online of utilizing this package in ROS2, which would almost lead me to believe it hasn't yet been ported if not for the availability of ros-foxy-geodesy in apt. Any ideas what I'm doing wrong?

navil2000 commented 8 months ago

Did the "sudo apt install ros-foxy-geodesy" command work for you? I'm not sure why it didn't work for me, and I ended up switching to the humble version, where I was able to install it.

SteveMacenski commented 8 months ago

https://build.ros2.org/search/?q=geodesy&Jenkins-Crumb=503ee6fb07243e0e3a3002e651f391971e27b2810d2278eae13c6ad89175c56b

Humble and newer. Foxy is EOL.