rename to lh
This commit is contained in:
parent
f30dd200ed
commit
af04877edc
|
|
@ -59,7 +59,7 @@ path = "benches/roundtrip.rs"
|
||||||
serde = ["dep:serde", "nalgebra/serde-serialize-no-std"]
|
serde = ["dep:serde", "nalgebra/serde-serialize-no-std"]
|
||||||
rosrust_msg = ["dep:rosrust_msg", "dep:rosrust"]
|
rosrust_msg = ["dep:rosrust_msg", "dep:rosrust"]
|
||||||
r2r_msg = ["dep:r2r"]
|
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"]
|
ros2-interfaces-jazzy = ["dep:ros2-interfaces-jazzy"]
|
||||||
rayon = ["dep:rayon"]
|
rayon = ["dep:rayon"]
|
||||||
derive = ["dep:rpcl2-derive"]
|
derive = ["dep:rpcl2-derive"]
|
||||||
|
|
|
||||||
|
|
@ -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 {
|
impl From<ros2_interfaces_jazzy_rkyv::builtin_interfaces::msg::Time> for TimeMsg {
|
||||||
fn from(time: ros2_interfaces_jazzy_rkyv::builtin_interfaces::msg::Time) -> Self {
|
fn from(time: ros2_interfaces_jazzy_rkyv::builtin_interfaces::msg::Time) -> Self {
|
||||||
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 {
|
impl From<ros2_interfaces_jazzy_rkyv::std_msgs::msg::Header> for HeaderMsg {
|
||||||
fn from(header: ros2_interfaces_jazzy_rkyv::std_msgs::msg::Header) -> Self {
|
fn from(header: ros2_interfaces_jazzy_rkyv::std_msgs::msg::Header) -> Self {
|
||||||
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 {
|
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 {
|
fn from(msg: ros2_interfaces_jazzy_rkyv::sensor_msgs::msg::PointCloud2) -> Self {
|
||||||
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 {
|
impl From<crate::PointCloud2Msg> for ros2_interfaces_jazzy_rkyv::sensor_msgs::msg::PointCloud2 {
|
||||||
fn from(msg: crate::PointCloud2Msg) -> Self {
|
fn from(msg: crate::PointCloud2Msg) -> Self {
|
||||||
ros2_interfaces_jazzy_rkyv::sensor_msgs::msg::PointCloud2 {
|
ros2_interfaces_jazzy_rkyv::sensor_msgs::msg::PointCloud2 {
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,7 @@ fn convertxyz_ros2_interfaces_jazzy_msg() {
|
||||||
assert_eq!(copy, back_to_type);
|
assert_eq!(copy, back_to_type);
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(feature = "ros2-interfaces-jazzy-rkyv")]
|
#[cfg(feature = "lh")]
|
||||||
#[test]
|
#[test]
|
||||||
fn convertxyz_ros2_interfaces_jazzy_rkyv_msg() {
|
fn convertxyz_ros2_interfaces_jazzy_rkyv_msg() {
|
||||||
use ros_pointcloud2::{points::PointXYZ, PointCloud2Msg};
|
use ros_pointcloud2::{points::PointXYZ, PointCloud2Msg};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue