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);