rename to lh

This commit is contained in:
stelzo 2025-05-16 14:37:43 +02:00
parent f30dd200ed
commit af04877edc
3 changed files with 6 additions and 6 deletions

View File

@ -59,7 +59,7 @@ path = "benches/roundtrip.rs"
serde = ["dep:serde", "nalgebra/serde-serialize-no-std"]
rosrust_msg = ["dep:rosrust_msg", "dep:rosrust"]
r2r_msg = ["dep:r2r"]
ros2-interfaces-jazzy-rkyv = ["dep:ros2-interfaces-jazzy-rkyv"]
lh = ["dep:ros2-interfaces-jazzy-rkyv"]
ros2-interfaces-jazzy = ["dep:ros2-interfaces-jazzy"]
rayon = ["dep:rayon"]
derive = ["dep:rpcl2-derive"]

View File

@ -46,7 +46,7 @@ impl From<ros2_interfaces_jazzy::builtin_interfaces::msg::Time> for TimeMsg {
}
}
#[cfg(feature = "ros2-interfaces-jazzy-rkyv")]
#[cfg(feature = "lh")]
impl From<ros2_interfaces_jazzy_rkyv::builtin_interfaces::msg::Time> for TimeMsg {
fn from(time: ros2_interfaces_jazzy_rkyv::builtin_interfaces::msg::Time) -> Self {
Self {
@ -85,7 +85,7 @@ impl From<ros2_interfaces_jazzy::std_msgs::msg::Header> for HeaderMsg {
}
}
}
#[cfg(feature = "ros2-interfaces-jazzy-rkyv")]
#[cfg(feature = "lh")]
impl From<ros2_interfaces_jazzy_rkyv::std_msgs::msg::Header> for HeaderMsg {
fn from(header: ros2_interfaces_jazzy_rkyv::std_msgs::msg::Header) -> Self {
Self {
@ -160,7 +160,7 @@ impl From<ros2_interfaces_jazzy::sensor_msgs::msg::PointCloud2> for crate::Point
}
}
#[cfg(feature = "ros2-interfaces-jazzy-rkyv")]
#[cfg(feature = "lh")]
impl From<ros2_interfaces_jazzy_rkyv::sensor_msgs::msg::PointCloud2> for crate::PointCloud2Msg {
fn from(msg: ros2_interfaces_jazzy_rkyv::sensor_msgs::msg::PointCloud2) -> Self {
Self {
@ -243,7 +243,7 @@ impl From<crate::PointCloud2Msg> for ros2_interfaces_jazzy::sensor_msgs::msg::Po
}
}
#[cfg(feature = "ros2-interfaces-jazzy-rkyv")]
#[cfg(feature = "lh")]
impl From<crate::PointCloud2Msg> for ros2_interfaces_jazzy_rkyv::sensor_msgs::msg::PointCloud2 {
fn from(msg: crate::PointCloud2Msg) -> Self {
ros2_interfaces_jazzy_rkyv::sensor_msgs::msg::PointCloud2 {

View File

@ -31,7 +31,7 @@ fn convertxyz_ros2_interfaces_jazzy_msg() {
assert_eq!(copy, back_to_type);
}
#[cfg(feature = "ros2-interfaces-jazzy-rkyv")]
#[cfg(feature = "lh")]
#[test]
fn convertxyz_ros2_interfaces_jazzy_rkyv_msg() {
use ros_pointcloud2::{points::PointXYZ, PointCloud2Msg};