Open mhubii opened 11 months ago
The ros2_control offers the ros2_control_node as start point and user friendly to run the ros2_control stuffs. However, nothing stops you from creating your own node. Take a look in the ros2_control_node.cpp. You can embed the same logic in a composition node. Just make sure you create the controller manager object and the control loop thread.
Thank you for coming back. You are 100% correct @mateusmenezes95.
The question is more whether this should be provided, and why it is not.
I think this would be a minimal change and could be useful. E.g., just used the robot_state_publisher in a manual composition. Would you like to create a PR?
thank you for coming back @christophfroehlich . Yes, I will have a look at that tomorrow/ early next week, unless someone jumps ahead
Duplicate of #330 ?
From the
CMake
it appears theros2_control_node
is compiled into an executable, referhttps://github.com/ros-controls/ros2_control/blob/54ced2a7be75750ca2cd00a7e8d572b65095bc4c/controller_manager/CMakeLists.txt#L42
Are there plans to provide composition in the future?