-
Notifications
You must be signed in to change notification settings - Fork 181
Closed
Description
Hi,
rclrs 0.6.0! The [IntoPrimitiveOptions] trait's .qos() method is not working correctly.
I want use qos BestEffort.
So the Rust code is reading BestEffort correctly, but the subscription is still being created with Reliable QoS
The bug location is in: [subscription.rs] lines 245-251:
impl<'a, T: IntoPrimitiveOptions<'a>> From<T> for SubscriptionOptions<'a> { fn from(value: T) -> Self { let primitive = value.into_primitive_options(); let mut options = Self::new(primitive.name); primitive.apply_to(&mut options.qos); // <-- This SHOULD work but doesn't! options } }
The apply_to() method should be overriding the QoS, but something in the conversion to rcl is broken.
Metadata
Metadata
Assignees
Labels
No labels