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 68 forks source link

ROS2 messages not work between python and C++ dora node #483

Open bobd988 opened 2 months ago

bobd988 commented 2 months ago

When using DORA C++ with the ROS2 messages to pub/sub

image

Using another DORA node with python to subscribe to it but message not able to receive. If you can try it works pls provide an example.

haixuanTao commented 2 months ago

The ros2 bridge in dora is provided mainly thanks to https://github.com/jhelovuo/ros2-client .

Also, we're able to communicate with ros2, there should still be expected errors when using the bridges as both project are fairly young and experimental.

Using the bridge between two dora nodes is not in the range of things we can actively support, because:

I would recommend switching both nodes to dora, using arrow.

phil-opp commented 2 months ago

You could try to test the two nodes separately against ROS2 nodes:

  1. Verify that ROS2 messages sent by the Dora C++ node are seen by ROS2.
  2. Verify that the Python Dora node receives messages sent by ROS2 nodes.

If both of the above work, I would expect that a Dora C++ publish to ROS2 should reach a Dora Python subscription to that same ROS2 topic.