Multiple classes that inherit from rclcpp::Node in one executable
I would like to implement a ROS Node that manages multiple objects which each have their own subscriptions. Now for an object to have its own subscriptions the class needs to inherit from rclcpp::Node
. So is it possible to have to compile two different classes that both inherit from rclcpp::Node
in one executable or does this break ROS 2 design rules?