[ros-users] [Discourse.ros.org] [Next Generation ROS] Using ClassLoader with nodes and non-default constructors

Paul Bovbel ros.discourse at gmail.com
Fri Jun 23 02:49:59 UTC 2017



I think the typical pattern is to create a default constructor for your plugin, but use a separate initialize(...) method to feed arguments.

See plugin definition packages such as nav_core in the navigation stack, and controller_interface in ros_control.





---
[Visit Topic](https://discourse.ros.org/t/using-classloader-with-nodes-and-non-default-constructors/2018/3) or reply to this email to respond.




More information about the ros-users mailing list