Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matlabbe/0bf4bd2b91134ad9cba8ef1b738025e0 to your computer and use it in GitHub Desktop.
Save matlabbe/0bf4bd2b91134ad9cba8ef1b738025e0 to your computer and use it in GitHub Desktop.
Fixing pointcloud_to_laserscan build from indigo_devel branch into recent ros distros
diff --git a/src/pointcloud_to_laserscan_nodelet.cpp b/src/pointcloud_to_laserscan_nodelet.cpp
index 3411d45..5918f0b 100644
--- a/src/pointcloud_to_laserscan_nodelet.cpp
+++ b/src/pointcloud_to_laserscan_nodelet.cpp
@@ -238,4 +238,4 @@ namespace pointcloud_to_laserscan
}
-PLUGINLIB_DECLARE_CLASS(pointcloud_to_laserscan, PointCloudToLaserScanNodelet, pointcloud_to_laserscan::PointCloudToLaserScanNodelet, nodelet::Nodelet);
+PLUGINLIB_EXPORT_CLASS(pointcloud_to_laserscan::PointCloudToLaserScanNodelet, nodelet::Nodelet);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment