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
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
f436fafc07
Serialize by looping over the array
This should fix: https://github.com/dora-rs/dora-autoware/discussions/9
2 years ago
haixuanTao
fd7c0939df
Run `cargo fmt --all`
2 years ago
Philipp Oppermann
4da13cc503
Prepare update to latest versions of RustDDS and `ros2-client`
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
haixuanTao
90c28de777
Fix clippy warnings about unnecessary `.clone()`, `.into()`, borrowing and let statement
2 years ago
Philipp Oppermann
bae02930df
Import ros2_bridge as experimental submodule of python node API
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