MCPcopy Create free account
hub / github.com/LimHyungTae/patchwork / cloud2msg

Function cloud2msg

nodes/offline_kitti.cpp:81–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79
80template <typename T>
81sensor_msgs::PointCloud2 cloud2msg(pcl::PointCloud<T> cloud, std::string frame_id) {
82 sensor_msgs::PointCloud2 cloud_ROS;
83 pcl::toROSMsg(cloud, cloud_ROS);
84 cloud_ROS.header.frame_id = frame_id;
85 return cloud_ROS;
86}
87
88int main(int argc, char **argv) {
89 ros::init(argc, argv, "Offline KITTI");

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected