We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 73447b0 commit 96521d5Copy full SHA for 96521d5
1 file changed
vortex_utils_ros/vortex_utils_ros/qos_profiles.py
@@ -15,3 +15,12 @@ def reliable_profile(depth: int = 10) -> qos.QoSProfile:
15
depth=depth,
16
reliability=qos.ReliabilityPolicy.RELIABLE,
17
)
18
+
19
20
+def reliable_transient_local_profile(depth: int = 1) -> qos.QoSProfile:
21
+ return qos.QoSProfile(
22
+ history=qos.HistoryPolicy.KEEP_LAST,
23
+ depth=depth,
24
+ reliability=qos.ReliabilityPolicy.RELIABLE,
25
+ durability=qos.DurabilityPolicy.TRANSIENT_LOCAL,
26
+ )
0 commit comments