haixuanTao
7aa1d615dd
Remove envapsulation of operator when there is only one operator
2 years ago
haixuanTao
e8f658f9cf
Fixing clippy warnings
2 years ago
haixuanTao
659a3e5aaf
Use `timestamp[ms]` to represent time
2 years ago
haixuanTao
1413d540cb
Adding comment on Datetime format and adding uhlc for log & replay in future
uhlc is necessary to keep the ordering of messages.
2 years ago
haixuanTao
2561533b63
Removing `Writer_Context` as `arrow 0.48` access the underlying schema file
2 years ago
haixuanTao
4bf3f7e48f
Split otel context into `traceid` and `spanid`
2 years ago
haixuanTao
319f1c93b1
Use `trace_id` within the logs
2 years ago
haixuanTao
3ae07203cc
replacing `zenoh-logger` with `dora-record`
2 years ago
Philipp Oppermann
ad3f0482ac
Avoid alignment errors by aligning raw data on deseralization
Ensures that all raw data has at least an alignment of 128.
2 years ago
Philipp Oppermann
c6ce45785f
Rework raw data to arrow array conversion
- If input has no data, return an empty `NullArray` instead of an empty byte array.
- If input contains Vec data (instead of shared memory data), use safe `arrow::buffer::Buffer::from_vec` constructor, which is also zero-copy.
2 years ago
Philipp Oppermann
8cc5837cfa
Update `arrow` and `pyo3` dependencies to latest versions
2 years ago
Philipp Oppermann
10c15d5074
Fix: Remove invalid array length checks when reading byte arrays
2 years ago
Philipp Oppermann
6140681ab9
Rename and reexport `Data` enums
Makes the distinction between raw data and data messages clearer.
2 years ago
Philipp Oppermann
8f9e2cae61
Add more Rust<->arrow conversions
2 years ago
Philipp Oppermann
9a10280595
Simplify reading of primitive and string types from arrow arrays
- introduce a new `ArrayData` wrapper struct
- implement `TryFrom` to convert to primitive types and strings
- update examples to use the new conversion functions
2 years ago
Philipp Oppermann
89f980e753
Simplify arrow array construction through new `IntoArrow` trait
2 years ago
haixuanTao
3c737f8957
Fix clippy
2 years ago
haixuanTao
1d18d2ce62
Remove unnecessary ro2value encapsulation
2 years ago
Philipp Oppermann
2a19044919
Automatically convert from Python dict to arrow array in ROS2 publish
2 years ago
Philipp Oppermann
7f90c13cc2
Automatically convert from `StructScalar` to `ArrayData` in ROS2 publish method
2 years ago
Philipp Oppermann
8b2e5f9386
Fix: Use expected type for serializing
This way we get an error on incompatible types, instead of sending out invalid data.
2 years ago
Philipp Oppermann
19f9cc7c90
Add support for arbitrary Arrow types in Python API
2 years ago
Philipp Oppermann
0835a19dd2
Merge pull request #342 from dora-rs/small-refactoring
Small refactoring
2 years ago
haixuanTao
90c28de777
Fix clippy warnings about unnecessary `.clone()`, `.into()`, borrowing and let statement
2 years ago
haixuanTao
9805d06bdd
Remove capnproto dependency
2 years ago
Philipp Oppermann
bccde9b5d3
Print action string after splitting on parse errors
2 years ago
Philipp Oppermann
df5c509479
Permit `\r` in action line separator
2 years ago
Philipp Oppermann
26e04e63ce
Debug: print full content of action that fails to parse
2 years ago
Philipp Oppermann
4123c3a6ce
Add more context to action file parse errors
2 years ago
Philipp Oppermann
39c12aa83c
Fix: Standalone turtle example was removed
2 years ago
Philipp Oppermann
1f01890c2a
Remove ros2 bridge CI script and gitignore
2 years ago
Philipp Oppermann
a4244f9eb0
Delete standalone bridge examples
2 years ago
Philipp Oppermann
2ef2b770d2
Remove ros2-bridge Python release script
It's now bundled with the main dora library, so there's no need to release it separately.
2 years ago
Philipp Oppermann
b12f5e7620
Adjust python-ros2-dataflow example and move it to top level
2 years ago
Philipp Oppermann
bae02930df
Import ros2_bridge as experimental submodule of python node API
2 years ago
Philipp Oppermann
51f5418400
Move rust-ros2-dataflow example to top level examples dir
2 years ago
Philipp Oppermann
623514d69b
Delete duplicate repo files (readme, license, gitignore)
2 years ago
Philipp Oppermann
7cc4bd3361
Update Cargo.toml files to integrate bridge into workspace
2 years ago
Philipp Oppermann
f3a8655d02
Add 'libraries/extensions/ros2-bridge/' from commit 'c08bb144060f61594c8d32dd3725691ec57ebcfb'
git-subtree-dir: libraries/extensions/ros2-bridge
git-subtree-mainline: 8e7688a593
git-subtree-split: c08bb14406
2 years ago
haixuanTao
0220d1ef65
Adding `data_type` to metadata for typing output
2 years ago
haixuanTao
6b910ab619
Adding `arrow-schema` as dependency
2 years ago
haixuanTao
eb515c7755
Removing lifetime to the Metadata struct
2 years ago
haixuanTao
19172523df
Update `pyo3` and `arrow` version to use latest version
2 years ago
haixuanTao
504910c350
Use `serde_bytes` to serialize `Vec<u8>`
Seializing Vec<u8> by default iterate over each element instead of copying
the byte array.
See: https://github.com/rust-lang/rust/issues/31844
2 years ago
Haixuan Xavier Tao
53198b861b
Merge pull request #248 from dora-rs/shmem-read-only
Map shared memory region as read-only in receiver
2 years ago
haixuanTao
2f0300076f
Search for binaries in path when validating a dataflow
2 years ago
Philipp Oppermann
979573689a
Switch to forked `shared_memory_extended` crate
The maintainer of the `shared_memory` crate did not react to our PR, so I decided to create a (temporary) fork.
2 years ago
Philipp Oppermann
4da34d82d9
Merge branch 'main' into event-timestamps
2 years ago
Philipp Oppermann
984ee364e4
Fill in timestamps when sending events from node to daemon
2 years ago
Haixuan Xavier Tao
2e9108e894
Merge pull request #301 from dora-rs/pass-dataflow-to-nodes
Make dataflow descriptor available to Python nodes and operators
2 years ago