Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge dora-ros2-bridge #341

Merged
merged 289 commits into from
Aug 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
289 commits
Select commit Hold shift + click to select a range
e18cbaf
Move lifetime parameter
eduidl Aug 8, 2021
491afb1
Refactor RclSubscription::take
eduidl Aug 8, 2021
9c8615f
Minor refactoring
eduidl Aug 8, 2021
e997fa1
Implement ros2 service
eduidl Aug 8, 2021
543f53e
Refactor to use method chain
eduidl Aug 8, 2021
5aabba2
Implement ros2 service client
eduidl Aug 8, 2021
effc426
Change the way reserved words are escaped
eduidl Aug 8, 2021
feea852
Update client API
eduidl Aug 9, 2021
e02aaff
Use mod.rs
eduidl Aug 9, 2021
bc378df
Change internal API to make unit test easier
eduidl Aug 9, 2021
7150b85
Make partial members public in crate
eduidl Aug 9, 2021
fe49f60
Use `Default` trait more
eduidl Aug 10, 2021
0e52c2c
Add test
eduidl Aug 10, 2021
20305cc
Support parameters
eduidl Aug 10, 2021
7724019
Use Box<T> to avoid creating invalid pointers.
eduidl Aug 10, 2021
5ef7ba8
Delete prelude module
eduidl Aug 10, 2021
7cb0da7
Allow clippy::missing_safety_doc temporally
eduidl Aug 10, 2021
77d049a
Configuration of logging
eduidl Aug 10, 2021
f9bd64c
Fix clippy::missing_const_for_fn
eduidl Aug 10, 2021
1dadcd5
Fix missing unwrap()
eduidl Aug 10, 2021
432bdf2
Add example for logging
eduidl Aug 10, 2021
153e04b
Add example of using parameters
eduidl Aug 10, 2021
28bd8ab
Increase count max
eduidl Aug 10, 2021
000c41f
Write up README
eduidl Aug 10, 2021
5e3d356
Bump up version
eduidl Aug 10, 2021
1dca6c6
Update Cargo.toml
eduidl Aug 10, 2021
e6ba97f
Fix typo
eduidl Aug 10, 2021
880e02e
cargo fmt
eduidl Aug 11, 2021
ae74061
Setup CI
eduidl Aug 11, 2021
ee8e15f
Merge pull request #2 from rclrust/setup-CI
eduidl Aug 11, 2021
74973fb
Update README
eduidl Aug 11, 2021
2329682
Set format_code_in_doc_comments true
eduidl Aug 21, 2021
f2306d4
Set group_imports "StdExternalCrate"
eduidl Aug 21, 2021
8165ad3
Set imports_granularity "Crate"
eduidl Aug 21, 2021
fa537d9
Set imports_layout "HorizontalVertical"
eduidl Aug 21, 2021
ac1d4ea
Set other options
eduidl Aug 21, 2021
bc26f32
Revert "Set imports_layout "HorizontalVertical""
eduidl Aug 22, 2021
c613af3
Update CI
eduidl Aug 22, 2021
1c82926
Remove trailing semicolon
eduidl Aug 22, 2021
eb48a6a
Split CI job
eduidl Aug 22, 2021
be44f31
Merge pull request #5 from rclrust/rustfmt-config
eduidl Aug 22, 2021
881b66b
Suppress warnings
eduidl Aug 22, 2021
350f6cd
Fix warning
eduidl Aug 22, 2021
6f3660a
Setup CI to generate documents
eduidl Aug 22, 2021
f2bad47
Rename
eduidl Aug 22, 2021
13c170b
Enable test for rcl-sys
eduidl Aug 22, 2021
7b8a665
Update status badges
eduidl Aug 22, 2021
a75884a
Disable CI of temp branch
eduidl Aug 22, 2021
ac86bff
Fix
eduidl Aug 22, 2021
92d023e
Merge pull request #8 from rclrust/self-host-doc
eduidl Aug 22, 2021
8611c80
Bump up versions
eduidl Aug 25, 2021
1b327ea
Merge pull request #9 from rclrust/bump-up-version
eduidl Aug 25, 2021
fb5a76d
Desynchronize
eduidl Aug 27, 2021
7d9574a
Update README.md
eduidl Aug 27, 2021
720d725
Merge pull request #10 from rclrust/async-api
eduidl Aug 27, 2021
8902b71
Refactoring
eduidl Aug 27, 2021
c0e5bcc
Type alias
eduidl Aug 28, 2021
eeb5a8b
Change erorr handling
eduidl Aug 28, 2021
20458b2
Update nom
eduidl Aug 31, 2021
170d245
Add badges
eduidl Aug 31, 2021
c855fe3
Add CI for MSRV
eduidl Aug 31, 2021
de8cb65
Merge pull request #12 from rclrust/refactor
eduidl Aug 31, 2021
894b5b0
CI
eduidl Aug 31, 2021
59105ee
Merge pull request #13 from rclrust/ci/coverage
eduidl Aug 31, 2021
2fb2b13
Update README.md
eduidl Aug 31, 2021
7d46a0a
Try to support galactic and rolling
eduidl Sep 1, 2021
110ccc9
Merge pull request #14 from rclrust/support-galactic
eduidl Sep 1, 2021
e2fc9b1
Update README.md
eduidl Sep 3, 2021
2f26119
Create dependabot.yaml
eduidl Sep 5, 2021
f0e6650
Update CI
eduidl Sep 11, 2021
7a1e778
Use matrix.ros.distro
eduidl Sep 11, 2021
d77e560
Merge pull request #16 from rclrust/update-ci
eduidl Sep 11, 2021
40548ac
Implement graph api
eduidl Sep 11, 2021
89dc12d
Merge pull request #15 from rclrust/impl-graph-api
eduidl Sep 11, 2021
a83d139
Add document and test for qos module
eduidl Sep 12, 2021
cdfad5f
Fix link
eduidl Sep 12, 2021
c2b4a5c
invalid_codeblock_attributes -> rustdoc::invalid_codeblock_attributes
eduidl Sep 12, 2021
fc74086
Update pulbisher module
eduidl Sep 12, 2021
e2a7d84
Update subscription module
eduidl Sep 12, 2021
4adf8d2
Fix clippy warnings
eduidl Sep 12, 2021
229baa2
Update service module
eduidl Sep 12, 2021
96d263c
Disable doctest on coverage CI etc...
eduidl Sep 12, 2021
0710b14
Update client module
eduidl Sep 12, 2021
c8cad58
Move test
eduidl Sep 12, 2021
532102e
Merge pull request #18 from rclrust/refactor
eduidl Sep 12, 2021
595312d
Make rcl-sys independ from rust-bindgen
eduidl Sep 19, 2021
1362bf8
Configure features
eduidl Sep 19, 2021
50a3a7a
Support breaking change from Foxy to Galactic
eduidl Sep 19, 2021
a40929a
Merge pull request #19 from rclrust/refactor-rcl-sys
eduidl Sep 19, 2021
ae66de8
Terminate spinning thread on destruction of `Node`
eduidl Sep 19, 2021
5741c45
Workaround for suspicious result of rcl_wait() when using Cyclone DDS.
eduidl Sep 20, 2021
78ad923
Merge pull request #20 from rclrust/terminate-spinnig-thread
eduidl Sep 20, 2021
2685f20
Set concurrency
eduidl Sep 20, 2021
233297b
Update README.md
eduidl Oct 6, 2021
12c0b25
Upgrade rust edition
eduidl Oct 26, 2021
a00c65d
Merge pull request #21 from rclrust/upgrade-rust-edition
eduidl Oct 26, 2021
62d7134
Fix parsing CRLF termnated service files
jerry73204 May 27, 2022
c9f8355
Merge pull request #23 from jerry73204/aeon/2022-05-28/fix-crlf
eduidl Jun 7, 2022
56eec69
Fix clippy warnings
eduidl Jul 3, 2022
3a48dbb
Merge pull request #25 from rclrust/fix-clippy
eduidl Jul 3, 2022
db679f0
Don't link ros2 C libraries and derive serde traits
phil-opp Jun 23, 2023
b3ce69b
Delete other rclrust crates, we only need the message generator
phil-opp Jun 23, 2023
2afd37c
Rename message generator to `dora-ros2-bridge-msg-gen`
phil-opp Jun 23, 2023
c023148
Start creating a dora ros2 bridge based on and the message generator
phil-opp Jun 23, 2023
60bad42
Add link to original message generator implementation
phil-opp Jun 23, 2023
3f156e0
Add example to move turtle in turtlesim in random directions
phil-opp Jun 23, 2023
7c6ffb7
Rerun message generation when `AMENT_PREFIX_PATH` is changed
phil-opp Jun 27, 2023
cf7455f
Only warn when AMENT_PREFIX_PATH is not set
phil-opp Jun 28, 2023
74b4d0d
Report in docs when AMENT_PREFIX_PATH is not set
phil-opp Jun 28, 2023
1665c3c
Fix markdown syntax in docs
phil-opp Jun 28, 2023
831cf5e
Split parsing into separate crate
phil-opp Jun 28, 2023
160f95d
Merge pull request #1 from dora-rs/split-crate
phil-opp Jun 28, 2023
2b71b34
Start creating a Python ROS2 bridge
phil-opp Jul 5, 2023
dd21b0c
Start implementing typed CDR serialization based on runtime types
phil-opp Jul 6, 2023
9b01f03
Parse ROS2 messages on context generation and start implementing Type…
phil-opp Jul 7, 2023
0cdbd92
Add support for referencing messages from same namespace
phil-opp Jul 7, 2023
448b5ad
Simplify QoS construction by using optional arguments
phil-opp Jul 12, 2023
8502c1a
Fix encoded type name
phil-opp Jul 12, 2023
46413db
Allow setting via optional argument
phil-opp Jul 12, 2023
45ea860
Create Python-based random turtle example
phil-opp Jul 12, 2023
312a6bc
Remove debug print
phil-opp Jul 12, 2023
a9d5e09
Add support for default values
phil-opp Jul 12, 2023
4fb6789
Start forking `ros2-client`
phil-opp Jul 13, 2023
d26cc96
Split typed serialized code into submodule
phil-opp Jul 13, 2023
858921f
Start forking `rustdds` too
phil-opp Jul 13, 2023
168b597
Switch rustdds to tag 0.8.3
phil-opp Jul 13, 2023
e5fc21b
Don't deny clippy
phil-opp Jul 13, 2023
5d53a67
Fix overly strict lifetime requirements for deserialization helpers
phil-opp Jul 13, 2023
eef4def
Move DeserializerAdapter bounds to methods
phil-opp Jul 13, 2023
99469a6
Start adding support for DeserializeSeed-based CDR deserialization
phil-opp Jul 13, 2023
10be921
Refactor: Use key as generic parameter for keyed DataReader
phil-opp Jul 18, 2023
ce490a3
Add `deserialize_seed` function to simple data reader
phil-opp Jul 18, 2023
14b1359
Add `Key` bound on `Keyed::K`
phil-opp Jul 19, 2023
2ce556d
Remove superfluous generic parameter `K` again
phil-opp Jul 19, 2023
cfb9f2d
Run cargo fmt
phil-opp Jul 19, 2023
7f105ce
Deduplicate deserialize and deserialize_seed methods
phil-opp Jul 19, 2023
698d482
Implement Seed variant of `try_take_one`
phil-opp Jul 19, 2023
c751ca7
Add untyped subscribe API and support for new type paramters in ros2-…
phil-opp Jul 19, 2023
d2c1bd7
Used untyped subscribe type in python Ros2 bridge
phil-opp Jul 19, 2023
02ca73d
Add support for typed serialization using `DeserializeSeed`
phil-opp Jul 19, 2023
df50a23
Print pose in Python turtle teleop example
phil-opp Jul 19, 2023
0eb85ba
Update `ros2-client` to latest `master` commit of `rustdds`
phil-opp Jul 20, 2023
77ed299
Adjust `ros2-client` for new `rustdds` design with `DeserializeSeed` …
phil-opp Jul 20, 2023
c849a0f
Update Python ROS2 bridge for new `DeserializeSeed` design in `ros2-c…
phil-opp Jul 20, 2023
16e7a24
Remove in-tree fork of `rustdds` again
phil-opp Jul 20, 2023
a31cf6b
Use `dora-rs/ros2-client` instead of local copy
phil-opp Jul 21, 2023
d02f473
Remove local copy of `ros2-client` again
phil-opp Jul 21, 2023
d152ee3
Merge pull request #2 from dora-rs/python-ros2-bridge
phil-opp Jul 21, 2023
325b437
Add a basic CI file
phil-opp Jul 21, 2023
98a42a1
Don't build random_turtle example by default, as it requires ROS2 ins…
phil-opp Jul 21, 2023
19dd68c
Adding pypi release workflow
haixuanTao Jul 28, 2023
9720456
Fix missing commit as it has been forced pushed
haixuanTao Aug 1, 2023
aca934d
Add ROS2 to generate standard msg with ament_predfix_path
haixuanTao Aug 1, 2023
3980e5d
Set ament_prefix_path before compiling
haixuanTao Aug 1, 2023
9eb1aa4
Rewrite linux script in powershell for windows
haixuanTao Aug 1, 2023
ebc763b
Remove ros dependency as ament_prefix_path is used at runtime
haixuanTao Aug 1, 2023
f6eec18
Merge pull request #3 from dora-rs/pypi-release
haixuanTao Aug 1, 2023
37b2ce4
Migrate example into `examples` folder
haixuanTao Aug 3, 2023
f8ccd3b
Add dataflow example
haixuanTao Aug 3, 2023
49a1695
fixing couple of issue within the dataflow example
haixuanTao Aug 3, 2023
362d45c
Move Python example to a folder including the word ros2
haixuanTao Aug 4, 2023
c67affc
Copy ros2 briddge example from dora-rs repository
haixuanTao Aug 4, 2023
5aa4fe9
Update `Cargo.toml`
haixuanTao Aug 4, 2023
98a5600
Add example to the CI
haixuanTao Aug 4, 2023
7eaa1c4
Adding daemon as an example lib and running turtle sim in the background
haixuanTao Aug 4, 2023
7e7826d
Fix CI bug
haixuanTao Aug 4, 2023
8751a3e
Add TODO notes and assertion of functional turtle
haixuanTao Aug 10, 2023
6503f5f
Fix CI and add RUST debug
haixuanTao Aug 10, 2023
fddaee1
Merge pull request #4 from dora-rs/examples
haixuanTao Aug 10, 2023
0a85303
Replace `pythonize` with `pyarrow`
haixuanTao Aug 16, 2023
b9af59d
Handle simple type
haixuanTao Aug 16, 2023
57d0fc0
Fix: Build rust-ros2-dataflow-example-node when running example
phil-opp Aug 16, 2023
696738c
Replacing`TypedInfo` by `arrow::DataType`
haixuanTao Aug 17, 2023
4423379
Reuse `TypeInfo` for storing default value
haixuanTao Aug 18, 2023
5c3d572
Update example
haixuanTao Aug 18, 2023
098a57c
Borrow `TypeInfo` to reduce the number of clones
haixuanTao Aug 18, 2023
28913cd
Fix CI example with latest `dora-ros2-bridge` and comment output not …
haixuanTao Aug 18, 2023
008babd
Use maturin build instead of maturin develop
haixuanTao Aug 18, 2023
7c0afec
Build latest bridge for python-ros2-dataflow example instead of downl…
phil-opp Aug 22, 2023
bf0a81c
Update dependencies to match dora-node-api
phil-opp Aug 22, 2023
42dcd67
Implement `Stream` trait for `Ros2Subscription`
phil-opp Aug 22, 2023
a552541
Add `create_subscription_stream` function that returns an `ExternalEv…
phil-opp Aug 22, 2023
2ba8cef
Re-export dora-node-api-python types to work around type mismatch errors
phil-opp Aug 22, 2023
96de1b5
Update example to use stream merging
phil-opp Aug 22, 2023
b54a521
Update Cargo.lock
phil-opp Aug 22, 2023
f90cf16
Update dependency and add tracing for rust example
phil-opp Aug 22, 2023
a864d52
Update Cargo.lock
phil-opp Aug 22, 2023
fa98dcf
Update dora deps
phil-opp Aug 22, 2023
7bd4d20
Source venv for python example
phil-opp Aug 22, 2023
3843eb1
Fix pose arrow type
phil-opp Aug 23, 2023
4c71518
Use problem matcher and caching for CI
phil-opp Aug 23, 2023
8164a2b
Fix sourcing of venv activate file on CI
phil-opp Aug 23, 2023
0805867
Merge branch 'arrow-type' into rebase
phil-opp Aug 23, 2023
e5cfc8c
Remove duplicate maturin install step
phil-opp Aug 23, 2023
84e67c7
Update Cargo.lock
phil-opp Aug 23, 2023
684ffa9
Update ros2-client dependency
phil-opp Aug 23, 2023
fa6dbb5
Use to_pyarrow instead of pythonize
phil-opp Aug 23, 2023
811186f
Remove `todo` by adding basic arrow type
haixuanTao Aug 23, 2023
4478875
Add `List` deserializer
haixuanTao Aug 23, 2023
d420759
Refactor default and type info to enable recursive typing
haixuanTao Aug 23, 2023
1fd51a9
Merge pull request #6 from dora-rs/arrow-type
phil-opp Aug 23, 2023
2fd6543
Serialize `List` for arrow
haixuanTao Aug 23, 2023
6e635d3
Update dora dependencies
phil-opp Aug 23, 2023
8392e15
Send direction output as float values again
phil-opp Aug 23, 2023
046071e
Get inner ros2 event before reading pose
phil-opp Aug 23, 2023
fa23727
Debug: try to convert data byte array back to arrow data
phil-opp Aug 23, 2023
ad5a18b
Revert "Debug: try to convert data byte array back to arrow data"
phil-opp Aug 23, 2023
bcafc3c
Revert "Send direction output as float values again"
phil-opp Aug 23, 2023
8769a9b
Update dora dependency to main branch
phil-opp Aug 24, 2023
bca3f5d
Merge branch 'main' into improve-python-lib
phil-opp Aug 24, 2023
f12f0e3
Remove type info
haixuanTao Aug 24, 2023
e7e016a
Optimize deserializing of basic type
haixuanTao Aug 24, 2023
e55be5c
Compute list default value when multiple default are provided
haixuanTao Aug 24, 2023
0337247
Merge pull request #8 from dora-rs/improve-python-lib
phil-opp Aug 25, 2023
d3b5b70
Update Cargo.lock
phil-opp Aug 25, 2023
bbf4a81
Merge branch 'main' into arrow-list
phil-opp Aug 25, 2023
c08bb14
Merge pull request #9 from dora-rs/arrow-list
phil-opp Aug 25, 2023
f3a8655
Add 'libraries/extensions/ros2-bridge/' from commit 'c08bb144060f6159…
phil-opp Aug 25, 2023
7cc4bd3
Update Cargo.toml files to integrate bridge into workspace
phil-opp Aug 25, 2023
c71c31e
Update ros2-client and rustdds dependencies
phil-opp Aug 25, 2023
623514d
Delete duplicate repo files (readme, license, gitignore)
phil-opp Aug 25, 2023
51f5418
Move rust-ros2-dataflow example to top level examples dir
phil-opp Aug 25, 2023
bae0293
Import ros2_bridge as experimental submodule of python node API
phil-opp Aug 25, 2023
b12f5e7
Adjust python-ros2-dataflow example and move it to top level
phil-opp Aug 25, 2023
1992c90
Run python-ros2-dataflow example on CI
phil-opp Aug 25, 2023
c2e0efd
Merge python-ci job into main ci job
phil-opp Aug 25, 2023
6699f18
Autoformat examples/python-ros2-dataflow/random_turtle.py
phil-opp Aug 29, 2023
626281b
Rename ros2 node binding to `ros2_node`
phil-opp Aug 29, 2023
2ef2b77
Remove ros2-bridge Python release script
phil-opp Aug 29, 2023
8fc566c
Reorder jobs in CI config file
phil-opp Aug 29, 2023
07e8145
Run rust ros2 bridge example on CI
phil-opp Aug 29, 2023
a4244f9
Delete standalone bridge examples
phil-opp Aug 29, 2023
1f01890
Remove ros2 bridge CI script and gitignore
phil-opp Aug 29, 2023
9beee52
Remove duplicate rust ros2 bridge example
phil-opp Aug 29, 2023
39c12aa
Fix: Standalone turtle example was removed
phil-opp Aug 29, 2023
2c97c89
Enable terminal colors on CI
phil-opp Aug 29, 2023
e314e2c
Set `QT_QPA_PLATFORM` env variable
phil-opp Aug 29, 2023
4123c3a
Add more context to action file parse errors
phil-opp Aug 29, 2023
26e04e6
Debug: print full content of action that fails to parse
phil-opp Aug 29, 2023
df5c509
Permit `\r` in action line separator
phil-opp Aug 29, 2023
bccde9b
Print action string after splitting on parse errors
phil-opp Aug 29, 2023
647f710
CI: Run ros2 bridge example in bash shell on Windows
phil-opp Aug 29, 2023
ddf3321
Fix CI: Spawn turtlesim_node in background
phil-opp Aug 29, 2023
cedb020
Run ros2 bridge examples on Linux only
phil-opp Aug 29, 2023
1a1d086
Fix: Skip step on macOS and Windows
phil-opp Aug 29, 2023
e77532f
Add pyarrow dependency
haixuanTao Aug 29, 2023
9805d06
Remove capnproto dependency
haixuanTao Aug 29, 2023
90c28de
Fix clippy warnings about unnecessary `.clone()`, `.into()`, borrowin…
haixuanTao Aug 29, 2023
fe73173
Avoid double trigger action of Github action by restricting push trig…
haixuanTao Aug 29, 2023
0835a19
Merge pull request #342 from dora-rs/small-refactoring
phil-opp Aug 29, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 0 additions & 40 deletions .github/workflows/ci-python.yml

