BT Tree Nodes as plugins


i was trying to export the SyncActionNode class as plugin, so that the user of my application,
can just register plugins and not have to change the “factory controller” node,
by dynamically registering action nodes to the tree

seeing the documentation of MoveIt Studio, i realized they were doing something similar

for plugins it is necessary to provide a default constructor, for the base and inherited class

in the passing arguments section of the documentation and BT.ROS you had template classes that extend the base class

however i couldn’t wrap it with a default construct, because it was asking me in the member list to also initialize the base class.

furthermore, you also have template classes that register the action to the tree, with a tree builder, is it possible to call there the initialization function of the action (since it will require an init)

Thanks for your time, looking forward for your input