Open starlitxiling opened 3 weeks ago
I read some source code of ros2-bridge and ros2-client libraries and checked the implementation of service. So in order to implement action, I just need to encapsulate some action-related APIs in type/action.rs
and add rust->c code in ros2-bridge/msg-gen/src/lib.rs
. Is this correct?
I have some questions about the implementation of service in ros2-bridge. What is the stuff in
dora//libraries/extensions/ros2-bridge/msg-gen/test_msgs
used for? Inmsg-gen/src
, what are parser and type used for? I see the macros and structures used to generate Rust FFI code intypes/message.rs
, which are used inlib.rs
, so islib.rs
the core implementation? If I want to implement action in dora through ros2-client, which parts should I pay attention to? Of course, I want to know where and what theservice
implementation in ros2-bridge is specifically done.