This file was deleted.

58 changes: 57 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@ name: CI

on:
push:
branches:
- main
pull_request:
workflow_dispatch:

env:
RUST_LOG: trace
CARGO_TERM_COLOR: always

jobs:
test:
Expand Down Expand Up @@ -67,6 +70,59 @@ jobs:
timeout-minutes: 15
run: cargo run --example cxx-dataflow

- uses: ros-tooling/[email protected]
with:
required-ros-distributions: humble
- run: 'source /opt/ros/humble/setup.bash && echo AMENT_PREFIX_PATH=${AMENT_PREFIX_PATH} >> "$GITHUB_ENV"'
if: runner.os == 'Linux'
- name: "Rust ROS2 Bridge example"
timeout-minutes: 30
if: runner.os == 'Linux'
env:
QT_QPA_PLATFORM: offscreen
run: |
source /opt/ros/humble/setup.bash && ros2 run turtlesim turtlesim_node &
cargo run --example rust-ros2-dataflow --features="ros2-examples"

python-examples:
name: "Python Examples"
strategy:
matrix:
platform: [ubuntu-latest, macos-latest]
fail-fast: false
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v3

- uses: actions/setup-python@v2
with:
python-version: "3.10"

- uses: r7kamura/[email protected]
- run: cargo --version --verbose
- uses: Swatinem/rust-cache@v2

