ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

[ROS2][rclpy] subscribe to topic message only once

asked 2022-09-13 05:44:03 -0500

buran5884 gravatar image

I want to subscribe to a topic message only once in rclpy.

In rclcpp, there is wait_for_message function. Is there an equivalent function in rclpy?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-09-14 05:57:11 -0500

ravijoshi gravatar image

No,

There is no ROS2 equivalent function for wait_for_message. Please read more #q378693

edit flag offensive delete link more

Question Tools

Stats

Asked: 2022-09-13 05:44:03 -0500

Seen: 1,244 times

Last updated: Sep 14 '22