Skip to content

Commit

Permalink
Use LivelinessPolicy instead of QoSLivelinessPolicy
Browse files Browse the repository at this point in the history
Use new name

Signed-off-by: Nour Saeed <[email protected]>
  • Loading branch information
NourS-d committed Sep 10, 2021
1 parent 03dfdba commit 81d7e3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ros2topic/ros2topic/api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ def profile_configure_short_keys(
if reliability:
profile.reliability = rclpy.qos.QoSReliabilityPolicy.get_from_short_key(reliability)
if liveliness:
profile.liveliness = rclpy.qos.QoSLivelinessPolicy.get_from_short_key(liveliness)
profile.liveliness = rclpy.qos.LivelinessPolicy.get_from_short_key(liveliness)
if liveliness_lease_duration:
profile.liveliness_lease_duration = liveliness_lease_duration
if depth and depth >= 0:
Expand Down

0 comments on commit 81d7e3e

Please sign in to comment.