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

Function cloud2msg

nodes/ros_kitti.cpp:73–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71
72template <typename T>
73sensor_msgs::PointCloud2 cloud2msg(pcl::PointCloud<T> cloud) {
74 sensor_msgs::PointCloud2 cloud_ROS;
75 pcl::toROSMsg(cloud, cloud_ROS);
76 return cloud_ROS;
77}
78
79void callbackNode(const sensor_msgs::PointCloud2::ConstPtr &msg) {
80 cout << msg->header.seq << "th node come" << endl;

Callers 1

callbackNodeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected