You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This one might be a bit tricky, but doable anyway. The tricky part is that in rclcpp and rclpy, nodes inherit from Node, which obviously we can't in Rust. The way I solved this in rcljava is by creating an interface called ComposableNode, which contains a reference to the Node base class.
For Rust, we can have a similar trait, with a default implementation, e.g.
One thing I realized is that if we don't use a global context, component nodes will have to communicate across participants, which might be more expensive, not sure.
See https://docs.ros.org/en/rolling/Concepts/About-Composition.html and https://docs.ros.org/en/rolling/Tutorials/Composition.html
The text was updated successfully, but these errors were encountered: