warehouse_ros icon indicating copy to clipboard operation
warehouse_ros copied to clipboard

Add constructor to database loader which takes a NodeParametersInterface

Open calenr opened this issue 1 year ago • 0 comments

Currently the database loader can only be used with in conjunction with a Node::SharedPtr. In order to make it compatible with lifecycle nodes (or any object which stores a NodeParameterInterface) the DatabaseLoader could be modified to store a NodeParameterInterface instead of a Node. This would require a new constructor which takes in a new NodeParameterInterface, and the current constructor (which accepts a shared pointer to a node) would delegate to this new constructor.

calenr avatar Sep 19 '23 19:09 calenr