haixuanTao
c67affc8c3
Copy ros2 briddge example from dora-rs repository
3 years ago
haixuanTao
362d45c681
Move Python example to a folder including the word ros2
3 years ago
haixuanTao
49a1695156
fixing couple of issue within the dataflow example
3 years ago
haixuanTao
f8ccd3b813
Add dataflow example
3 years ago
haixuanTao
37b2ce4d7f
Migrate example into `examples` folder
3 years ago
haixuanTao
ebc763bf1c
Remove ros dependency as ament_prefix_path is used at runtime
3 years ago
haixuanTao
9eb1aa4515
Rewrite linux script in powershell for windows
3 years ago
haixuanTao
3980e5da1e
Set ament_prefix_path before compiling
3 years ago
haixuanTao
aca934d702
Add ROS2 to generate standard msg with ament_predfix_path
3 years ago
haixuanTao
9720456cc0
Fix missing commit as it has been forced pushed
3 years ago
haixuanTao
19dd68c30b
Adding pypi release workflow
3 years ago
Philipp Oppermann
98a42a1769
Don't build random_turtle example by default, as it requires ROS2 install
3 years ago
Philipp Oppermann
325b437583
Add a basic CI file
3 years ago
Philipp Oppermann
d152ee3b03
Merge pull request #2 from dora-rs/python-ros2-bridge
Start creating a Python ROS2 bridge
3 years ago
Philipp Oppermann
d02f473130
Remove local copy of `ros2-client` again
3 years ago
Philipp Oppermann
a31cf6bdb6
Use `dora-rs/ros2-client` instead of local copy
3 years ago
Philipp Oppermann
16e7a246fa
Remove in-tree fork of `rustdds` again
In favor of separate repo.
3 years ago
Philipp Oppermann
c849a0f145
Update Python ROS2 bridge for new `DeserializeSeed` design in `ros2-client`/`rustdds`
3 years ago
Philipp Oppermann
77ed2992ac
Adjust `ros2-client` for new `rustdds` design with `DeserializeSeed` support
3 years ago
Philipp Oppermann
0eb85ba657
Update `ros2-client` to latest `master` commit of `rustdds`
3 years ago
Philipp Oppermann
df50a23058
Print pose in Python turtle teleop example
3 years ago
Philipp Oppermann
02ca73dc48
Add support for typed serialization using `DeserializeSeed`
3 years ago
Philipp Oppermann
d2c1bd753c
Used untyped subscribe type in python Ros2 bridge
3 years ago
Philipp Oppermann
c751ca7e14
Add untyped subscribe API and support for new type paramters in ros2-client
3 years ago
Philipp Oppermann
698d4824ee
Implement Seed variant of `try_take_one`
3 years ago
Philipp Oppermann
7f105cef22
Deduplicate deserialize and deserialize_seed methods
3 years ago
Philipp Oppermann
cfb9f2d273
Run cargo fmt
3 years ago
Philipp Oppermann
2ce556dd18
Remove superfluous generic parameter `K` again
3 years ago
Philipp Oppermann
14b1359a7a
Add `Key` bound on `Keyed::K`
This way we don't need to specify the bound everywhere.
3 years ago
Philipp Oppermann
ce490a307a
Add `deserialize_seed` function to simple data reader
3 years ago
Philipp Oppermann
10be921413
Refactor: Use key as generic parameter for keyed DataReader
This makes it easier to support DeserializeSeed-based deserialization.
3 years ago
Philipp Oppermann
99469a6000
Start adding support for DeserializeSeed-based CDR deserialization
3 years ago
Philipp Oppermann
eef4def103
Move DeserializerAdapter bounds to methods
Allows us to reuse the structs for a DeserializeSeed implementation in the future.
3 years ago
Philipp Oppermann
5d53a67457
Fix overly strict lifetime requirements for deserialization helpers
There is no need for the input data to live exactly as long as the deserializer.
3 years ago
Philipp Oppermann
e5fc21b0d2
Don't deny clippy
3 years ago
Philipp Oppermann
168b597473
Switch rustdds to tag 0.8.3
3 years ago
Philipp Oppermann
858921f8aa
Start forking `rustdds` too
3 years ago
Philipp Oppermann
d26cc96fed
Split typed serialized code into submodule
3 years ago
Philipp Oppermann
4fb6789ecd
Start forking `ros2-client`
3 years ago
Philipp Oppermann
a9d5e09f45
Add support for default values
3 years ago
Philipp Oppermann
312a6bc3f0
Remove debug print
3 years ago
Philipp Oppermann
45ea8609fa
Create Python-based random turtle example
3 years ago
Philipp Oppermann
46413dba5c
Allow setting via optional argument
3 years ago
Philipp Oppermann
8502c1a3a3
Fix encoded type name
ROS2/DDS seems to require a specific type name format for messages.
3 years ago
Philipp Oppermann
448b5add07
Simplify QoS construction by using optional arguments
3 years ago
Philipp Oppermann
0cdbd924a3
Add support for referencing messages from same namespace
Also: implement f64 support to support Twist message.
3 years ago
Philipp Oppermann
9b01f03787
Parse ROS2 messages on context generation and start implementing TypeInfo conversion
3 years ago
Philipp Oppermann
dd21b0cec0
Start implementing typed CDR serialization based on runtime types
The encoding of the CDR format is different for different data types. For example, structs are encoded differently than maps. Since Python does not provide native equivalents to all CDR types, we need to some type conversion to the type specified in the `msg` files.
This commit starts implementing such a system through a new `TypeInfo` enum, which we will generate from the ROS2 msg files at runtime. For serialization, we now use a custom `TypedValue` type that calls the correct `serialize_x` functions of serde.
3 years ago
Philipp Oppermann
2b71b34137
Start creating a Python ROS2 bridge
3 years ago
Philipp Oppermann
160f95d6ef
Merge pull request #1 from dora-rs/split-crate
Split parsing into separate crate
3 years ago