dora-rs / dora

DORA (Dataflow-Oriented Robotic Application) is middleware designed to streamline and simplify the creation of AI-based robotic applications. It offers low latency, composable, and distributed dataflow capabilities. Applications are modeled as directed graphs, also referred to as pipelines.
https://dora-rs.ai
Apache License 2.0
1.35k stars 67 forks source link

Ros2-bridge action attempt #567

Open starlitxiling opened 6 days ago

starlitxiling commented 6 days ago

In this PR, the implementation of the ros2-bridge action interface and the process of generating C code through cxx are mainly completed. This is just a communication method for action in ros2-bridge. I don’t know whether it can be used normally.

About this implementation, I think there are some problems: In the process of using the ros2-client library to implement action, due to some interfaces, the entire processing logic can only be placed in one function, so it will contain some asynchronous operations. But I personally think this is not a reasonable implementation. When some functions are integrated into one function, if the user encounters problems in the process of using the c++ api action, debugging will be very difficult.

536