Skip to content

Commit

Permalink
Import DurationHandle not DurationType (#1332)
Browse files Browse the repository at this point in the history
Signed-off-by: Shane Loretz <[email protected]>
  • Loading branch information
sloretz authored Aug 8, 2024
1 parent d97669b commit a485f90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rclpy/rclpy/publisher.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

from rclpy.callback_groups import CallbackGroup
from rclpy.destroyable import DestroyableType
from rclpy.duration import Duration, DurationType
from rclpy.duration import Duration, DurationHandle
from rclpy.event_handler import EventHandler, PublisherEventCallbacks
from rclpy.impl.implementation_singleton import rclpy_implementation as _rclpy
from rclpy.qos import QoSProfile
Expand Down Expand Up @@ -54,7 +54,7 @@ def publish(self, arg0: MsgT) -> None:
def publish_raw(self, arg0: bytes) -> None:
"""Publish a serialized message."""

def wait_for_all_acked(self, arg0: DurationType) -> bool:
def wait_for_all_acked(self, arg0: DurationHandle) -> bool:
"""Wait until all published message data is acknowledged."""


Expand Down

0 comments on commit a485f90

Please sign in to comment.