Philipp Oppermann
d3914cca60
Merge pull request #157 from dora-rs/release
Simplify release process
3 years ago
dependabot[bot]
2ba6b1c41c
Bump capnp from 0.14.9 to 0.14.11 ( #158 )
Bumps [capnp](https://github.com/capnproto/capnproto-rust ) from 0.14.9 to 0.14.11.
- [Release notes](https://github.com/capnproto/capnproto-rust/releases )
- [Commits](https://github.com/capnproto/capnproto-rust/compare/capnp-v0.14.9...capnp-v0.14.11 )
---
updated-dependencies:
- dependency-name: capnp
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
Philipp Oppermann
d8260d5d2c
Inherit package version from workspace root
This way, we don't need to update the version manually in all sub-crates on every release.
3 years ago
haixuanTao
b15d25b9a3
Fix clippy warnings
3 years ago
haixuanTao
9a0b303e98
Replace all versions to `v0.1.1`
3 years ago
haixuanTao
294990e307
Make `stop_thread` not borrow `communication` for static
3 years ago
Philipp Oppermann
fc50a8232f
Create a request/reply communication layer abstraction
And a TCP-based implemenation.
3 years ago
Philipp Oppermann
5375628930
Allow operators to stop the full dataflow
Useful in case of emergencies.
3 years ago
Philipp Oppermann
8fbe60acf0
Merge branch 'main' into uhlc
3 years ago
Philipp Oppermann
c2f3587de0
Use a weak sender for manual stop subscription
Don't keep the inputs channel open if only the manual stop subscription remains. For example, this happens when a operator has no inputs at all.
3 years ago
Philipp Oppermann
35c64293db
Listen for manual stop messages in custom nodes
3 years ago
Philipp Oppermann
c4da2cbdad
Refactor: Move configuration to `core` crate
3 years ago
Philipp Oppermann
1c1891446a
Add `uhlc` timestamp to message metadata
3 years ago
Philipp Oppermann
0caab8f5b6
Print error causes for message parsing errors
3 years ago
Philipp Oppermann
47896abe81
Fix: Also add metadata to data slice
3 years ago
Philipp Oppermann
6ab39e229b
Don't serialize data to provide true zero-copy reading and writing
3 years ago
Philipp Oppermann
7e9c3050f9
Use `tracing` for logging state of nodes, coordinator, and runtimes
3 years ago
Philipp Oppermann
e0cc48a557
Move `dora-message` crate directly under `libraries` (it's not really an extension)
3 years ago
Philipp Oppermann
0df06fce86
Send metadata in messages encoded with capnproto
Changes the message format from raw data bytes to a higher-level `Message` struct serialized with capnproto. In addition to the raw data, which is sent as a byte array as before, the `Message` struct features `metadata` field. This metadata field can be used to pass open telemetry contexts, deadlines, etc.
3 years ago
Philipp Oppermann
f473c856c1
Fix clippy warnings across whole projects
3 years ago
Philipp Oppermann
081349a2a9
Fix: Only import communication layer structs if they're enabled
3 years ago
Philipp Oppermann
c783f8d2b8
Make `iceoryx` group name configurable instead of defaulting to 'dora'
3 years ago
Philipp Oppermann
848e136a75
Move communication layer implementation into separate library
To make it usable for other projects.
3 years ago
Philipp Oppermann
60c12f4d69
Rework stop message handling to avoid 'unexpected disconnection' errors
With the previous solution, the stop channel thread sometimes panicked with 'stop stream was disconnected unexpectedly'.
3 years ago
Philipp Oppermann
3997b2d3e3
Remove some println logging in Rust node API
3 years ago
Philipp Oppermann
e508c478eb
Increase sleep duration before closing zenoh session to 2 secs
We still saw some missed stop messages on the CI with the 1sec delay.
3 years ago
Philipp Oppermann
5650d5dfce
Delay dropping of zenoh communication layer to ensure that stop message is sent
Zenoh seems to drop the messages in its send queue when the session is closed. The stop messages are critical, so we wait a bit to ensure that they're actually sent.
3 years ago
Philipp Oppermann
d81e58a821
Don't build iceoryx module on Windows
3 years ago
Philipp Oppermann
6caef3b149
Disable iceoryx support on Windows
It causes lots of linker errors on Windows. The `iceoryx-rs` crate does not seem to support Windows at the moment.
3 years ago
Philipp Oppermann
63cb32ed46
Make icoryx and zenoh communication layers optional
3 years ago
Philipp Oppermann
20974a1ad1
Fix: don't skip serialization of topic prefix, otherwise it won't reach nodes
3 years ago
Philipp Oppermann
03348c5be8
Redesign communication layer to be synchronous and add support for iceoryx
3 years ago
Philipp Oppermann
09866cbb2b
Create an example C++ node based on Rust node API and `cxx` crate
3 years ago
Philipp Oppermann
4b9807735f
Merge branch 'main' into c-node-api
3 years ago
Philipp Oppermann
7c801fba2f
Merge branch 'main' into stop-operation
3 years ago
Philipp Oppermann
dbf189e239
Resolve clippy warnings
3 years ago
Philipp Oppermann
474c1e2465
Remove unused dependency
3 years ago
Philipp Oppermann
41afaed2c1
Add some more log messages
3 years ago
Philipp Oppermann
047252be6b
Avoid intermediate allocations by implementing Display instead of ToString
3 years ago
Philipp Oppermann
20501ca461
Send dora timer messages from coordinator
3 years ago
Philipp Oppermann
3c8ee37795
Implement parsing of new dora timer input keys
3 years ago
haixuanTao
515ae91151
making `CommunicationLayer` Send and Sync
3 years ago
haixuanTao
edbd10e410
add `Send` trait to the communicationLayer
The `Send` Trait is required by pyo3 for the python binding
3 years ago
Philipp Oppermann
bc56b5947d
Implement alias syntax for runtime nodes with single python operator
3 years ago
haixuanTao
28a902d83a
Moving folders in correspondance with #41
Simply moving crate to mirror our discussion without touching at names
3 years ago