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

Function cloud2msg

nodes/offline_own_data.cpp:32–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30
31template <typename T>
32sensor_msgs::PointCloud2 cloud2msg(pcl::PointCloud<T> cloud, std::string frame_id) {
33 sensor_msgs::PointCloud2 cloud_ROS;
34 pcl::toROSMsg(cloud, cloud_ROS);
35 cloud_ROS.header.frame_id = frame_id;
36 return cloud_ROS;
37}
38
39void signal_callback_handler(int signum) {
40 cout << "Caught Ctrl + c " << endl;

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected