Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
|
|
10 months ago | |
|---|---|---|
| .. | ||
| .gitignore | 3 years ago | |
| README.md | 10 months ago | |
| dataflow.yml | 10 months ago | |
| dataflow_dynamic.yml | 10 months ago | |
| run.rs | 10 months ago | |
This examples shows how to create and connect dora nodes in Python.
The dataflow.yml defines a simple dataflow graph with the following three nodes:
The same dataflow is implemented for a dynamic-node in dataflow_dynamic.yml. It contains
the same nodes as the previous dataflow, but the plot node is a dynamic node. See the next section for more
information on how to start such a dataflow.
After installing Rust, dora-cli and uv (if you installed the cli without pip), you will need to install the dependencies:
cd examples/python-dataflow
uv pip install -e ../../apis/python/node --reinstall
dora build ./dataflow.yml --uv (or dora build ./dataflow_dynamic.yml --uv)
It will install the required dependencies for the Python nodes.
Then you can run the dataflow:
dora run ./dataflow.yml --uv (or dora start ./dataflow_dynamic.yml --uv)
Note: if you're running the dynamic dataflow, you will need to start manually the opencv-plot node:
# activate your virtual environment in another terminal
python opencv-plot --name plot --uv
DORA (Dataflow-Oriented Robotic Architecture) is middleware designed to streamline and simplify the creation of AI-based robotic applications. It offers low latency, composable, and distributed datafl
Rust Python TOML Markdown C other