ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question


asked 2022-04-29 08:21:21 -0500

labude gravatar image

updated 2022-05-02 03:40:43 -0500

I am following the tutorial for Diagnostic Analyzers. In the source file there's the macro PLUGINLIB_REGISTER_CLASS, which seems to be deprecated under ros noetic, the only one I can find in class_list_macros.h is PLUGINLIB_EXPORT_CLASS. Are these interchangeable? If not, what would be the right usage in this tutorial? There is not much information given on this aspect.


edit retag flag offensive close merge delete


Why have you tagged this question hydro?

Mike Scheutzow gravatar image Mike Scheutzow  ( 2022-04-29 12:18:50 -0500 )edit

Must have been a mistake.

labude gravatar image labude  ( 2022-05-02 03:35:56 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2022-04-29 12:10:00 -0500

Mike Scheutzow gravatar image

updated 2022-04-29 12:17:26 -0500

Yes, you need to replace PLUGINLIB_REGISTER_CLASS with PLUGINLIB_EXPORT_CLASS in the source code, and IIRC there is a small change in the arguments. The new usage is explained here:

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2022-04-29 08:21:21 -0500

Seen: 48 times

Last updated: Apr 29 '22