- name: "Python Dataflow example"
run: cargo run --example python-dataflow

- name: "Python Operator Dataflow example"
run: cargo run --example python-operator-dataflow

- uses: ros-tooling/[email protected]
with:
required-ros-distributions: humble
- run: 'source /opt/ros/humble/setup.bash && echo AMENT_PREFIX_PATH=${AMENT_PREFIX_PATH} >> "$GITHUB_ENV"'
if: runner.os == 'Linux'
- name: "python-ros2-dataflow"
timeout-minutes: 30
if: runner.os == 'Linux'
env:
QT_QPA_PLATFORM: offscreen
run: |
source /opt/ros/humble/setup.bash && ros2 run turtlesim turtlesim_node &
cargo run --example python-ros2-dataflow --features="ros2-examples"


CLI:
name: "CLI Test"
strategy:
Expand Down Expand Up @@ -99,7 +155,7 @@ jobs:
dora-cli list

# Test Rust template Project
dora-cli new test_rust_project --internal-create-with-path-dependencies
dora-cli new test_rust_project --internal-create-with-path-dependencies
cd test_rust_project
cargo build --all
dora-cli start dataflow.yml --name ci-rust-test
Expand Down
52 changes: 30 additions & 22 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ members = [
"libraries/extensions/download",
"libraries/extensions/telemetry/*",
"libraries/extensions/zenoh-logger",
"libraries/extensions/ros2-bridge",
"libraries/extensions/ros2-bridge/msg-gen",
"libraries/extensions/ros2-bridge/msg-gen-macro",
"libraries/extensions/ros2-bridge/python",
]

