add rclrs usage
This commit is contained in:
parent
152fce79a3
commit
40b6ce6653
|
|
@ -84,13 +84,14 @@ impl From<YourROSPointCloud2> for PointCloud2Msg {
|
|||
|
||||
## Integrations
|
||||
|
||||
There are currently 2 integrations for common ROS crates such as rosrust for ROS1 and R2R for ROS2.
|
||||
There are currently 3 integrations for common ROS crates.
|
||||
- [rosrust_msg](https://github.com/adnanademovic/rosrust)
|
||||
- [](https://github.com/stelzo/ros_pointcloud2/actions/workflows/rosrust_noetic.yml)
|
||||
- [r2r_msg](https://github.com/sequenceplanner/r2r)
|
||||
- [](https://github.com/stelzo/ros_pointcloud2/actions/workflows/r2r_galactic.yml)
|
||||
- [](https://github.com/stelzo/ros_pointcloud2/actions/workflows/r2r_humble.yml)
|
||||
- [](https://github.com/stelzo/ros_pointcloud2/actions/workflows/r2r_iron.yml)
|
||||
- [rclrs_msg](https://github.com/ros2-rust/ros2_rust)
|
||||
|
||||
You can use them by enabling the corresponding feature. Example:
|
||||
```toml
|
||||
|
|
@ -98,6 +99,12 @@ You can use them by enabling the corresponding feature. Example:
|
|||
ros_pointcloud2 = { version = "*", features = ["r2r_msg"]}
|
||||
```
|
||||
|
||||
For `rclrs_msg`, features do not work properly because of the way it generates the messages. You need to use tags instead:
|
||||
```toml
|
||||
[dependencies]
|
||||
ros_pointcloud2 = { git = "https://github.com/stelzo/ros_pointcloud2", tag = "v0.3.2_rclrs", features = ["rclrs_msg"] }
|
||||
```
|
||||
|
||||
Please open an issue or PR if you want to see support for other crates.
|
||||
|
||||
## Features
|
||||
|
|
|
|||
Loading…
Reference in New Issue