ros2topic.verb.echo module
- class ros2topic.verb.echo.EchoVerb
Bases:
VerbExtension
Output messages from a topic.
- add_arguments(parser, cli_name)
- choose_qos(node, args)
- main(*, args)
- subscribe_and_spin(node: rclpy.node.Node, topic_name: str, message_type: MsgType, qos_profile: rclpy.qos.QoSProfile, no_report_lost_messages: bool, raw: bool) str | None
Initialize a node with a single subscription and spin.