Chrislearn Young
26f9973ae3
cargo fmt
5 months ago
Chrislearn Young
27db3a228a
Update rust edition to 2024
6 months ago
Chrislearn Young
dcfaee05b7
Fix all `cargo clippy` warning
6 months ago
Chrislearn Young
bcf591deb4
Remove rust--toolchain.toml and use rust-version in Cargo.toml
6 months ago
haixuantao
d155ee789a
Fix stop in example nodes
7 months ago
Mati-ur-rehman-017
8e48debcad
formatting
10 months ago
Mati-ur-rehman-017
eb69afe890
Functions for sending and recieving data using Arrow::FFI
10 months ago
haixuantao
4b5e6e2422
fix clippy linting
10 months ago
haixuantao
e4ee88a89f
fix ros2 bridge
10 months ago
haixuantao
2f20ec4521
Make sure to handle cross compilation
10 months ago
yjhmelody
ca614753a1
chore: use workspace edition
1 year ago
Philipp Oppermann
8e8034d103
Set `repository` metadata for all our crates
1 year ago
XxChang
2488d0916c
fix event_as_input bug
1 year ago
Philipp Oppermann
147bcc4979
Extend ROS2 node API README with ROS2 service client instructions
1 year ago
Philipp Oppermann
3a249642ab
Fix unresolved crate errors in generated code for C++ API
1 year ago
Philipp Oppermann
a6a5181875
Merge pull request #433 from dora-rs/fix-warning
Fix warning about `#pragma once` in main file
1 year ago
Philipp Oppermann
ac6eaec417
Merge pull request #428 from dora-rs/c++-ros2-constants
Expose ROS2 constants in generated bindings (Rust and C++)
1 year ago
Philipp Oppermann
c92bad3faf
Fix warning about `#pragma once` in main file
We do some manual header insertion into the ROS2 bindings `.cc` file to fix some import errors. This commit skips copying of the `#pragma once` attribute at the beginning to avoid a C++ warning.
1 year ago
Philipp Oppermann
27ce7d3a9d
Provide function to create empty `CombinedEvents` stream
Enables using the C++ ROS2 API independent of Dora.
1 year ago
Philipp Oppermann
4175936854
Explain ROS2 constant access in C++ node API Readme
1 year ago
Haixuan Xavier Tao
f258fbe3f6
Fix Typo
1 year ago
Philipp Oppermann
70fb49bdd5
Write usage instructions for C++ ROS2 bridge
1 year ago
Philipp Oppermann
58d13c06fa
Add missing import
1 year ago
Philipp Oppermann
2d6b5b9807
Start documenting C++ node API
1 year ago
Philipp Oppermann
3b1777c2e2
Fix: Respect `CARGO_TARGET_DIR` if set
1 year ago
Philipp Oppermann
de6917ae00
C++ API: Add back `next_event` function for backwards compatibility
1 year ago
Philipp Oppermann
2eeb40b1ff
Fix operator API: Box optional error string since `Option<String>` is not FFI-safe
1 year ago
Philipp Oppermann
0074ffd6e8
Refactor C++ ROS2 subscription API to make downcasts work
Use the subscriber type for downcasting to ensure that the correct type is used. Also, store an unique ID per subscriber to differentiate subscriptions of same type after merging.
1 year ago
Philipp Oppermann
0d75f5391f
First implementation of subscription stream merging and downcasting
1 year ago
Philipp Oppermann
20434e6492
Move c++ ros2 bridge generation to node API crate to allow stream merging
Stream merging based on the cxx crate requires the bridge and the api to share an `ExternalEvents` type, which is only possible if the two bridge modules are defined in the same crate.
2 years ago
Philipp Oppermann
523d3544d2
Re-export `dora_ros2_bridge` from c++ API to ensure that all symbols are linked
2 years ago
Philipp Oppermann
d3d666040d
Fix building of ros2-bridge dependencies
2 years ago
Philipp Oppermann
b5cbea1a20
Include ros2-bridge header files in `dora-node-api-cxx`
2 years ago
Philipp Oppermann
a54f000507
Update C++ operator API to use new conversions
2 years ago
Philipp Oppermann
89f980e753
Simplify arrow array construction through new `IntoArrow` trait
2 years ago
Philipp Oppermann
6154415cbc
Update Rust APIs and rust-dataflow-example to use arrow types
2 years ago
Philipp Oppermann
2ca97fdc6b
Remove lifetime from `Event` type
Don't bind the lifetime of the event to the `next` call anymore. This makes it possible to use the original event in Python, which does not support borrowed data or lifetimes. The drawback is that we no longer have the guarantee that an event is freed before the next call to `recv`.
2 years ago
haixuanTao
7a7a20a298
Add missing licenses and centralise license definition
test new crates version release
2 years ago
haixuanTao
101ddd2092
add documentation and description to all crates
test rc 2 version
fix version typo
Test crates.io new dora tag release
2 years ago
haixuanTao
f5b65d6de7
Remove unused dependencies to simplify publishing
Remove unused dependencies
2 years ago
haixuanTao
70e6d4ce8f
Remove code duplicate for tracing subscriber and use env variable to manage log level.
The intent of this commit is to remove the quantity of log that is being pushed to user.
This commit removes the redeclaration of a set up tracing methods to centralise
the tokio-tracing subscriber within the extension crate. It also add the
feature to filter information based on Environment variable.
This makes it possible to define the log level for tokio tracing like
this:
```
RUST_LOG=debug dora-daemon --run-dataflow dataflow.yml
```
I have also unified the feature flag to make it easier to manage tracing features among the workspace.
I did not change the default behaviour of tracing in our crates and therefore by
using the command above you should get the same tracing log as before.
fix merge conflict generated
2 years ago
Philipp Oppermann
4b03b773ce
Minor improvents to C++ node API
2 years ago
Philipp Oppermann
df17e2b2cf
Enable tracing subscriber for C and C++ node APIs by default
2 years ago
Philipp Oppermann
6b0a7de34a
Remove unneeded `free_dora_node` from C++ node API
The cxx crate is able to invoke the Rust destructors from C++
2 years ago
Philipp Oppermann
7fdbca12c6
Fix check errors
2 years ago
Philipp Oppermann
d334c6f243
Make `daemon` module of Rust node API private and reexport symbols
2 years ago
Philipp Oppermann
1e07a73a64
Merge branch 'main' into unify-nodes-and-operators
2 years ago
dependabot[bot]
b74a524031
Bump tokio from 1.23.1 to 1.24.2
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.23.1 to 1.24.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/commits )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
dependabot[bot]
ae161e644c
Bump tokio from 1.21.2 to 1.23.1
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.21.2 to 1.23.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.21.2...tokio-1.23.1 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
Philipp Oppermann
a406d2e3cc
Update C++ API for new daemon design
3 years ago