Skip to content

Commit

Permalink
Update to use non deprecated pluginlib macro
Browse files Browse the repository at this point in the history
  • Loading branch information
khallenbeck-dsi committed Nov 1, 2017
1 parent ed6e94b commit cccc138
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 16 deletions.
5 changes: 2 additions & 3 deletions velodyne_driver/src/driver/nodelet.cc
Expand Up @@ -81,6 +81,5 @@ void DriverNodelet::devicePoll()

// Register this plugin with pluginlib. Names must match nodelet_velodyne.xml.
//
// parameters are: package, class name, class type, base class type
PLUGINLIB_DECLARE_CLASS(velodyne_driver, DriverNodelet,
velodyne_driver::DriverNodelet, nodelet::Nodelet);
// parameters are: class type, base class type
PLUGINLIB_EXPORT_CLASS(velodyne_driver::DriverNodelet, nodelet::Nodelet)
7 changes: 3 additions & 4 deletions velodyne_pointcloud/src/conversions/cloud_nodelet.cc
Expand Up @@ -42,8 +42,7 @@ namespace velodyne_pointcloud
} // namespace velodyne_pointcloud


// Register this plugin with pluginlib. Names must match nodelet_velodyne.xml.
// Register this plugin with pluginlib. Names must match nodelets.xml.
//
// parameters: package, class name, class type, base class type
PLUGINLIB_DECLARE_CLASS(velodyne_pointcloud, CloudNodelet,
velodyne_pointcloud::CloudNodelet, nodelet::Nodelet);
// parameters: class type, base class type
PLUGINLIB_EXPORT_CLASS(velodyne_pointcloud::CloudNodelet, nodelet::Nodelet)
7 changes: 3 additions & 4 deletions velodyne_pointcloud/src/conversions/ringcolors_nodelet.cc
Expand Up @@ -43,8 +43,7 @@ namespace velodyne_pointcloud
} // namespace velodyne_pointcloud


// Register this plugin with pluginlib. Names must match nodelet_velodyne.xml.
// Register this plugin with pluginlib. Names must match nodelets.xml.
//
// parameters: package, class name, class type, base class type
PLUGINLIB_DECLARE_CLASS(velodyne_pointcloud, RingColorsNodelet,
velodyne_pointcloud::RingColorsNodelet, nodelet::Nodelet);
// parameters: class type, base class type
PLUGINLIB_EXPORT_CLASS(velodyne_pointcloud::RingColorsNodelet, nodelet::Nodelet)
8 changes: 3 additions & 5 deletions velodyne_pointcloud/src/conversions/transform_nodelet.cc
Expand Up @@ -42,9 +42,7 @@ namespace velodyne_pointcloud
} // namespace velodyne_pointcloud


// Register this plugin with pluginlib. Names must match nodelet_velodyne.xml.
// Register this plugin with pluginlib. Names must match nodelets.xml.
//
// parameters: package, class name, class type, base class type
PLUGINLIB_DECLARE_CLASS(velodyne_pointcloud, TransformNodelet,
velodyne_pointcloud::TransformNodelet,
nodelet::Nodelet);
// parameters: class type, base class type
PLUGINLIB_EXPORT_CLASS(velodyne_pointcloud::TransformNodelet, nodelet::Nodelet)

0 comments on commit cccc138

Please sign in to comment.