Skip to content

Commit 57c11d3

Browse files
authored
Switch to using new event_handler instead of qos_event. (#787)
* Switch to using new event_handler instead of qos_event. Signed-off-by: Chris Lalancette <[email protected]>
1 parent 7ba272c commit 57c11d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ros2topic/ros2topic/verb/echo.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@
1717
from typing import TypeVar
1818

1919
import rclpy
20+
from rclpy.event_handler import SubscriptionEventCallbacks
21+
from rclpy.event_handler import UnsupportedEventTypeError
2022
from rclpy.node import Node
2123
from rclpy.qos import QoSDurabilityPolicy
2224
from rclpy.qos import QoSPresetProfiles
2325
from rclpy.qos import QoSProfile
2426
from rclpy.qos import QoSReliabilityPolicy
25-
from rclpy.qos_event import SubscriptionEventCallbacks
26-
from rclpy.qos_event import UnsupportedEventTypeError
2727
from rclpy.task import Future
2828
from ros2cli.node.strategy import add_arguments as add_strategy_node_arguments
2929
from ros2cli.node.strategy import NodeStrategy

0 commit comments

Comments
 (0)