[workspace.package]
Expand All @@ -33,6 +37,7 @@ license = "Apache-2.0"

[workspace.dependencies]
dora-node-api = { version = "0.2.4", path = "apis/rust/node", default-features = false }
dora-node-api-python = { version = "0.2.4", path = "apis/python/node", default-features = false }
dora-operator-api = { version = "0.2.4", path = "apis/rust/operator", default-features = false }
dora-operator-api-macros = { version = "0.2.4", path = "apis/rust/operator/macros" }
dora-operator-api-types = { version = "0.2.4", path = "apis/rust/operator/types" }
Expand All @@ -49,6 +54,8 @@ dora-message = { version = "0.2.4", path = "libraries/message" }
dora-runtime = { version = "0.2.4", path = "binaries/runtime" }
dora-daemon = { version = "0.2.4", path = "binaries/daemon" }
dora-coordinator = { version = "0.2.4", path = "binaries/coordinator" }
dora-ros2-bridge = { path = "libraries/extensions/ros2-bridge" }
dora-ros2-bridge-python = { path = "libraries/extensions/ros2-bridge/python" }

[package]
name = "dora-examples"
Expand Down Expand Up @@ -101,6 +108,11 @@ path = "examples/c++-dataflow/run.rs"
name = "python-dataflow"
path = "examples/python-dataflow/run.rs"

[[example]]
name = "python-ros2-dataflow"
path = "examples/python-ros2-dataflow/run.rs"
required-features = ["ros2-examples"]

[[example]]
name = "python-operator-dataflow"
path = "examples/python-operator-dataflow/run.rs"
Expand Down
1 change: 1 addition & 0 deletions apis/python/node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ dora-runtime = { workspace = true, features = ["tracing", "python"] }
arrow = { version = "45.0.0", features = ["pyarrow"] }
pythonize = "0.19.0"
futures = "0.3.28"
dora-ros2-bridge-python = { workspace = true }

[lib]
name = "dora"
Expand Down
2 changes: 2 additions & 0 deletions apis/python/node/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ build-backend = "maturin"

[project]
name = "dora-rs"
# Install pyarrow at the same time of dora-rs
dependencies = ['pyarrow']

[tool.maturin]
features = ["pyo3/extension-module"]
Loading
Loading