Haixuan Xavier Tao
edb2a28d2f
Merge pull request #425 from dora-rs/c++-ros2-bridge
Add ROS2 bridge support for C++ nodes
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
57de69738f
Update `run.rs` to work with latest master changes
1 year ago
Philipp Oppermann
58d13c06fa
Add missing import
1 year ago
Philipp Oppermann
da44f75235
Run c++ ros2 example on CI
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
e8b87f0338
Merge branch 'main' into c++-ros2-bridge
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
dc8a794835
Fix some dead code warnings
1 year ago
Philipp Oppermann
3e7b73a9ca
Update c++-dataflow example for new event iteration syntax
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
Haixuan Xavier Tao
d0df0f67a8
Merge pull request #424 from dora-rs/update-bat
1 year ago
Philipp Oppermann
973e991359
Merge pull request #423 from dora-rs/metrics-refactoring
Metrics refactoring
1 year ago
Philipp Oppermann
fecb58be60
Update `bat` dependency to v0.24
1 year ago
haixuanTao
4ca53258ad
Move opentelemetry implementation to `dora metrics`
2 years ago
Philipp Oppermann
0d75f5391f
First implementation of subscription stream merging and downcasting
1 year ago
haixuanTao
0725620eab
Simplyfing the metrics functionality by using meter provider instead of
the global meter.
2 years ago
Haixuan Xavier Tao
96074a5313
Merge pull request #420 from dora-rs/v0.3.2
Bump dora version to 0.3.2
2 years ago
haixuanTao
2faed0e828
Bump to v0.3.2
2 years ago
haixuanTao
0985bd4f9b
Make first positional argument optional
Bump 0.3.2-rc2
2 years ago
haixuanTao
573a7bc425
Make it possible to check the logs without passing uuid
This commit make it possible to check the logs as follows:
```bash
dora logs object_detection
```
If more than one dataflow is running, we will inquire for which dataflow to use.
2 years ago
haixuanTao
ead8eb9654
Fix release
2 years ago
haixuanTao
cb74ee1aee
Bump to `0.3.2-rc1`
2 years ago
Haixuan Xavier Tao
80827394f1
Merge pull request #419 from dora-rs/ros2-forward-slash
Use forward slash as it is default way of defining ros2 topic
2 years ago
haixuanTao
e12b29dcc6
Make type setting available for both forward slash and `::`
2 years ago
Philipp Oppermann
c417aa4051
Merge pull request #418 from dora-rs/test-to-ros2-fix
Test ros2 type info
2 years ago
Philipp Oppermann
f9b142b57a
Merge pull request #415 from dora-rs/ros2-type-info
Rework python ROS2 (de)serialization using parsed ROS2 messages directly
2 years ago
Philipp Oppermann
1addfa385a
Add more context to error messages when serializing nested message
2 years ago
haixuanTao
aa2ffafba1
Test ros2-bridge within the ros2 job to use the right dependencies
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
haixuanTao
c9e4a696a3
Adding numpy and pyarrow dependencies
2 years ago
haixuanTao
cf7c5552d1
Using python file to declare test array and test them
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
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
Haixuan Xavier Tao
f0cb96571b
Merge pull request #410 from dora-rs/single-binary
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
Philipp Oppermann
b22edb84f3
Merge pull request #414 from dora-rs/dependabot/cargo/h2-0.3.24
Bump h2 from 0.3.21 to 0.3.24
2 years ago
haixuanTao
4085ebc46b
Make PrimitiveArray only serialize one element at a time
2 years ago
dependabot[bot]
fe78982a26
Bump h2 from 0.3.21 to 0.3.24
Bumps [h2](https://github.com/hyperium/h2 ) from 0.3.21 to 0.3.24.
- [Release notes](https://github.com/hyperium/h2/releases )
- [Changelog](https://github.com/hyperium/h2/blob/v0.3.24/CHANGELOG.md )
- [Commits](https://github.com/hyperium/h2/compare/v0.3.21...v0.3.24 )
---
updated-dependencies:
- dependency-name: h2
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2 years ago