35 #include "tf2_msgs/TFMessage.h" 47 std::vector<geometry_msgs::TransformStamped> v1;
55 tf2_msgs::TFMessage message;
56 for (std::vector<geometry_msgs::TransformStamped>::const_iterator it = msgtf.begin(); it != msgtf.end(); ++it)
58 message.transforms.push_back(*it);
void publish(const boost::shared_ptr< M > &message) const
Publisher advertise(const std::string &topic, uint32_t queue_size, bool latch=false)