ROSTopic.grab#

ROSTopic.grab() Image | ROSMessage[source]#

Grab a single frame from the ROS topic.

Returns:

next frame from the topic

Return type:

Image or ROSMessage

Deprecated since version 0.11.4: Use next on the iterator instead, for example next(stream).