From 7bd1d39c321df30049856ef5c9b800c5a8f6dca5 Mon Sep 17 00:00:00 2001 From: Roman Fedorenko Date: Mon, 12 Aug 2019 17:40:22 +0300 Subject: [PATCH] Replace deprecated PLUGINLIB_DECLARE_CLASS by PLUGINLIB_EXPORT_CLASS to build in ROS Melodic --- uav_simulator/so3_control/src/so3_control_nodelet.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/uav_simulator/so3_control/src/so3_control_nodelet.cpp b/uav_simulator/so3_control/src/so3_control_nodelet.cpp index 10649b2b..b73ed9cc 100755 --- a/uav_simulator/so3_control/src/so3_control_nodelet.cpp +++ b/uav_simulator/so3_control/src/so3_control_nodelet.cpp @@ -214,5 +214,6 @@ SO3ControlNodelet::onInit(void) } #include -PLUGINLIB_DECLARE_CLASS(so3_control, SO3ControlNodelet, SO3ControlNodelet, + +PLUGINLIB_EXPORT_CLASS(SO3ControlNodelet, nodelet::Nodelet);