Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TF2 support without ROS dependencies #482

Open
bobd988 opened this issue Apr 20, 2024 · 0 comments
Open

TF2 support without ROS dependencies #482

bobd988 opened this issue Apr 20, 2024 · 0 comments

Comments

@bobd988
Copy link
Contributor

bobd988 commented Apr 20, 2024

TF2 is widely used in robotics. DORA needs to have a ROS independent TF2 support.

Here are some research results and it seems feasible.

tf2 is designed to be ROS independent. The dependencies for the tf2 package are specifically limited. https://github.com/ros/geometry2/blob/indigo-devel/tf2/package.xml

tf2 0.5.20 tf2 is the second generation of the transform library, which lets the user keep track of multiple coordinate frames over time. tf2 maintains the relationship between coordinate frames in a tree structure buffered in time, and lets the user transform points, vectors, etc between any two coordinate frames at any desired point in time. Tully Foote Eitan Marder-Eppstein Wim Meeussen Tully Foote BSD

http://www.ros.org/wiki/tf2

<buildtool_depend version_gte="0.5.68">catkin</buildtool_depend>

<build_depend>libconsole-bridge-dev</build_depend>
<build_depend>geometry_msgs</build_depend>
<build_depend>rostime</build_depend>
<build_depend>tf2_msgs</build_depend>

<run_depend>libconsole-bridge-dev</run_depend>
<run_depend>geometry_msgs</run_depend>
<run_depend>rostime</run_depend>
<run_depend>tf2_msgs</run_depend>

Here are what's needed to pull it out as a pure library.

libconsole-bridge is a ROS independent console output library.

tf2_msgs is only used for error enumerations and can be replaced by copying the generated header file

geometry_msgs datatypes are used for data storage. A truely ros independent version would need to copy a few message header files or implement their own replacement data storage type.

rostime is the primative datatype for time in the above messages and is thus included

It uses the catkin cmake package which is technically independent of ROS and can be used if installed as a pure cmake package. If catkin is installed you can call (mkdir build && cd build && cmake .. && make)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant