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

Function cloudmsg2cloud

nodes/pub_for_legoloam.cpp:30–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28
29template <typename T>
30pcl::PointCloud<T> cloudmsg2cloud(const sensor_msgs::PointCloud2::ConstPtr &cloudmsg) {
31 pcl::PointCloud<T> cloudresult;
32 pcl::fromROSMsg(*cloudmsg, cloudresult);
33 return cloudresult;
34}
35
36template <typename T>
37sensor_msgs::PointCloud2 cloud2msg(pcl::PointCloud<T> cloud) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected