Chrislearn Young
26f9973ae3
cargo fmt
6 months ago
Chrislearn Young
dcfaee05b7
Fix all `cargo clippy` warning
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
XxChang
2488d0916c
fix event_as_input bug
1 year ago
Philipp Oppermann
3a249642ab
Fix unresolved crate errors in generated code for C++ API
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
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
2 years 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
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
Philipp Oppermann
4b03b773ce
Minor improvents to C++ node API
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
d334c6f243
Make `daemon` module of Rust node API private and reexport symbols
2 years ago
Philipp Oppermann
a406d2e3cc
Update C++ API for new daemon design
3 years ago
Philipp Oppermann
c56e9ea57e
Create C++ node API library
3 years ago