We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 012ff2e commit f33e8d5Copy full SHA for f33e8d5
rclrs/src/node/primitive_options.rs
@@ -171,6 +171,15 @@ pub trait IntoPrimitiveOptions<'a>: Sized {
171
fn liveliness_lease_duration(self, duration: Duration) -> PrimitiveOptions<'a> {
172
self.liveliness_lease(QoSDuration::Custom(duration))
173
}
174
+
175
+ /// [Avoid the ROS namespace conventions][1] for the primitive.
176
+ ///
177
+ /// [1]: QoSProfile::avoid_ros_namespace_conventions
178
+ fn avoid_ros_namespace_conventions(self) -> PrimitiveOptions<'a> {
179
+ let mut options = self.into_primitive_options();
180
+ options.avoid_ros_namespace_conventions = Some(true);
181
+ options
182
+ }
183
184
185
impl<'a> IntoPrimitiveOptions<'a> for PrimitiveOptions<'a> {
0 commit comments