haixuanTao
e12b29dcc6
Make type setting available for both forward slash and `::`
2 years ago
haixuanTao
c878862966
Use forward slash as it is default way of defining ros2 topic
2 years ago
Philipp Oppermann
1e510a4236
Improve error message: print message type and value
Co-authored-by: Haixuan Xavier Tao <tao.xavier@outlook.com>
2 years ago
Philipp Oppermann
9eecf22fee
Rename method
2 years ago
Philipp Oppermann
efb6a51c22
Fix: Wrap deserialized sequences into list of length 1
Required because arrow uses column-oriented data format, which requires all struct fields to have length 1.
2 years ago
Philipp Oppermann
4b7c43c323
Fix some unused code and import warnings
2 years ago
haixuanTao
945b3f887b
Changing `Struct` to `TupleStruct`
2 years ago
Philipp Oppermann
63188965c5
Add support for serializing arrow `BinaryArray` types
Arrow has a special `BinaryArray` type for storing lists of variable-sized binary data efficiently. This type is equivalent to a `ListArray` of `PrimitiveArray<u8>`, but it is a different data type.
This commit updates the Python ROS2 serialization code to permit BinaryArray for all uint8 array or sequence fields.
2 years ago
Philipp Oppermann
e5a037afea
Improve error messages
2 years ago
Philipp Oppermann
abc057dda2
Remove commented out code
2 years ago
Philipp Oppermann
4b8dbfc7c2
Add support for (de)serializing arrays/sequences of structs and strings
2 years ago
Philipp Oppermann
13273824e1
Rework python ROS2 (de)serialization using parsed ROS2 messages directly
Use ROS2 types as type info to ensure that serialization type matches exactly. This is necessary because the types need to match exactly, otherwise the serialization or deserialization will result in invalid data.
Using arrow schemas to specify the ROS2 message types does not work because not all ROS2 message types can be represented. For example, ROS2 serializes arrays with known length differently than sequences with dynamic length.
2 years ago
haixuanTao
4085ebc46b
Make PrimitiveArray only serialize one element at a time
2 years ago
haixuanTao
f436fafc07
Serialize by looping over the array
This should fix: https://github.com/dora-rs/dora-autoware/discussions/9
2 years ago
haixuanTao
64fece9c47
Generate the right size of default value for array
2 years ago
haixuanTao
b79172c9bc
Removing `coordinator_addr` for `run_dataflow` command
2 years ago
haixuanTao
eadf6b3557
Remove sleep in multiple daemons as compiling dora cli is fast enough
2 years ago
haixuanTao
81154c4b9f
Remove top-level unused dependencies
2 years ago
haixuanTao
80a79aa3a5
make `build.rs` faster by rerun only if `build.rs` changes
2 years ago
haixuanTao
7b37ac7218
Remove typo in release CI
2 years ago
Haixuan Xavier Tao
87c52160a2
Merge pull request #413 from dora-rs/sync-before-destroy
Wait until `DestroyResult` is sent before exiting dora-daemon
2 years ago
Philipp Oppermann
e701eb4182
Fix: enable sync module of tokio
2 years ago
Philipp Oppermann
cb69a033f0
Wait until `DestroyResult` is sent before exiting dora-daemon
Tokio background tasks are canceled when the program exits, so we need some additional synchronization to ensure that the `DestroyResult` is actually sent out.
2 years ago
Philipp Oppermann
249b2925f8
Revert "Respond to coordinator destroy immediately to avoid end of file error"
This reverts commit 5c16c59b6f .
2 years ago
haixuanTao
5c16c59b6f
Respond to coordinator destroy immediately to avoid end of file error
2 years ago
haixuanTao
28be4a6663
Fix example by using the right daemon command
2 years ago
haixuanTao
7fddec2665
Make cli faster by reruning c_operator_type compilation dependent on modification of its source code
2 years ago
haixuanTao
05f919e06c
Use cli to spawn daemon run-dataflow to avoid confused exe path
2 years ago
haixuanTao
56bf90956c
Keep release as zip
2 years ago
haixuanTao
054ae5afcc
Fix multiple daemon example
2 years ago
haixuanTao
ddf94f7094
Adding ctrlc back to their individual repo
2 years ago
haixuanTao
f15f9320dc
Remove zipping of binary for simpler CD and download
2 years ago
haixuanTao
c72844270a
update CD to ship dora as a single binary ( zipped )
2 years ago
haixuanTao
88902cb97b
Make tracing available for node in the runtime
2 years ago
haixuanTao
0568656ef0
Remove unused dependencies for faster compile time
2 years ago
haixuanTao
eb7396eba2
Update ci
2 years ago
haixuanTao
4ec81cc743
Removing old main files
2 years ago
haixuanTao
54b0882f6f
link up command with the newly added binaries within the cli
2 years ago
haixuanTao
f85011837d
Remove unused runtime args from examples
2 years ago
haixuanTao
6dfd4b17b3
adding daemon, coordinator and runtime command in the cli
2 years ago
haixuanTao
48534c9af2
Removing runtime from the daemon
2 years ago
Haixuan Xavier Tao
56c05743ed
Merge pull request #409 from dora-rs/v0.3.1
Release version v0.3.1
2 years ago
haixuanTao
afae2bdece
Bump to version 0.3.1
2 years ago
haixuanTao
fd7c0939df
Run `cargo fmt --all`
2 years ago
haixuanTao
dec4b0f87d
Bump to 0.3.1-rc6
2 years ago
haixuanTao
4978f800a6
Fix clippy and rust warnings
2 years ago
haixuanTao
ee780df145
Bump rust toolchain to use `stdsimd` feature on 1.72.
See: https://github.com/tkaitchuck/aHash/issues/195
Related to: https://github.com/dora-rs/dora/actions/runs/7465955428/job/20316250830
2 years ago
haixuanTao
c33d941f1a
Add changelog
2 years ago
haixuanTao
6c6d1c643e
bump to version v0.3.1-rc5 to test CD
2 years ago
Haixuan Xavier Tao
e35ed75e87
Merge pull request #398 from dora-rs/fix-window-path-error
Fix window path error
2 years ago