Closed Levi-Armstrong closed 4 years ago
When porting to ROS2 we noticed that createSharedInstance was missing from the API for the ROS2 version; was this intentional? If not, we will create a PR adding it.
While the methods have different names on the ROS 2 branches they should offer the same functionality:
https://github.com/ros/class_loader/blob/9c0875c8a861b577e8d6e4e848cee3646a14c063/include/class_loader/class_loader.hpp#L124-L125
https://github.com/ros/class_loader/blob/9c0875c8a861b577e8d6e4e848cee3646a14c063/include/class_loader/class_loader.hpp#L146-L147
https://github.com/ros/class_loader/blob/9c0875c8a861b577e8d6e4e848cee3646a14c063/include/class_loader/class_loader.hpp#L169-L170
Ah, I missed the fact that createInstance returned a shared pointer. Thank you.
createInstance
When porting to ROS2 we noticed that createSharedInstance was missing from the API for the ROS2 version; was this intentional? If not, we will create a PR adding it.