tf2::toMsg(tf2::Vector3) in ROS2 Foxy?
I'm on ROS2 Foxy and cannot find the toMsg() function for Vector3 that used to be in tf2_geometry_msgs.h. In previous versions the following function exists:
geometry_msgs::Vector3 tf2::toMsg (const tf2::Vector3 &in)
Has it been moved or removed completely? What shall I use instead? I do not really fancy to use the stamped version of Vector3.
Thanks!
I have a custom message with multiple vectors and a header (with time and frame id). Therefore I don't see the necessity to use stamped vectors.