Ask Your Question

How to migrate tf data types such as Quaternion, Vector3, Transform to tf2?

asked 2018-06-21 17:42:34 -0500

cybodroid gravatar image

updated 2018-06-22 01:13:48 -0500

NEngelhard gravatar image

There is not much mentioned about tf2 datatypes on tf2_ros documentation at . While comparing to , we don't have any data types mentioned. My C++ code has plenty of tf datatypes such as

 tf::Quaternion q(msg->pose[index].orientation.x,

 tf::Transform transform;

How will I migrate them to tf2_ros?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-06-21 17:59:25 -0500

tfoote gravatar image

Please see the Supported Datatypes section of the tf2 wiki.

The tf::Quaternion is a fork of the Bullet btQuaternion which will be your easiest conversion.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2018-06-21 17:42:34 -0500

Seen: 297 times

Last updated: Jun 22 '18